|
Babel
1
The voip software that only works on your local network
|
Structure representing an audio sample. More...
#include <Sample.hpp>

Data Fields | |
| bool | initialised = false |
| Indicates if the sample is initialised. | |
| std::vector< float > | sample |
| Vector containing the audio sample data. | |
| float | durationSeconds = 1 |
| Duration of the sample in seconds. | |
| unsigned int | sampleRate = 48000 |
| Sample rate of the audio in Hz. | |
| unsigned int | framesPerBuffer = 480 |
| Number of frames per buffer. | |
| unsigned int | numChannelsPlayback = 1 |
| Number of playback channels. | |
| unsigned int | numChannelsRecording = 1 |
| Number of recording channels. | |
Structure representing an audio sample.
Definition at line 22 of file Sample.hpp.
| float Audio::Sample::durationSeconds = 1 |
Duration of the sample in seconds.
Definition at line 25 of file Sample.hpp.
| unsigned int Audio::Sample::framesPerBuffer = 480 |
Number of frames per buffer.
Definition at line 27 of file Sample.hpp.
| bool Audio::Sample::initialised = false |
Indicates if the sample is initialised.
Definition at line 23 of file Sample.hpp.
| unsigned int Audio::Sample::numChannelsPlayback = 1 |
Number of playback channels.
Definition at line 28 of file Sample.hpp.
| unsigned int Audio::Sample::numChannelsRecording = 1 |
Number of recording channels.
Definition at line 29 of file Sample.hpp.
| std::vector<float> Audio::Sample::sample |
Vector containing the audio sample data.
Definition at line 24 of file Sample.hpp.
| unsigned int Audio::Sample::sampleRate = 48000 |
Sample rate of the audio in Hz.
Definition at line 26 of file Sample.hpp.