![]() |
![]() |
![]() |
![]() |
Set the preferred language for media with unknown language
#include <mme/mme.h> int mme_setlocale ( mme_hdl_t *hdl, const char *locale );
mme
The function mme_setlocale() sets the preferred language for displaying:
The requested language must exist in the database, and the languages table must be populated with the appropriate text strings.
This function doesn't set the preferred language for media playback. To specify that setting, use mme_media_set_def_lang().
![]() |
The current MME implementation uses only the first two characters to extract the language. In the future, this function may set the language used in strings where language sets are available, causing a re-ordering of database tables that are lexicographically collated. |
None delivered.
This function is fully validating and runs to completion.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
mme_getlocale(), mme_media_get_def_lang(), mme_media_set_def_lang()
![]() |
![]() |
![]() |
![]() |