audioIec61937Payload

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.

bool
audioIec61937Payload

Parameters

src ubyte[]

a buffer containing the data to payload

dst ubyte[]

the destination buffer to store the payloaded contents in. Should not overlap with src

spec gstaudio.audio_ring_buffer_spec.AudioRingBufferSpec

the ringbufer spec for src

endianness int

the expected byte order of the payloaded data

Return Value

Type: bool

transfer-full: true if the payloading was successful, false otherwise.