Re: "afrecord" example in the /CoreAudio/Services/AudioFileTools folder (again)
Re: "afrecord" example in the /CoreAudio/Services/AudioFileTools folder (again)
- Subject: Re: "afrecord" example in the /CoreAudio/Services/AudioFileTools folder (again)
- From: Doug Wyatt <email@hidden>
- Date: Mon, 11 Oct 2004 10:18:59 -0700
On Oct 7, 2004, at 12:50, Rolf Nilsson wrote:
UInt32 enableIO = 0;
XThrowIfError(AudioUnitSetProperty(mInputUnit,
kAudioOutputUnitProperty_EnableIO,
kAudioUnitScope_Output,
0, //AudioUnitElement
&enableIO,
sizeof(enableIO)), "failed to disable output");
The code fails here with an error of -10879
(kAudioUnitErr_InvalidProperty)
when using an USB device called MD-Port DG2 (a device use to record to
Mini Discs, should be compatible with OS X)
Does this mean the driver is badly written or written for an earlier
version of CoreAudio or some other problem.
No one else has ever reported this problem so it's no big deal but it
would be nice to know.
Thanks
Rolf Nilsson
That error is returned when you try to set the EnableIO property on the
default output unit (as opposed to AUHAL).
Doug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden