Difference between revisions of "Truxton media set load configuration id"
Jump to navigation
Jump to search
(Created page with "Sets the configuration of the media processing. This corresponds to the <code>LoadConfigurationID</code> column of the <code>Media</code> table. It should be a value from the...") |
|||
| (One intermediate revision by the same user not shown) | |||
| 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= | ||
| − | < | + | <source lang="C"> |
void truxton_media_set_load_configuration_id( uint64_t media_handle, uint64_t id ); | void truxton_media_set_load_configuration_id( uint64_t media_handle, uint64_t id ); | ||
| − | </ | + | </source> |
=Parameters= | =Parameters= | ||
| Line 16: | Line 16: | ||
=Sample= | =Sample= | ||
| − | < | + | <source lang="C" highlight="3"> |
| − | void set_default_route(uint64_t media_handle) | + | void set_default_route( uint64_t media_handle ) |
{ | { | ||
truxton_media_set_load_configuration_id( media_handle, 0 ); | truxton_media_set_load_configuration_id( media_handle, 0 ); | ||
} | } | ||
| − | </ | + | </source> |
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.
Contents
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 );
}