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
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.
[/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
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 > >
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