set_audio_format


Description:

public bool set_audio_format (AudioFormat fmt)

Set the audio format specification to use for playback from the remote session.

The format should only be set when the audio stream is not active, otherwise it will be impossible to determine when the server has switched to sending data in the new format

Parameters:

this

the connection object

fmt

the audio format

Returns:

TRUE if the connection is ok, FALSE if it has an error