osxaudio fixes: multichannel and changing caps.
authorMichael Smith <msmith@songbirdnest.com>
Thu, 5 Feb 2009 00:40:13 +0000 (16:40 -0800)
committerMichael Smith <msmith@songbirdnest.com>
Thu, 5 Feb 2009 00:40:13 +0000 (16:40 -0800)
commit555c804b7d753955c8aa5330a6f591c25e65255d
tree5bd0aa9594c555913eee11232a255cdb125ae9b9
parent1dc5c341432f17f5b33c055fc5eae66ef52840f6
osxaudio fixes: multichannel and changing caps.

Ensure we create the ringbuffer segment size as a multiple of the
bytes per sample (fixes 6-channel output).
Reset the segoffset when acquiring the ringbuffer, so we don't retain
a bogus offset when caps change.
sys/osxaudio/gstosxringbuffer.c