bufferAddAudioClippingMeta
fn
gstaudio.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
buffer | a #GstBuffer |
format | GstFormat of start and stop, GST_FORMAT_DEFAULT is samples |
start | Amount of audio to clip from start of buffer |
end | Amount of to clip from end of buffer |
Returns
the #GstAudioClippingMeta on buffer.