RTP Audio System
2.0.0
|
Audio Device. More...
#include <audiodevice.h>
AudioDevice::AudioDevice | ( | const char * | name = "/dev/dsp" | ) |
Constructor.
name | Name of the audio device (normally "/dev/dsp"). |
Destructor.
card8 AudioDevice::getBits | ( | ) | const [virtual] |
getBits() Implementation of AudioQualityInterface.
Implements AudioQualityInterface.
cardinal AudioDevice::getBitsPerSample | ( | ) | const [virtual] |
getBitsPerSample() Implementation of AudioQualityInterface.
Implements AudioQualityInterface.
card16 AudioDevice::getByteOrder | ( | ) | const [virtual] |
getByteOrder() Implementation of AudioQualityInterface.
Implements AudioQualityInterface.
cardinal AudioDevice::getBytesPerSecond | ( | ) | const [virtual] |
getBytesPerSecond() Implementation of AudioQualityInterface.
Implements AudioQualityInterface.
card8 AudioDevice::getChannels | ( | ) | const [virtual] |
getChannels() Implementation of AudioQualityInterface.
Implements AudioQualityInterface.
getCurrentCapacity() implementation of AudioWriterInterface
card16 AudioDevice::getSamplingRate | ( | ) | const [virtual] |
getSamplingRate() Implementation of AudioQualityInterface.
Implements AudioQualityInterface.
cardinal AudioDevice::getSyncCount | ( | ) | const [inline] |
Get number of times, sync() has been called.
bool AudioDevice::ready | ( | ) | const [virtual] |
ready() implementation of AudioWriterInterface
Implements AudioWriterInterface.
void AudioDevice::resetSyncCount | ( | ) | [inline] |
Reset number of times, sync() has been called.
void AudioDevice::run | ( | ) | [private, virtual] |
card8 AudioDevice::setBits | ( | const card8 | bits | ) | [virtual] |
setBits() Implementation of AdjustableAudioQualityInterface.
Implements AdjustableAudioQualityInterface.
card16 AudioDevice::setByteOrder | ( | const card16 | byteOrder | ) | [virtual] |
setByteOrder() Implementation of AdjustableAudioQualityInterface.
Implements AdjustableAudioQualityInterface.
card8 AudioDevice::setChannels | ( | const card8 | channels | ) | [virtual] |
setChannels() Implementation of AdjustableAudioQualityInterface.
Implements AdjustableAudioQualityInterface.
card16 AudioDevice::setSamplingRate | ( | const card16 | samplingRate | ) | [virtual] |
setSamplingRate() Implementation of AdjustableAudioQualityInterface.
Implements AdjustableAudioQualityInterface.
void AudioDevice::sync | ( | ) | [virtual] |
sync() implementation of AudioWriterInterface
Implements AudioWriterInterface.
bool AudioDevice::write | ( | const void * | data, |
const size_t | length | ||
) | [virtual] |
write() implementation of AudioWriterInterface
Implements AudioWriterInterface.
card8 AudioDevice::AudioBits [private] |
card16 AudioDevice::AudioByteOrder [private] |
card8 AudioDevice::AudioChannels [private] |
card16 AudioDevice::AudioSamplingRate [private] |
integer AudioDevice::Balance [private] |
RingBuffer AudioDevice::Buffer [private] |
card8 AudioDevice::DeviceBits [private] |
integer AudioDevice::DeviceBlockSize [private] |
card16 AudioDevice::DeviceByteOrder [private] |
int AudioDevice::DeviceCapabilities [private] |
card8 AudioDevice::DeviceChannels [private] |
int AudioDevice::DeviceFD [private] |
int AudioDevice::DeviceFormats [private] |
integer AudioDevice::DeviceFragmentSize [private] |
integer AudioDevice::DeviceOSpace [private] |
card16 AudioDevice::DeviceSamplingRate [private] |
bool AudioDevice::IsFillingBuffer [private] |
bool AudioDevice::IsReady [private] |
card64 AudioDevice::LastWriteTimeStamp [private] |
const cardinal AudioDevice::ResizeModulo = 4 [static] |
Buffer resize modulo: The buffer's size will be removed by the fraction of (1/ResizeModulo) by removing every ResizeModulo-th 32-bit word.
cardinal AudioDevice::ResizeThreshold [private] |
const cardinal AudioDevice::ResizeThresholdPercent = 75 [static] |
Buffer fill threshold to Resize (in percent).
const cardinal AudioDevice::RingBufferSize = 128 * 1024 [static] |
Size of audio ringbuffer in bytes.
cardinal AudioDevice::SyncCount [private] |