AudioInfo.setFormat

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

Note: This initializes info first, no values are preserved.

Parameters

format gstaudio.types.AudioFormat

the format

rate int

the samplerate

channels int

the number of channels

position gstaudio.types.AudioChannelPosition[]

the channel positions