audioIec61937FrameSize

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

Parameters

spec gstaudio.audio_ring_buffer_spec.AudioRingBufferSpec

the ringbufer spec

Return Value

Type: uint

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