Flix2_getframeserver, Flix2_setaudioproperties – Google Flix Engine Linux Reference Manual User Manual
Page 194

188
Flix Engine Linux Module Documentation
See also:
5.43.4.2
on2sc Flix2_GetFrameServer (FLIX2HANDLE flix, on2bool ∗ enabled)
Retrieve the current frame server status.
Parameters:
← flix Handle to the flix engine returned from
or
→ enabled Enabled (on2true) or disabled (on2false)
Return values:
on success
should one or more of the preconditions fail
Precondition:
flix
is not NULL
Attention:
Available only in the
Note:
Default: on2false (disabled)
If enabled the user should call at least one of
or
before calling
5.43.4.3
on2sc Flix2_SetAudioProperties (FLIX2HANDLE flix, uint8_t channels, int16_t
bitspersample, int32_t samplerate)
Set the input audio properties for the frame server.
When
is passed to
the frame server will assume the input is of this
format. The sample rate given will be used to calculate a timestamp.
Parameters:
← flix Handle to the flix engine returned from
or
← channels Number of audio channels (1/2)
← bitspersample The bits per input sample (8/16)
← samplerate The input sample rate in Hz (11025/22050/44100)
Return values:
on success
should one or more of the preconditions fail
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen