AudioFormat.fromString

Convert the format string to its #GstAudioFormat.

struct AudioFormat
static
fromString
(
string format
)

Parameters

format string

a format string

Return Value

Type: gstaudio.types.AudioFormat

the #GstAudioFormat for format or GST_AUDIO_FORMAT_UNKNOWN when the string is not a known format.