libguac  0.9.12-incubating
Data Fields
guac_audio_stream Struct Reference

Basic audio stream. More...

Data Fields

guac_audio_encoderencoder
 Arbitrary codec encoder which will receive raw PCM data.
 
guac_clientclient
 The client associated with this audio stream.
 
guac_streamstream
 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.
 

Detailed Description

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.

Field Documentation

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.


The documentation for this struct was generated from the following file: