Re[SOLVED]: Distorted Audio Playback in 10.2.3?
Re[SOLVED]: Distorted Audio Playback in 10.2.3?
- Subject: Re[SOLVED]: Distorted Audio Playback in 10.2.3?
- From: Lance Drake <email@hidden>
- Date: Mon, 26 Jul 2004 09:25:31 -0600
After I looked at the 'UsingAudioConverter.cpp' example code that came
with the December 2001 ProjectBuilder installation, it was obvious what
needed to be changed. Basically, I had to notice which version of the
OS was currently running and vector to a different proc to service the
AudioConverterFillBuffer call. The only difference in the args (other
than order) was the fact that the older interface specifically wanted
an actual pointer to the buffer. The last hurdle was to notice that
the FormatFlags in my 10.2.3 version were sporting one extra-bit
(big-endian) that was not present in the 10.2.8 version. Forcing that
bit down caused the sound to immediately become pristine clean.
Well - once again, I am SO glad to be a Mac developer. Normally, I am
writing various Apple lists and asking for assistance with some of
these more arcane issues. It was a good feeling to get to Monday
morning and not have to write a status report that included something
along the lines of, "What happened was..." or some other pitiful excuse
why no forward progress was made.
My congrats to the Mac audio folks on the excellent architecture,
docs, and example code.
Onward and Upward!
Lance Drake
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.