• 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
Built-in audio controller - kAudioHardwareIllegalOperationError
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Built-in audio controller - kAudioHardwareIllegalOperationError


  • Subject: Built-in audio controller - kAudioHardwareIllegalOperationError
  • From: Andreas Doerr <email@hidden>
  • Date: Tue, 5 Mar 2002 16:32:00 +0100

Hi,

I am using the built-in audio controller on a G4 PowerBook.

The application determines the default output device and the default input device. Since the default audio controller supports input and output I get the same device id for both devices. So far so good.

Later the application tries to add two IO procedures through the "AudioDeviceAddIOProc()". One for the output device and one for the input device. Adding the output IO procedure succeeds. Adding the input, i.e. second, IO procedure (using the same device id) fails. The error is "kAudioHardwareIllegalOperationError".

The actual device seems to be "AppleDBDMAAudioDMAEngine". I know, that a device is permitted not to accept more than one IO procedure and that one IO procedure would be enough. However the code is generic and does not distinguish between two separate devices for input/output and one device providing both, input and output.

So my question is, could anyone please explain *why* "AppleDBDMAAudioDMAEngine" refuses to accept a second IO procedure from the same client? Is this the behavior for every built-in audio controller?

Thanks,
-Andreas
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Built-in audio controller - kAudioHardwareIllegalOperationError
      • From: Jeff Moore <email@hidden>
References: 
 >Re: AudioConverterConvertBuffer sample? (From: Ken Wieschhoff <email@hidden>)

  • Prev by Date: Re: AudioConverterConvertBuffer sample?
  • Next by Date: Re: Built-in audio controller - kAudioHardwareIllegalOperationError
  • Previous by thread: Re: AudioConverterConvertBuffer sample?
  • Next by thread: Re: Built-in audio controller - kAudioHardwareIllegalOperationError
  • Index(es):
    • Date
    • Thread