title: How do you convert an iPhone OSStatus code to something useful?
body: <p>I am getting more than a little sick of this iPhone SDK and its documentation...</p>
  
  <p>I am calling AudioConverterNew</p>
  
  <p>in the documentation under Returns: it says "returns a status code"
  ...
  really...</p>
  
  <p>so far, through playing around with the parameters I have only been able to get two different errors neither of which are listed at the bottom of the Audio Converter reference.</p>
  
  <p>they are 'mrep' and '?tmf' (casting the OSStatus to a char array) but the specific codes aren't really the point.</p>
  
  <p>as far as I can tell, random error codes are defined in random files, so you can't just search one file, I can't find a help document that just lets you search for an error code to get more info, and from what I can tell, in OS X you can use GetMacOSStatusErrorString() to convert an error to something useful, but there is no iPhone equivalent?</p>
  
  <p>any help would be greatly appreciated.</p>
  
  <p>EDIT:</p>
  
  <p>ok, so casting them gives them in reverse (something I checked for 'mrep' but was not there either way round) , fmt? is in the list for the Audio Converter api, and is pretty self explanatory if a bit vague, but fair enough, still 'perm' isn't there (although it might be something to do with the simulator not supporting aac decoding) and my general question still stands.</p>