[Bug 744922] osxaudiosrc: iOS resampling is stuttering

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Feb 23 17:33:35 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=744922

--- 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:
http://lists.apple.com/archives/coreaudio-api/2015/Feb/msg00027.html

Quoting here:
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:
http://lists.apple.com/archives/coreaudio-api/2015/Feb/msg00024.html

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the gstreamer-bugs mailing list