void afInitCompression(AFfilesetup setup, int track, int compression);
setup is a valid file setup returned by afNewFileSetup(3).
track specifies a track within the audio file setup. track is always AF_DEFAULT_TRACK for all currently supported file formats.
Given an AFfilesetup structure created with afNewFileSetup(3) and a track identified by track (AF_DEFAULT_TRACK for all currently supported file formats), afInitCompression initializes the track to the specified compression.
The following compression types are currently supported:
afInitCompression can produce the following errors:
setup represents an invalid file setup.
track represents an invalid track identifier.
compression represents an invalid compression type.
Michael Pruett <email@example.com>