bufferAddAudioClippingMeta

fngstaudio.audio_clipping_meta.AudioClippingMeta bufferAddAudioClippingMeta(gst.buffer.Buffer buffer, gst.types.Format format, ulong start, ulong end)

Attaches #GstAudioClippingMeta metadata to buffer with the given parameters.

Parameters

buffera #GstBuffer
formatGstFormat of start and stop, GST_FORMAT_DEFAULT is samples
startAmount of audio to clip from start of buffer
endAmount of to clip from end of buffer

Returns

the #GstAudioClippingMeta on buffer.