Hi Guys,
I want to change from my program the speaker setup, which is under speaker settings / advanced... section.
I tried to find maybe there is some sort of registry entry but no luck till now :|
Any Ideas ?
Thanks a lot !
Hi Guys,
I want to change from my program the speaker setup, which is under speaker settings / advanced... section.
I tried to find maybe there is some sort of registry entry but no luck till now :|
Any Ideas ?
Thanks a lot !
I found this old thread about people failing to do this under Vista.
It seems that it is possible using DirectSound using XP though and someone claims he managed to find a hacky way to do it under Vista.
Ok, here is the code for what I wanted
var ds:IDirectSound; begin if DirectSoundCreate(nil, ds, nil) <> DS_OK then raise Exception.Create('Failed to create IDirectSound object'); ds.SetSpeakerConfig(1);