
16 Flix Engine Linux Module Documentation
5.2.2.3 on2sc audio_options_GetSamplingrate (const FLIX2HANDLE flix,
FE2_AudioSamplingrates ∗ pSamplingrate)
Retrieve the current output sample rate.
Parameters:
← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()
→ pSamplingrate Storage location to receive the result
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
pSamplingrate is not NULL
Note:
How the default output sample rate is determined is described by audio_options_SetSamplingrate()
Deprecated
Use the Filter Interface along with FE2_FILTER_RESAMPLE and the FE2_RESAMPLE_RATE pa-
rameter.
5.2.2.4 on2sc audio_options_GetStereo (const FLIX2HANDLE flix, on2bool ∗ pStereo)
Retrieve the current number of output audio channels.
Value indicates stereo (on2true) or mono (on2false)
Parameters:
← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()
→ pStereo Storage location to receive the result
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
pStereo is not NULL
Deprecated
Use the Codec Interface along with the FE2_LAME_CHANNELS 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
Commenti su questo manuale