Commit 58a99f2a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

DirectSound: fix device selection

Close #6504 #6510 and #6511
parent 600d2090
......@@ -672,7 +672,7 @@ static int InitDirectSound( audio_output_t *p_aout )
"DirectSoundEnumerateW" );
if( OurDirectSoundEnumerate )
{
p_aout->sys->psz_device = var_InheritString(p_aout, "directx-audio-device-name");
p_aout->sys->psz_device = var_InheritString(p_aout, "directx-audio-device");
/* Attempt enumeration */
if( FAILED( OurDirectSoundEnumerate( CallBackDirectSoundEnum,
p_aout ) ) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment