AudioRingBuffer.convert

bool convert(gst.types.Format srcFmt, long srcVal, gst.types.Format destFmt, out long destVal)

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

Parameters

srcFmtthe source format
srcValthe source value
destFmtthe destination format
destVala location to store the converted value

Returns

TRUE if the conversion succeeded.