Functions | |
int | TuningInit (void) |
Initialise the Tuning module for use. | |
int | TuningDeInit (void) |
Deinitialise the Tuning module. | |
void | TuningChannelChangedRegisterCallback (PluginChannelChanged_t callback) |
Register a Channel Changed callback. | |
void | TuningChannelChangedUnRegisterCallback (PluginChannelChanged_t callback) |
Unregister a Channel Changed callback. | |
Service_t * | TuningCurrentServiceGet (void) |
Retrieve the current (primary) service. | |
void | TuningCurrentServiceSet (Service_t *service) |
Set the current (primary) service to the one specified. | |
Multiplex_t * | TuningCurrentMultiplexGet (void) |
Retrieve the multiplex the frontend is currently tuned to. | |
void | TuningCurrentMultiplexSet (Multiplex_t *multiplex) |
Set the current multiplex (independently of the service). |
When an new service is selected with TuningCurrentServiceSet the new service checked to see if it is encapsulated in the currently tuned multiplex. If it is the frontend is not retuned, if the new service is not in the current multiplex then the frontend is tuned to the multiplex the service is a member of.
payload
= The new Service_t. payload
= The new Multiplex_t. void TuningChannelChangedRegisterCallback | ( | PluginChannelChanged_t | callback | ) |
Register a Channel Changed callback.
callback | The callback function to register. |
void TuningChannelChangedUnRegisterCallback | ( | PluginChannelChanged_t | callback | ) |
Unregister a Channel Changed callback.
callback | The callback function to unregister. |
Multiplex_t* TuningCurrentMultiplexGet | ( | void | ) |
Retrieve the multiplex the frontend is currently tuned to.
void TuningCurrentMultiplexSet | ( | Multiplex_t * | multiplex | ) |
Set the current multiplex (independently of the service).
This function is useful for scanning as no service is required to tune to a specific multiplex.
multiplex | The new multiplex to tune to. |
Service_t* TuningCurrentServiceGet | ( | void | ) |
Retrieve the current (primary) service.
void TuningCurrentServiceSet | ( | Service_t * | service | ) |
Set the current (primary) service to the one specified.
Note: Make sure you have called UpdateDatabase() prior to calling this function otherwise any changes to the multiplex/services will be lost.
service | The new service to tune to. |
int TuningDeInit | ( | void | ) |
Deinitialise the Tuning module.
int TuningInit | ( | void | ) |
Initialise the Tuning module for use.