![]() |
nomlib
|
Public Attributes | |
| uint32 | buffer_id = 0 |
| The unique identifier for the buffer. | |
| uint32 | source_id = 0 |
| The unique identifier for the sound source. | |
| void * | samples = nullptr |
| The audio buffer. | |
| nom::size_type | frame_count = 0 |
| The total number of frames in this sample instance. | |
| uint32 | channel_count = 0 |
| uint32 | channel_format = 0 |
| uint32 | sample_rate = 0 |
| int64 | sample_count = 0 |
| real32 | duration = 0.0f |
| The total time, in seconds, of the audio buffer. | |
| nom::size_type | total_bytes = 0 |
| bool | seekable = false |
| bool | stream_source = false |
| nom::size_type | samples_read = 0 |
| nom::size_type | elapsed_seconds = 0 |
| void * | context = nullptr |
Definition at line 38 of file SoundBuffer.hpp.
| uint32 nom::audio::SoundBuffer::buffer_id = 0 |
The unique identifier for the buffer.
Definition at line 43 of file SoundBuffer.hpp.
| uint32 nom::audio::SoundBuffer::channel_count = 0 |
Definition at line 54 of file SoundBuffer.hpp.
| uint32 nom::audio::SoundBuffer::channel_format = 0 |
Definition at line 56 of file SoundBuffer.hpp.
| void* nom::audio::SoundBuffer::context = nullptr |
Definition at line 79 of file SoundBuffer.hpp.
| real32 nom::audio::SoundBuffer::duration = 0.0f |
The total time, in seconds, of the audio buffer.
Definition at line 63 of file SoundBuffer.hpp.
| nom::size_type nom::audio::SoundBuffer::elapsed_seconds = 0 |
Definition at line 76 of file SoundBuffer.hpp.
| nom::size_type nom::audio::SoundBuffer::frame_count = 0 |
The total number of frames in this sample instance.
Definition at line 52 of file SoundBuffer.hpp.
| int64 nom::audio::SoundBuffer::sample_count = 0 |
Definition at line 60 of file SoundBuffer.hpp.
| uint32 nom::audio::SoundBuffer::sample_rate = 0 |
Definition at line 58 of file SoundBuffer.hpp.
| void* nom::audio::SoundBuffer::samples = nullptr |
The audio buffer.
Definition at line 49 of file SoundBuffer.hpp.
| nom::size_type nom::audio::SoundBuffer::samples_read = 0 |
Definition at line 73 of file SoundBuffer.hpp.
| bool nom::audio::SoundBuffer::seekable = false |
Definition at line 67 of file SoundBuffer.hpp.
| uint32 nom::audio::SoundBuffer::source_id = 0 |
The unique identifier for the sound source.
Definition at line 46 of file SoundBuffer.hpp.
| bool nom::audio::SoundBuffer::stream_source = false |
Definition at line 71 of file SoundBuffer.hpp.
| nom::size_type nom::audio::SoundBuffer::total_bytes = 0 |
Definition at line 65 of file SoundBuffer.hpp.