Public Types |
enum | CompressionType {
ULaw,
ALaw,
LPC,
GSM,
Speex,
L16Mono
} |
| Used to select compression/encoding type.
More...
|
enum | SpeexBandWidth { NarrowBand,
WideBand,
UltraWideBand
} |
| If Speex compression is used, this is sed to select speex encoding type.
More...
|
Public Member Functions |
unsigned int | getInputDeviceID () const |
| Returns the ID of the input device (only used on Win32; default: WAVE_MAPPER)
|
unsigned int | getOutputDeviceID () const |
| Returns the ID of the output device (only used on Win32; default: WAVE_MAPPER)
|
std::string | getInputDeviceName () const |
| Returns the name of the input device (not used on Win32/WinCE; default: /dev/dsp).
|
std::string | getOutputDeviceName () const |
| Returns the name of the output device (not used on Win32/WinCE; default: /dev/dsp).
|
bool | getUseHighPriority () const |
| Returns true if the audio threads will receive high priority (only used on Win32/WinCE; default: false).
|
uint16_t | getPortbase () const |
| Returns the RTP portbase (default: 5000).
|
bool | getAcceptOwnPackets () const |
| Returns true if own packets will be accepted (default: false ).
|
CompressionType | getCompressionType () const |
| Returns the requested compression/encoding type (default: U-law).
|
SpeexBandWidth | getSpeexEncoding () const |
| Returns the Speex mode (default: WideBand).
|
uint8_t | getSpeexIncomingPayloadType () const |
| Incoming packets with this payload type will be interpreted as Speex packets.
|
uint8_t | getSpeexOutgoingPayloadType () const |
| This payload type will be set on outgoing Speex packets.
|
int | getInputMultiplier () const |
| Returns the size of the input sampling interval, in units of 20ms.
|
int | getOutputMultiplier () const |
| Returns the size of the output sampling interval, in units of 20ms.
|
bool | getDisableInterChainTimer () const |
| Returns a flag indicating if inter-chain timing is disabled.
|
void | setInputDevice (unsigned int ID) |
| Sets the ID of the input device (only used on Win32/WinCE).
|
void | setOutputDevice (unsigned int ID) |
| Sets the ID of the output device (only used on Win32/WinCE).
|
void | setInputDevice (const std::string &devName) |
| Sets the name of the input device (not used on Win32/WinCE).
|
void | setOutputDevice (const std::string &devName) |
| Sets the name of the input device (not used on Win32/WinCE).
|
void | setUseHighPriority (bool f) |
| Sets a flag indicating if high priority audio threads should be used (only used on Win32/WinCE).
|
void | setPortbase (uint16_t p) |
| Sets the RTP portbase.
|
void | setAcceptOwnPackets (bool v) |
| Sets a flag indicating if own packets should be accepted.
|
void | setCompressionType (CompressionType t) |
| Sets the compression/encoding type.
|
void | setSpeexEncoding (SpeexBandWidth b) |
| Sets the Speex encoding mode.
|
void | setSpeexIncomingPayloadType (uint8_t pt) |
| This will interpret incoming packets with payload type pt as Speex packets.
|
void | setSpeexOutgoingPayloadType (uint8_t pt) |
| Sets the payload type for outgoing Speex packets.
|
void | setInputMultiplier (int m) |
| Sets the input sampling interval to m * 20ms.
|
void | setOutputMultiplier (int m) |
| Sets the output sampling interval to m * 20ms.
|
void | setDisableInterChainTimer (bool f) |
| This can be used to always disable inter-chain timing.
|