
5.2 Deprecated 17
5.2.2.5 on2sc audio_options_Reset (FLIX2HANDLE flix)
Reset the audio encoding options to their default values.
Defaults are set as described by: audio_options_SetBitrate(), audio_options_SetFlvAudioFormat(),
audio_options_SetSamplingrate() and audio_options_SetStereo()
Parameters:
← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()
Return values:
ON2_OK on success
ON2_INVALID_PARAMS should the precondition fail
ON2_NET_ERROR the underlying communication layer failed
Precondition:
flix is not NULL
Deprecated
Use the Codec and Filter interfaces.
5.2.2.6 on2sc audio_options_SetBitrate (FLIX2HANDLE flix, const FE2_AudioBitrates bitrate)
Set the bitrate to use in mp3 encoding.
Parameters:
← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()
← bitrate Bitrate to use encoding mp3 audio
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
bitrate is a valid member of FE2_AudioBitrates
Note:
Default: Bitrate64kbps
Deprecated
Use the Codec Interface along with the FE2_CODECPARAM_BITRATE parameter. This function
will be removed in a future release. See also: Audio Codecs.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
Komentáře k této Příručce