Audio Toolbox Debugging Reference

Framework
AudioToolbox/AudioToolbox.h
Declared in
AudioToolbox.h

Overview

The AudioToolbox.h header file provides auxiliary functions for obtaining the internal state of a Core Audio object. These functions are useful during development and debugging.

Functions

CAShow

Prints the internal state of an object to stdio.

void CAShow (
   void *inObject
);
Parameters
inObject

The Core Audio object whose internal state you want to print.

Discussion

Availability
  • Available in iOS 2.0 and later.
Declared In
AudioToolbox.h

CAShowFile

Prints the internal state of an object to a file.

void CAShowFile (
   void *inObject,
   FILE *inFile
);
Parameters
inObject

The Core Audio object whose internal state you want to print.

inFile

The file you want to print object state information to

Discussion

Availability
  • Available in iOS 2.0 and later.
Declared In
AudioToolbox.h

CopyNameFromSoundBank

Copies the name of a sound bank from a sound bank file at a specified URL.

OSStatus CopyNameFromSoundBank (
   CFURLRef      inURL,
   CFStringRef   *outName
);
Parameters
inSoundBankRef

A URL that points to the sound bank whose name you want to get.

outName

The name of the sound bank.

Return Value

A result code.

Availability
  • Available in iOS 7.0 and later.
Declared In
AudioToolbox.h