ArchiveOrangemail archive

A mailing list for developers using Core Audio and MIDI APIs (C or Java) on MacOS X


coreaudio-api.lists.apple.com
(List home) (Recent threads) (100 other Apple lists)

Subscription Options

  • RSS or Atom: Read-only subscription using a browser or aggregator. This is the recommended way if you don't need to send messages to the list. You can learn more about feed syndication and clients here.
  • Conventional: All messages are delivered to your mail address, and you can reply. To subscribe, send an email to the list's subscribe address with "subscribe" in the subject line, or visit the list's homepage here.
  • Low traffic list: less than 3 messages per day
  • This list contains about 8,158 messages, beginning Oct 2009
  • 0 messages added yesterday
Report the Spam
This button sends a spam report to the moderator. Please use it sparingly. For other removal requests, read this.
Are you sure? yes no

AudioDeviceStart Error Codes

Ad
Chuck Carlson 1255582584Thu, 15 Oct 2009 04:56:24 +0000 (UTC)
Hello,

I'm getting an error code:

0x10000003

from AudioDeviceStart.   I can't find this code in AudioHardware.h, so
it must be a more general error.

Any ideas what this might be?

Thanks,

--Chuck
Jeff Moore 1255626684Thu, 15 Oct 2009 17:11:24 +0000 (UTC)
That doesn't really look like the usual errors that I've seen come out  
of AudioDeviceStart(). Can you elaborate a bit on the circumstances?

At any rate, this is most likely a kernel error that came about during  
the attempt to start the hardware.
On Oct 14, 2009, at 9:57 PM, Chuck Carlson wrote: > I'm getting an error code: > > 0x10000003 > > from AudioDeviceStart. I can't find this code in AudioHardware.h, so > it must be a more general error. > > Any ideas what this might be?
Doug Wyatt 1255632496Thu, 15 Oct 2009 18:48:16 +0000 (UTC)
On Oct 14, 2009, at 21:57 , Chuck Carlson wrote: > Hello, > > I'm getting an error code: > > 0x10000003 > > from AudioDeviceStart. I can't find this code in AudioHardware.h, so > it must be a more general error. > > Any ideas what this might be?
[/usr/include/mach]$ grep -r 10000003 . ./arm/processor_info.h:#define PROCESSOR_CPU_STAT 0x10000003 /* Low level cpu statistics */ ./message.h:#define MACH_SEND_INVALID_DEST 0x10000003
Chuck Carlson 1255632699Thu, 15 Oct 2009 18:51:39 +0000 (UTC)
Thanks, interesting.

I'm doing the AudioDeviceStart in a forked process, where previously
it had been done in an exec'd process.
On Thu, Oct 15, 2009 at 11:43 AM, Doug Wyatt wrote: > > On Oct 14, 2009, at 21:57 , Chuck Carlson wrote: > >> Hello, >> >> I'm getting an error code: >> >> 0x10000003 >> >> from AudioDeviceStart. I can't find this code in AudioHardware.h, so >> it must be a more general error. >> >> Any ideas what this might be? > > [/usr/include/mach]$ grep -r 10000003 . > ./arm/processor_info.h:#define PROCESSOR_CPU_STAT 0x10000003 /* > Low level cpu statistics */ > ./message.h:#define MACH_SEND_INVALID_DEST 0x10000003 > >
Jeff Moore 1255632827Thu, 15 Oct 2009 18:53:47 +0000 (UTC)
In that case, you are likely hitting the MACH_SEND_INVALID_DEST error  
as the "call" to the driver to start the hardware is really a mach  
message. The fork probably left your mach port names a mess in the  
child process without the exec.
On Oct 15, 2009, at 11:50 AM, Chuck Carlson wrote: > Thanks, interesting. > > I'm doing the AudioDeviceStart in a forked process, where previously > it had been done in an exec'd process. > > On Thu, Oct 15, 2009 at 11:43 AM, Doug Wyatt wrote: >> >> On Oct 14, 2009, at 21:57 , Chuck Carlson wrote: >> >>> Hello, >>> >>> I'm getting an error code: >>> >>> 0x10000003 >>> >>> from AudioDeviceStart. I can't find this code in >>> AudioHardware.h, so >>> it must be a more general error. >>> >>> Any ideas what this might be? >> >> [/usr/include/mach]$ grep -r 10000003 . >> ./arm/processor_info.h:#define PROCESSOR_CPU_STAT >> 0x10000003 /* >> Low level cpu statistics */ >> ./message.h:#define MACH_SEND_INVALID_DEST 0x10000003
Home | About | Privacy