
18 Flix Engine Linux Module Documentation
5.2.2.7 on2sc audio_options_SetFlvAudioFormat (FLIX2HANDLE flix, const
FE2_FlvAudioFormat format)
Set the output audio format.
Parameters:
← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()
← format Output audio format
Return values:
ON2_OK on success
ON2_INVALID_PARAMS should one or more of the preconditions fail
ON2_NET_ERROR the underlying communication layer failed
Precondition:
flix is not NULL
format is a valid member of FE2_FlvAudioFormat
Note:
Default: FlvAudioMp3
Deprecated
Use the Codec Interface. This function will be removed in a future release. See also: Audio Codecs.
5.2.2.8 on2sc audio_options_SetSamplingrate (FLIX2HANDLE flix, const
FE2_AudioSamplingrates samplingrate)
Set the output audio sample rate.
Parameters:
← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()
← samplingrate Output audio sample rate
Return values:
ON2_OK on success
ON2_INVALID_PARAMS should one or more of the preconditions fail
ON2_NET_ERROR the underlying communication layer failed
Precondition:
flix is not NULL
samplingrate is a valid member of
FE2_AudioSamplingrates
Remarks:
Flash video files are limited by what sample rate audio they can store. The default output sample rate
is determined using the source file attributes in the following manner:
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
Komentarze do niniejszej Instrukcji