AudioRingBuffer.convert

Convert src_val in src_fmt to the equivalent value in dest_fmt. The result will be put in dest_val.

class AudioRingBuffer
bool
convert

Parameters

srcFmt gst.types.Format

the source format

srcVal long

the source value

destFmt gst.types.Format

the destination format

destVal long

a location to store the converted value

Return Value

Type: bool

TRUE if the conversion succeeded.