libguac
1.0.0
|
Basic audio stream. More...
Data Fields | |
guac_audio_encoder * | encoder |
Arbitrary codec encoder which will receive raw PCM data. | |
guac_client * | client |
The client associated with this audio stream. | |
guac_stream * | stream |
The actual stream associated with this audio stream. | |
int | rate |
The number of samples per second of PCM data sent to this stream. | |
int | channels |
The number of audio channels per sample of PCM data. More... | |
int | bps |
The number of bits per sample per channel for PCM data. More... | |
void * | data |
Encoder-specific state data. | |
Basic audio stream.
PCM data is added to the stream. When the stream is flushed, a write handler receives PCM data packets and, presumably, streams them to the guac_stream provided.
int guac_audio_stream::bps |
The number of bits per sample per channel for PCM data.
Legal values are 8 or 16.
int guac_audio_stream::channels |
The number of audio channels per sample of PCM data.
Legal values are 1 or 2.