CraigNZ
09-21-2016, 09:23 AM
I am having problems routing the audio to a different sound device.
Here is the code line I am using:
SCInterface_Form.ALAudioOut.Device.DeviceName := 'HP w2408-8 (NVIDIA High Definition Audio)';
Using the debugger, the next line shows the devicename property in ALAudioOut has indeed been changed. But the audio is still routed to the default audio device.
If I set the w2408 as the default device then sound does go out that device, so the device is okay, seems ALAudioOut does not make the change.
Using Windows 10, Delphi 10 Seattle.
Craig
Here is the code line I am using:
SCInterface_Form.ALAudioOut.Device.DeviceName := 'HP w2408-8 (NVIDIA High Definition Audio)';
Using the debugger, the next line shows the devicename property in ALAudioOut has indeed been changed. But the audio is still routed to the default audio device.
If I set the w2408 as the default device then sound does go out that device, so the device is okay, seems ALAudioOut does not make the change.
Using Windows 10, Delphi 10 Seattle.
Craig