Re: why am I getting kAudioHardwareIllegalOperationError?
Re: why am I getting kAudioHardwareIllegalOperationError?
- Subject: Re: why am I getting kAudioHardwareIllegalOperationError?
- From: Bill Stewart <email@hidden>
- Date: Tue, 19 Nov 2002 01:14:47 -0800
Not really - which is why
(1) We have the AudioConverter
(2) You can use the output units with these kinds of formats and we'll
use the AC to do the work
You don't have to write a converter yourself...
SDK->DefaultOutput code shows you how
Bill
On Monday, November 18, 2002, at 05:15 PM, Benjamin Reed wrote:
On Monday, November 18, 2002, at 12:59 PM, Jeff Moore wrote:
The most likely explanation is that you are adding the same IOProc
multiple times, which is expressly illegal in the API.
Apart from that guess, there just isn't enough context in your
question to judge properly what else might be failing.
Actually, it turns out that I was trying to set things that apparently
don't actually work (at least, all of the "real world" code I've seen
has been forced to disable it).
In a StreamBasicDescription, setting mBitsPerChannel, mBytesPerPacket,
mBytesPerFrame, and mFormatID all cause the property setting to fail.
Is there any way at all to be able to pass signed 16-bit data to
coreaudio directly without having to do my own conversion routines?
_______________________________________________
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.
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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.