iOS Developer Library

Developer

AudioToolbox Framework Reference Audio Toolbox Debugging Reference

Options
Deployment Target:

On This Page
Language:

Audio Toolbox Debugging Reference

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Swift

import AudioToolbox

Objective-C

@import AudioToolbox;

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

  • Prints the internal state of an object to stdio.

    Declaration

    Swift

    func CAShow(_ inObject: UnsafeMutablePointer<Void>)

    Objective-C

    void CAShow ( void *inObject );

    Parameters

    inObject

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

    Discussion

    Import Statement

    Objective-C

    @import AudioToolbox;

    Swift

    import AudioToolbox

    Availability

    Available in iOS 2.0 and later.

  • Prints the internal state of an object to a file.

    Declaration

    Swift

    func CAShowFile(_ inObject: UnsafeMutablePointer<Void>, _ inFile: UnsafeMutablePointer<FILE>)

    Objective-C

    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

    Import Statement

    Objective-C

    @import AudioToolbox;

    Swift

    import AudioToolbox

    Availability

    Available in iOS 2.0 and later.

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

    Declaration

    Swift

    func CopyNameFromSoundBank(_ inSoundBankRef: CFURL!, _ outName: UnsafeMutablePointer<Unmanaged<CFString>?>) -> OSStatus

    Objective-C

    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.

    Import Statement

    Objective-C

    @import AudioToolbox;

    Swift

    import AudioToolbox

    Availability

    Available in iOS 7.0 and later.