• 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: AUGraphStart returning kAudioHardwareIllegalOperationError
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AUGraphStart returning kAudioHardwareIllegalOperationError


  • Subject: Re: AUGraphStart returning kAudioHardwareIllegalOperationError
  • From: Christopher Ashworth <email@hidden>
  • Date: Fri, 23 Mar 2007 07:23:47 -0400

Hi Jeff,

Yes, I'm using an AUHAL for IO.

I'm afraid I can't yet provide a lot of details; I'm trying to remotely troubleshoot some problems a user is reporting, and don't have much reliable/specific information yet. When asked to report any errors logged to the console that's the only one that had been logged at the time.

For what it's worth, the reported bug is that my application is often introducing a delay (up to a 1/2 second or so) before audio starts to play back. However, this code has been in use "in the wild" for some time, and this is the first instance of this particular behavior being reported. The kAudioHardwareIllegalOperationError is certainly not something I've ever seen before, and I was also very puzzled by it.

Other strange behavior he's reported makes me a little suspicious of the overall health of his machine, e.g. his preferences file appears to have suffered a bout of spontaneous corruption.

I will certainly let you know if I am able to extract more useful details.

Thanks much for such a quick response,
Christopher


The usual cause for this sort of error is that an IOProc hasn't be added with AudioDeviceAddIOProc prior to being started with AudioDeviceStart. I presume that you are using an instance of AUHAL to handle the IO, so I'm somewhat puzzled how something like this might have come up.

Perhaps you could explain a bit more about the problem?

On Mar 22, 2007, at 6:44 PM, Christopher Ashworth wrote:

What are the reasons that AUGraphStart might return kAudioHardwareIllegalOperationError?

_______________________________________________ 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
  • Prev by Date: Re: AUGraphStart returning kAudioHardwareIllegalOperationError
  • Next by Date: How to print individual MusicTrack events?
  • Previous by thread: Re: AUGraphStart returning kAudioHardwareIllegalOperationError
  • Next by thread: How to print individual MusicTrack events?
  • Index(es):
    • Date
    • Thread