Beatmup
|
Playback configuration. More...
#include <abstract_playback.h>
Public Member Functions | |
Mode (dtime sampleRate, AudioSampleFormat format, int numChannels, dtime bufferLength, int numBuffers) | |
Sets playback configuration. More... | |
Mode (dtime sampleRate, AudioSampleFormat format, int numChannels, dtime bufferLength) | |
Mode () | |
dtime | getLatency () const |
Public Attributes | |
dtime | sampleRate |
samples per second / sample rate in Hz More... | |
AudioSampleFormat | sampleFormat |
format of each sample More... | |
unsigned char | numChannels |
number of channels More... | |
dtime | bufferLength |
length of each atomic buffer in samples More... | |
unsigned char | numBuffers |
number of atomic buffers More... | |
Playback configuration.
Definition at line 39 of file abstract_playback.h.
AbstractPlayback::Mode::Mode | ( | dtime | sampleRate, |
AudioSampleFormat | format, | ||
int | numChannels, | ||
dtime | bufferLength, | ||
int | numBuffers | ||
) |
Sets playback configuration.
sampleRate | sampling frequency in Hz |
format | sample format |
numChannels | number of channels (e.g., 1 for mono, 2 for stereo) |
bufferLength | length of a single buffer |
numBuffers | number of buffers |
Definition at line 36 of file abstract_playback.cpp.
AbstractPlayback::Mode::Mode | ( | dtime | sampleRate, |
AudioSampleFormat | format, | ||
int | numChannels, | ||
dtime | bufferLength | ||
) |
Definition at line 63 of file abstract_playback.cpp.
AbstractPlayback::Mode::Mode | ( | ) |
Definition at line 68 of file abstract_playback.cpp.
|
inline |
dtime Beatmup::Audio::AbstractPlayback::Mode::sampleRate |
samples per second / sample rate in Hz
Definition at line 40 of file abstract_playback.h.
AudioSampleFormat Beatmup::Audio::AbstractPlayback::Mode::sampleFormat |
format of each sample
Definition at line 41 of file abstract_playback.h.
unsigned char Beatmup::Audio::AbstractPlayback::Mode::numChannels |
number of channels
Definition at line 42 of file abstract_playback.h.
dtime Beatmup::Audio::AbstractPlayback::Mode::bufferLength |
length of each atomic buffer in samples
Definition at line 43 of file abstract_playback.h.
unsigned char Beatmup::Audio::AbstractPlayback::Mode::numBuffers |
number of atomic buffers
Definition at line 44 of file abstract_playback.h.