The following parameters are defined in _d_m_e_d_i_a/_d_m__a_u_d_i_o._h and may be set
via _p_a_r_a_m_s:
DDDDMMMM____AAAAUUUUDDDDIIIIOOOO____FFFFOOOORRRRMMMMAAAATTTT Sample format. Must be DDDDMMMM____AAAAUUUUDDDDIIIIOOOO____TTTTWWWWOOOOSSSS____CCCCOOOOMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTT,
DDDDMMMM____AAAAUUUUDDDDIIIIOOOO____UUUUNNNNSSSSIIIIGGGGNNNNEEEEDDDD, DDDDMMMM____AAAAUUUUDDDDIIIIOOOO____FFFFLLLLOOOOAAAATTTT, or
DDDDMMMM____AAAAUUUUDDDDIIIIOOOO____RRRRAAAATTTTEEEE Sampling rate. Must be a positive, double
precision floating point value.
DDDDMMMM____AAAAUUUUDDDDIIIIOOOO____CCCCOOOOMMMMPPPPRRRREEEESSSSSSSSIIIIOOOONNNN Compression type. Will be DDDDMMMM____AAAAUUUUDDDDIIIIOOOO____UUUUNNNNCCCCOOOOMMMMPPPPRRRREEEESSSSSSSSEEEEDDDD or
one of the supported compression parameter values.
In addition, any parameters associated with the
compression, such as DDDDMMMM____AAAAUUUUDDDDIIIIOOOO____BBBBIIIITTTTRRRRAAAATTTTEEEE, should be
set here (see aaaaffffIIIInnnniiiittttCCCCoooommmmpppprrrreeeessssssssiiiioooonnnn(3dm) and
aaaaffffGGGGeeeettttVVVViiiirrrrttttuuuuaaaallllPPPPCCCCMMMMMMMMaaaappppppppiiiinnnngggg(3dm) for a detailed
explanation).
When a file is opened for writing by passing _s_e_t_u_p to aaaaffffOOOOppppeeeennnnFFFFiiiilllleeee(3dm),
the track will be configured to store data according to the data format,
width, number of channels, or sample rate specified.
CCCCAAAAVVVVEEEEAAAATTTTSSSS
The Audio File Library will continue to support additional file formats.
The ability of these file formats to store data of various sample formats
will vary. If you are choosing a file format other than the default
format, you should make sure that you either explicitly specify format
params for this file's tracks which are compatible with that file format,
or do not set them at all (in which case they will be set to default
values for the format).
In the case where the audio track in a file is configured for
compression, the parameter values for DDDDMMMM____AAAAUUUUDDDDIIIIOOOO____FFFFOOOORRRRMMMMAAAATTTT and DDDDMMMM____AAAAUUUUDDDDIIIIOOOO____WWWWIIIIDDDDTTTTHHHH
should match the data format specified by the compression algorithm. For
example, the software G.722 compressor expects to encode 16-bit two's
complement linear PCM input data. In addition, many compression formats
have restrictions on sample rate and/or channel count as well.