Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AUGraphStart returning kAudioHardwareIllegalOperationError



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: http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.