Audio_options_validate, Audio_options_setstereo, Audio_options_setstereo() – Google Flix Engine Linux Reference Manual User Manual
Page 25
5.2 Deprecated
19
• source sample rate < 16000Hz, set default to
• source sample rate >= 16000Hz and < 32000Hz, set default to
• source sample rate >= 32000Hz, set default to
Use the
along with
and the
pa-
rameter.
5.2.2.9
on2sc audio_options_SetStereo (FLIX2HANDLE flix, const on2bool stereo)
Set the number of output audio channels.
Parameters:
← flix Handle to the flix engine returned from
or
← stereo Indicates whether to encode stereo (on2true) or mono (on2false)
Return values:
on success
should the precondition fail
the underlying communication layer failed
Precondition:
flix
is not NULL
Remarks:
Flash video files are limited by the number of output audio channels they can store. The default output
number of channels is determined using the source file attributes in the following manner:
• input number of channels == 2, set default to: stereo (on2true)
• otherwise, set default to: mono (on2false)
Use the
along with the
parameter. This function will be
removed in a future release. See also:
5.2.2.10
on2sc audio_options_Validate (FLIX2HANDLE flix)
Validate the current audio encoding options.
Ensures the current audio options are sufficient to start encoding. The checks currently performed are:
• sample rate is a valid member of
• output format is a valid member of
Parameters:
← flix Handle to the flix engine returned from
or
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen