otherwise.
audioIec61937Payload
fn
bool audioIec61937Payload(ubyte[] src, ubyte[] dst, gstaudio.audio_ring_buffer_spec.AudioRingBufferSpec spec, int endianness)Payloads src in the form specified by IEC 61937 for the type from spec and stores the result in dst. src must contain exactly one frame of data and the frame is not checked for errors.
Parameters
src | a buffer containing the data to payload |
dst | the destination buffer to store the payloaded contents in. Should not overlap with src |
spec | the ringbufer spec for src |
endianness | the expected byte order of the payloaded data |
Returns
transfer-full: true if the payloading was successful, false