Microsoft DirectX 9.0


The SelectDefaultAudioLanguage method sets the default audio language.


HRESULT SelectDefaultAudioLanguage(
  LCID Language,
  DVD_AUDIO_LANG_EXT audioExtension



[in] Locale identifier that specifies the default language.


[in] DVD_AUDIO_LANG_EXT enumeration that specifies the default audio language extension.

Return Values

Returns one of the following values.

Return code Description
S_OK Success.
E_INVALIDARG The audioExtension value is invalid.
VFW_E_DVD_INVALIDDOMAIN The DVD Navigator filter is not in the Stop domain.


This method selects the default language and language extensions to use when the disc is played. For example, if Language is specified as 0x409 for English and audioExtension is specified as DVD_AUD_EXT_NotSpecified, the DVD Navigator will look for the basic audio stream in English. If audioExtension is specified as DVD_AUD_EXT_VisuallyImpaired, the DVD Navigator will first look for a special audio stream in English for people with low vision. If the default stream is not found on a disc, the DVD Navigator will select the closest match.

The following table shows the Annex J command name to which this method name corresponds, and the domains in which this method is valid.

Annex J Command Name Valid Domains

See Also