audio_iec61937_payload


Description:

[ CCode ( cname = "gst_audio_iec61937_payload" ) ]
public bool audio_iec61937_payload (uint8[] src, uint8[] dst, RingBufferSpec 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

dst_n

size of dst in bytes

src_n

size of src in bytes

Returns:

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


Namespace: Gst.Audio



2022 vala-language.org