Re: got MatrixMixerTest working
Re: got MatrixMixerTest working
- Subject: Re: got MatrixMixerTest working
- From: James McCartney <email@hidden>
- Date: Thu, 30 Oct 2003 13:59:30 -0800
On Oct 30, 2003, at 11:50 AM, Robert Grant wrote:
Well I got some noise out of the MatrixMixerTest after finding that
files are rejected when they don't pass this test (which is probably
most AIFF or WAV files on your machine):
if (d.bufs[i].asbd.mBitsPerChannel != 32
|| !(d.bufs[i].asbd.mFormatFlags & kAudioFormatFlagIsFloat))
{
continue;
}
Exporting with the 32 bit float codec in QuickTime Pro got a usable
file and the program worked as expected.
Apple: some kind of a squawk when a file is rejected would have been
nice ;-)
Yes, in order to get it to work you need to have some 32 bit float
stereo files which it loads in RAM.
This was my test program, which did not really get a proper once-over
before it became sample code.
Sorry I missed the previous questions. I've not been paying close
attention to the list..
-
james mccartney
apple coreaudio
_______________________________________________
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.