Truxton media set load configuration id

From truxwiki.com
Jump to navigation Jump to search

Sets the configuration of the media processing. This corresponds to the [LoadConfigurationID] column of the [Media] table. It should be a value from the [ID] column of the [LoadConfiguration] table.

Syntax

void truxton_media_set_load_configuration_id( uint64_t media_handle, uint64_t id );

Parameters

media_handle

The handle created by the truxton_media_create or truxton_media_open_id call.

id

The identifier of the load configuration.

Sample

void set_default_route( uint64_t media_handle )
{
   truxton_media_set_load_configuration_id( media_handle, 0 );
}