[Bug 744922] osxaudiosrc: iOS resampling is stuttering
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Feb 23 17:33:35 PST 2015
--- Comment #8 from Ilya Konstantinov <ilya.konstantinov at gmail.com> ---
(In reply to Arun Raghavan from comment #6)
> I don't really understand why the information from the ASBD is repeated in
> the ABL.
Luckily, someone from the Core Audio team just answered me:
You’re right that it is a bit of redundant information. The correct value
mNumberChannels for an AudioBuffer can be derived from the mChannelsPerFrame
and the interleaved flag.
For non interleaved formats, mNumberChannels is always 1. For interleaved
formats, mNumberChannels is equal to mChannelsPerFrame.
The reason for mNumberChannels existence may be that AudioBufferList may have
slightly preceeded AudioStreamBasicDescription in CoreAudio’s development. It
has a slightly earlier check-in date. These are 15 year old structs by now.
The channel assignments for the buffers are determined by an AudioChannelLayout
for multichannel, or in the case of stereo, the order is always buffer 0 is
left and buffer 1 is right.
My original question:
You are receiving this mail because:
You are the QA Contact for the bug.
More information about the gstreamer-bugs