converting audio error # codes into 4-char-code error
converting audio error # codes into 4-char-code error
- Subject: converting audio error # codes into 4-char-code error
- From: "Andrew E. Davidson" <email@hidden>
- Date: Fri, 7 Aug 2009 14:38:07 -0700
Hi Doug
Thanks posting this trick. I am reposting it so that it will be easier for
other to find your solution in the future
Andy
-----Original Message-----
From: Doug Wyatt [mailto:email@hidden]
Sent: Friday, August 07, 2009 12:14 PM
To: Andrew E. Davidson
Cc: 'Core Audio Apple'; 'Andrew Davidson'
Subject: Re: audio queue start fails with 1752656245. bug in quick time on
iPhone 2g running OS 3.0?
>
> I googled 1752656245 but could not find anything. Does any one know
> what this error means? Does anyone know of a way to translate error
> numbers into something more meaningful? Or at the very least where I
> can go to figure out what these numbers mean? There must be better
> way to figure this out besides digging through system header files.
If you suspect it might be one of the 4-char-code errors returned by
some of the CoreAudio API's, you can use a programmer's calculator to
display the number as characters. Or you can teach gdb a trick:
$ cat ~/.gdbinit
define __print_4
p (char[4])$arg0
end
define p4c
__print_4 $arg0
end
$ gdb
[ ....... ]
(gdb) p4c 1752656245
$1 = "uiwh"
I am on a little-endian machine so that's actually 'hwiu'.
At this point you can try Google again with the four-char-code
(sometimes that's fastest) or searching through the framework header
files. Unfortunately this error is not (yet) documented, but I can
tell you that it means "hardware in use."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden