• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "afrecord" example in the /CoreAudio/Services/AudioFileTools folder (again)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >"afrecord" example in the /CoreAudio/Services/AudioFileTools folder (again) (From: Rolf Nilsson <email@hidden>)

  • Prev by Date: SampleEffectUnit and auval
  • Next by Date: Re: Who is calling my MIDIReadProc?
  • Previous by thread: "afrecord" example in the /CoreAudio/Services/AudioFileTools folder (again)
  • Next by thread: Re: "afrecord" example in the /CoreAudio/Services/AudioFileTools folder (again)
  • Index(es):
    • Date
    • Thread