Skip to content
Snippets Groups Projects
Commit 58a99f2a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

DirectSound: fix device selection

Close #6504 #6510 and #6511
parent 600d2090
No related branches found
No related tags found
No related merge requests found
......@@ -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 ) ) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment