RTP Audio System
2.0.0
|
Go to the source code of this file.
enum SimpleAudioFlags |
struct SimpleAudioPacket __attribute__ | ( | (packed) | ) |
static cardinal __attribute__::calculateFrameSize | ( | const cardinal | inputBytesPerSecond, |
const cardinal | inputFrameSize | ||
) | [static] |
Calculate output frame size from given input bytes per second and input frame size.
inputBytesPerSecond | Input source's bytes per second. |
inputFrameSize | Input source's frame size. |
static AudioQuality __attribute__::calculateQualityForLimits | ( | const AudioQualityInterface & | userSetting, |
const AudioQualityInterface & | inputQuality, | ||
const card64 | totalByteRateLimit, | ||
const cardinal | networkQualityDecrement, | ||
const cardinal | headerSize, | ||
const cardinal | maxPacketSize | ||
) | [static] |
Quality calculation for given user quality limited by input quality, byte rate and network quality decrement with given header size (eg. IP + UDP + RTP) and maximum packet size.
userSetting | User's quality setting. |
inputQuality | Input source's quality. |
byteRateLimit | Byte rate limit. |
networkQualityDecrement | Number of steps for decrement of user's quality. |
headerSize | Header size (eg. IP + UDP + RTP). SimpleAudioPacket size is added automatically. |
maxPacketSize | Maximum packet size. |
void __attribute__::reset | ( | ) |
Reset report.
Constructor.
void __attribute__::translate | ( | ) |
Translate byte order.
char Data[] |
Packet data.
Maximum position in nanoseconds.
Audio sampling rate.
const card32 SimpleAudioFormatID = 0x74660000 | SimpleAudioTypeID [static] |
Simple Audio Encoding package format ID.
const cardinal SimpleAudioFrameSize = 2352 * 5 [static] |
Simple Audio frame size.
const cardinal SimpleAudioFramesPerSecond = 15 [static] |
Simple Audio frames per second.
const cardinal SimpleAudioMaxTransferDelay = 1500 * 16 [static] |
Simple Audio maximum transfer delay.
const cardinal SimpleAudioMediaInfoPacketsPerSecond = 1 [static] |
Simple Audio MediaInfo packets per second.
const cardinal SimpleAudioQualityLevels = AudioQuality::QualityLevels [static] |
Simple Audio number of quality levels.
const card16 SimpleAudioTypeID = 0x2960 [static] |
Type ID for Simple Audio Encoding.
const char SimpleAudioTypeName[] [static] |
Name for Simple Audio Encoding.