Ring Daemon 16.0.0
|
#include <audiodevice.h>
Public Member Functions | |
AudioDevice () | |
AudioDevice (AudioDeviceID devid, bool isInput) | |
void | init (AudioDeviceID devid, bool isInput) |
void | setBufferSize (UInt32 size) |
bool | valid () const |
Public Attributes | |
UInt32 | bufferSizeFrames_ |
int | channels_ |
AudioStreamBasicDescription | format_ |
AudioDeviceID | id_ |
bool | isInput_ |
std::string | name_ |
UInt32 | safetyOffset_ |
Definition at line 32 of file audiodevice.h.
|
inline |
Definition at line 36 of file audiodevice.h.
jami::AudioDevice::AudioDevice | ( | AudioDeviceID | devid, |
bool | isInput | ||
) |
Definition at line 24 of file audiodevice.cpp.
References jami::emitSignal(), and init().
void jami::AudioDevice::init | ( | AudioDeviceID | devid, |
bool | isInput | ||
) |
Definition at line 30 of file audiodevice.cpp.
References bufferSizeFrames_, channels_, jami::emitSignal(), format_, id_, isInput_, name_, and safetyOffset_.
Referenced by AudioDevice().
Definition at line 70 of file audiodevice.cpp.
References bufferSizeFrames_, jami::emitSignal(), id_, and isInput_.
bool jami::AudioDevice::valid | ( | ) | const |
Definition at line 64 of file audiodevice.cpp.
References jami::emitSignal(), and id_.
UInt32 jami::AudioDevice::bufferSizeFrames_ |
Definition at line 50 of file audiodevice.h.
Referenced by init(), and setBufferSize().
int jami::AudioDevice::channels_ |
Definition at line 48 of file audiodevice.h.
Referenced by init().
AudioStreamBasicDescription jami::AudioDevice::format_ |
Definition at line 51 of file audiodevice.h.
Referenced by init().
AudioDeviceID jami::AudioDevice::id_ |
Definition at line 45 of file audiodevice.h.
Referenced by init(), setBufferSize(), and valid().
bool jami::AudioDevice::isInput_ |
Definition at line 47 of file audiodevice.h.
Referenced by init(), and setBufferSize().
std::string jami::AudioDevice::name_ |
Definition at line 46 of file audiodevice.h.
Referenced by init().
UInt32 jami::AudioDevice::safetyOffset_ |
Definition at line 49 of file audiodevice.h.
Referenced by init().