Compounds |
class | ost::AudioCodec |
| The codec class is a virtual used for transcoding audio samples between linear frames (or other known format) and an encoded "sample" buffer. process codec interface. More...
|
class | ost::AudioCopy |
| AudioCopy is used for certain kinds of stream join operations. fill an audio sample frame from another. More...
|
class | ost::AudioFile |
| A class used to manipulate audio data. audio file access. More...
|
struct | ost::audioinfo_t |
class | ost::AudioRegisterCodec |
| This class is used by loadable modules and application specific code to register new codec modules. a base class for codec registration. More...
|
class | ost::AudioSample |
| This class is use to represent and process audio data held in memory. audio data in memory. More...
|
class | ost::AudioTone |
| The tone class is used to construct or generate a tone sample in memory. generate audio sample in memory. More...
|
class | ost::CDAudio |
| This class allows one to control audio playback from the CD player on the target platform. control cd audio player. More...
|
Enumerations |
enum | samplerate_t { SAMPLE_RATE_UNKNOWN,
SAMPLE_RATE_6KHZ = 6000,
SAMPLE_RATE_8KHZ = 8000,
SAMPLE_RATE_44KHZ
} |
enum | audioencoding_t {
UNKNOWN_AUDIO_ENCODING = 0,
G721_ADPCM_ENCODING,
G722_AUDIO_ENCODING,
G722_7BIT_ENCODING,
G722_6BIT_ENCODING,
G723_3BIT_ENCODING,
G723_5BIT_ENCODING,
GSM_VOICE_ENCODING,
MULAW_AUDIO_ENCODING,
ALAW_AUDIO_ENCODING,
OKI_ADPCM_ENCODING,
DIALOGIC_ADPCM_ENCODING,
CDA_STEREO_ENCODING,
CDA_MONO_ENCODING,
PCM8_STEREO_ENCODING,
PCM8_AUDIO_ENCODING,
PCM16_STEREO_ENCODING,
PCM16_AUDIO_ENCODING,
PCM32_STEREO_ENCODING,
PCM32_AUDIO_ENCODING
} |
enum | audioformat_t { AUDIO_FORMAT_RAW,
AUDIO_FORMAT_SUN,
AUDIO_FORMAT_RIFF,
AUDIO_FORMAT_WAVE
} |
enum | audioerror_t {
AUDIO_SUCCESS = 0,
AUDIO_READ_LASTFRAME,
AUDIO_NOT_OPENED,
AUDIO_END_OF_FILE,
AUDIO_START_OF_FILE,
AUDIO_RATE_UNSUPPORTED,
AUDIO_ENCODING_UNSUPPORTED,
AUDIO_READ_INTERRUPTED,
AUDIO_WRITE_INTERRUPTED,
AUDIO_READ_FAILURE,
AUDIO_WRITE_FAILURE,
AUDIO_READ_INCOMPLETE,
AUDIO_WRITE_INCOMPLETE,
AUDIO_REQUEST_INVALID,
AUDIO_TOC_FAILED,
AUDIO_STAT_FAILED,
AUDIO_INVALID_TRACK,
AUDIO_PLAYBACK_FAILED,
AUDIO_NOT_PLAYING
} |
Functions |
bool | ismono (audioencoding_t encoding) |
bool | issterio (audioencoding_t encoding) |
samplerate_t | samplerate (audioencoding_t encoding) |
int | sampleframe (audioencoding_t encoding, int samples=0) |
int | samplecount (audioencoding_t) |
unsigned long | tosamples (audioencoding_t encoding, size_t bytes) |
unsigned long | tobytes (audioencoding_t encoding, unsigned long samples) |
void | samplefill (unsigned char *addr, int samples, audioencoding_t encoding) |