Swf_options_setswfframerate, Swf_options_setswfframerateasdouble, Also – Google Flix Engine Linux Reference Manual User Manual

Page 245: Swf_options_setswfframerateasdouble()

Advertising
background image

5.52 SWF

239

See also:

swf_options_GetPreloaderType()

Deprecated

Use the

Muxer Interface

along with

FE2_MUXER_SWF

and the

FE2_SWF_PRELOAD_TYPE

pa-

rameter. This function will be removed in a future release.

5.52.5.32

on2sc swf_options_SetSwfFramerate (FLIX2HANDLE flix, const int32_t swfFramerate)

Sets the SWF framerate.

Parameters:

← flix Handle to the flix engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← swfFramerate The SWF framerate.

Return values:

ON2_OK

The engine successfully set the SWF framerate.

ON2_INVALID_PARAMS

should one or more of the preconditions fail

ON2_NET_ERROR

the underlying communication layer failed

Precondition:

flix

is not NULL

Deprecated

This function has been deprecated in favor of

swf_options_SetSwfFramerateAsDouble()

because this

function can only handle integer framerates.

See also:

swf_options_SetSwfFramerateAsDouble()

5.52.5.33

on2sc swf_options_SetSwfFramerateAsDouble (FLIX2HANDLE flix, const double
swfFramerate)

Sets the SWF framerate as a double.

Parameters:

← flix Handle to the flix engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← swfFramerate The SWF framerate.

Return values:

ON2_OK

The engine successfully set SWF framerate.

ON2_INVALID_PARAMS

should one or more of the preconditions fail

ON2_NET_ERROR

the underlying communication layer failed

Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen

Advertising