Difference between revisions of "Truxton media set load configuration id"

From truxwiki.com
Jump to navigation Jump to search
 
Line 1: Line 1:
 
Sets the configuration of the media processing.
 
Sets the configuration of the media processing.
This corresponds to the <code>LoadConfigurationID</code> column of the <code>Media</code> table.
+
This corresponds to the <code>[LoadConfigurationID]</code> column of the <code><nowiki>[</nowiki>[[Media Table|Media]]<nowiki>]</nowiki></code> table.
It should be a value from the <code>ID</code> column of the <code>LoadConfiguration</code> table.
+
It should be a value from the <code>[ID]</code> column of the <code>[LoadConfiguration]</code> table.
  
 
=Syntax=
 
=Syntax=

Latest revision as of 07:46, 3 February 2024

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 );
}