[ 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.
| capacity |
the sample size in bytes |
|
the new audio sample. |