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...") |
|||
| Line 4: | Line 4: | ||
=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> |
Revision as of 23:56, 9 February 2021
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 );
}