AudioFormat.fromString

gstaudio.types.AudioFormat fromString(string format)

Convert the format string to its #GstAudioFormat.

Parameters

formata format string

Returns

the #GstAudioFormat for format or GST_AUDIO_FORMAT_UNKNOWN when the

string is not a known format.