audioIec61937FrameSize

fnuint audioIec61937FrameSize(gstaudio.audio_ring_buffer_spec.AudioRingBufferSpec spec)

Calculated the size of the buffer expected by [gstaudio.global.audioIec61937Payload] for payloading type from spec.

Parameters

specthe ringbufer spec

Returns

the size or 0 if the given type is not supported or cannot be

payloaded.