"afrecord" example in the /CoreAudio/Services/AudioFileTools folder (again)
"afrecord" example in the /CoreAudio/Services/AudioFileTools folder (again)
- Subject: "afrecord" example in the /CoreAudio/Services/AudioFileTools folder (again)
- From: Rolf Nilsson <email@hidden>
- Date: Thu, 7 Oct 2004 21:50:47 +0200
Hi,
I'm using the "afrecord" example in the /
CoreAudio/Services/AudioFileTools folder (same as TN2091)
as a base for my Audio Recorder application.
That example uses the default audio input.
// exactly as Technote 2091
.........
snip
.......
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
_______________________________________________
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