AudioInfo.setFormat

void setFormat(gstaudio.types.AudioFormat format, int rate, int channels, gstaudio.types.AudioChannelPosition[] position = null)

Set the default info for the audio info of format and rate and channels.

Note

This initializes info first, no values are preserved.

Parameters

formatthe format
ratethe samplerate
channelsthe number of channels
positionthe channel positions