• 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: why am I getting kAudioHardwareIllegalOperationError?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why am I getting kAudioHardwareIllegalOperationError?


  • Subject: Re: why am I getting kAudioHardwareIllegalOperationError?
  • From: Benjamin Reed <email@hidden>
  • Date: Mon, 18 Nov 2002 20:15:13 -0500

On Monday, November 18, 2002, at 12:59 PM, Jeff Moore wrote:

The most likely explanation is that you are adding the same IOProc multiple times, which is expressly illegal in the API.

Apart from that guess, there just isn't enough context in your question to judge properly what else might be failing.

Actually, it turns out that I was trying to set things that apparently don't actually work (at least, all of the "real world" code I've seen has been forced to disable it).

In a StreamBasicDescription, setting mBitsPerChannel, mBytesPerPacket, mBytesPerFrame, and mFormatID all cause the property setting to fail.

Is there any way at all to be able to pass signed 16-bit data to coreaudio directly without having to do my own conversion routines?
_______________________________________________
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: why am I getting kAudioHardwareIllegalOperationError?
      • From: Bill Stewart <email@hidden>
    • Re: why am I getting kAudioHardwareIllegalOperationError?
      • From: Jeff Moore <email@hidden>
References: 
 >Re: why am I getting kAudioHardwareIllegalOperationError? (From: Jeff Moore <email@hidden>)

  • Prev by Date: Re: why am I getting kAudioHardwareIllegalOperationError?
  • Next by Date: Re: OT: loud macs [was: It had to be tried...]
  • Previous by thread: Re: why am I getting kAudioHardwareIllegalOperationError?
  • Next by thread: Re: why am I getting kAudioHardwareIllegalOperationError?
  • Index(es):
    • Date
    • Thread