libguac
0.9.10-incubating
|
Function type definitions related to simple streaming audio. More...
Go to the source code of this file.
Typedefs | |
typedef void | guac_audio_encoder_begin_handler(guac_audio_stream *audio) |
Handler which is called when the audio stream is opened. More... | |
typedef void | guac_audio_encoder_flush_handler(guac_audio_stream *audio) |
Handler which is called when the audio stream needs to be flushed. More... | |
typedef void | guac_audio_encoder_end_handler(guac_audio_stream *audio) |
Handler which is called when the audio stream is closed. More... | |
typedef void | guac_audio_encoder_join_handler(guac_audio_stream *audio, guac_user *user) |
Handler which is called when a new user has joined the Guacamole connection associated with the audio stream. More... | |
typedef void | guac_audio_encoder_write_handler(guac_audio_stream *audio, const unsigned char *pcm_data, int length) |
Handler which is called when PCM data is written to the audio stream. More... | |
Function type definitions related to simple streaming audio.
typedef void guac_audio_encoder_begin_handler(guac_audio_stream *audio) |
Handler which is called when the audio stream is opened.
audio | The audio stream being opened. |
typedef void guac_audio_encoder_end_handler(guac_audio_stream *audio) |
Handler which is called when the audio stream is closed.
audio | The audio stream being closed. |
typedef void guac_audio_encoder_flush_handler(guac_audio_stream *audio) |
Handler which is called when the audio stream needs to be flushed.
audio | The audio stream being flushed. |
typedef void guac_audio_encoder_join_handler(guac_audio_stream *audio, guac_user *user) |
Handler which is called when a new user has joined the Guacamole connection associated with the audio stream.
audio | The audio stream associated with the Guacamole connection being joined. |
user | The user that joined the connection. |
typedef void guac_audio_encoder_write_handler(guac_audio_stream *audio, const unsigned char *pcm_data, int length) |
Handler which is called when PCM data is written to the audio stream.
The format of the PCM data is dictated by the properties of the audio stream.
audio | The audio stream to which data is being written. |
pcm_data | A buffer containing the raw PCM data to be written. |
length | The number of bytes within the buffer that should be written to the audio stream. |