guacamole/audio-fntypes.h File Reference

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.
typedef void guac_audio_encoder_flush_handler (guac_audio_stream *audio)
 Handler which is called when the audio stream needs to be flushed.
typedef void guac_audio_encoder_end_handler (guac_audio_stream *audio)
 Handler which is called when the audio stream is closed.
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.
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.

Detailed Description

Function type definitions related to simple streaming audio.


Typedef Documentation

Handler which is called when the audio stream is opened.

Parameters:
audio The audio stream being opened.

Handler which is called when the audio stream is closed.

Parameters:
audio The audio stream being closed.

Handler which is called when the audio stream needs to be flushed.

Parameters:
audio The audio stream being flushed.

Handler which is called when a new user has joined the Guacamole connection associated with the audio stream.

Parameters:
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.

Parameters:
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.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 28 Feb 2019 for libguac by  doxygen 1.6.1