AudioSample


Description:

[ CCode ( has_construct_function = false ) ]
public AudioSample (uint32 capacity)

Allocate a new audio sample able to store capacity bytes of audio data.

The returned sample must be freed with vnc_audio_sample_free when no longer required.

Parameters:

capacity

the sample size in bytes

Returns:

the new audio sample.