API Notes: AVFoundation framework

Introduction

An introduction to PyObjC describes the general method for translating Objective-C calls into Python calls, including the handling of pass-by-reference arguments and buffers.

This document describes where the PyObjC bindings for this framework are different from the general rule, such as mentioning APIs that are not supported or where the interface is different than expected.

Apple documentation

The full API is described in Apple’s documentation, both the C and Objective-C APIs are available (but see the API Notes below).

These bindings are accessed through the AVFoundation package (that is, import AVFoundation).

API Notes

Note

This framework is only available on OSX 10.7 and later and requires a 64-bit binary.

[AVAudioBuffer -floatChannelData]

This method requires manual wrappers and is not yet available from Python.

[AVAudioBuffer -int16ChannelData]

This method requires manual wrappers and is not yet available from Python.

[AVAudioBuffer -int32ChannelData]

This method requires manual wrappers and is not yet available from Python.

[AVAudioFormat -streamDescription]

The result is a tuple of size 1, the element is the actual description.