guacamole/audio-fntypes.h File Reference
Function type definitions related to simple streaming audio.
More...
Go to the source code of this file.
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. |
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. |