Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In iOS Core Audio - what's the best way of looking up OSStatus errors ( ie -43?)

What's the best way to look up the meaning of OSStatus errors ( i.e. -43 ) in Core Audio? Is there a way to process them in your iOS code so they can be formatted to show up with a brief explanation in the console?

like image 331
OverToasty Avatar asked Dec 14 '12 19:12

OverToasty


1 Answers

After a quick look around, the best way so far seems to be to use the Unix command line tool - macerror - and type in the error code as an argument: not sure if it's possible to call & get the results of a macerror query from my Obj-C code in iOS into a console print out.

like image 74
OverToasty Avatar answered Sep 23 '22 08:09

OverToasty