_f_i_l_e is an AAAAFFFFffffiiiilllleeeehhhhaaaannnnddddlllleeee structure, previously created by a call to
aaaaffffOOOOppppeeeennnnFFFFiiiilllleeee(3dm).
_t_r_a_c_k is an integer which identifies the audio track in the file.
Since all currently supported file formats allow at most one
audio track per file, the constant value AAAAFFFF____DDDDEEEEFFFFAAAAUUUULLLLTTTT____TTTTRRRRAAAACCCCKKKK should
always be used for this argument.
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
aaaaffffGGGGeeeettttCCCChhhhaaaannnnnnnneeeellllssss(((()))) and aaaaffffGGGGeeeettttVVVViiiirrrrttttuuuuaaaallllCCCChhhhaaaannnnnnnneeeellllssss(((()))) return a nonnegative integer
value if successful, or -1 on failure.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
aaaaffffGGGGeeeettttCCCChhhhaaaannnnnnnneeeellllssss(((()))) returns the number of interleaved channels in the
specified audio track in the file represented by the AAAAFFFFffffiiiilllleeeehhhhaaaannnnddddlllleeee
argument.
For example, the audio track in a stereo AIFF-C file contains 2
interleaved channels. The audio track in a mono AIFF-C file contains 1
channel.
aaaaffffGGGGeeeettttVVVViiiirrrrttttuuuuaaaallllCCCChhhhaaaannnnnnnneeeellllssss(((()))) returns the number of virtual interleaved channels
in the specified audio track represented by the AAAAFFFFffffiiiilllleeeehhhhaaaannnnddddlllleeee argument, as
set by the most recent call to aaaaffffSSSSeeeettttVVVViiiirrrrttttuuuuaaaallllCCCChhhhaaaannnnnnnneeeellllssss(3dm). The default
value is the number of channels in the _t_r_a_c_k's underlying file. See
aaaaffffIIIInnnnttttrrrroooo(3dm) for an explanation of virtual format.
CCCCAAAAVVVVEEEEAAAATTTTSSSS
aaaaffffGGGGeeeettttCCCChhhhaaaannnnnnnneeeellllssss(((()))) may return any number of channels, even for AIFF/AIFF-C
files. Be sure to check the number of channels of any file opened for
reading and make sure your program can handle that number. See
aaaaffffSSSSeeeettttVVVViiiirrrrttttuuuuaaaallllCCCChhhhaaaannnnnnnneeeellllssss(3dm) for a technique for dealing with files with
unexpected numbers of channels in a simple and clean way.