Return to KLUBNL.PL main page

rsgb_lf_group
[Top] [All Lists]

LF: Re: [rsgb-lf-group] Changing default soundcard in Windows in softwar

To: "rsgb_lf_group@blacksheep.org" <rsgb_lf_group@blacksheep.org>, "rsgb-lf-group@groups.io" <rsgb-lf-group@groups.io>
Subject: LF: Re: [rsgb-lf-group] Changing default soundcard in Windows in software
From: Rik Strobbe <rik.strobbe@kuleuven.be>
Date: Tue, 7 May 2019 08:41:12 +0000
Accept-language: nl-BE, en-GB, en-US
In-reply-to: <CAA8k23Qo28kBEF9QMTHptniK7ot7R7ZiS5hdqiKYyxrSdR1-Lg@mail.gmail.com>
References: <CAA8k23QkFCQLG1rfhpb5vud7LhiNuPbarEr==A+hJrzt8MP0Lg@mail.gmail.com>,<CAA8k23Qo28kBEF9QMTHptniK7ot7R7ZiS5hdqiKYyxrSdR1-Lg@mail.gmail.com>
Reply-to: rsgb_lf_group@blacksheep.org
Sender: owner-rsgb_lf_group@blacksheep.org
Thread-index: AQHVBK1JmCcMzfOKAkCQrYK/0jrkQKZfV8Td
Thread-topic: [rsgb-lf-group] Changing default soundcard in Windows in software

Hello Andy,


this might be useful: https://www.c-sharpcorner.com/article/understanding-and-controlling-the-windows-mixer-api/


73, Rik  ON7YD - OR7T



Van: rsgb-lf-group@groups.io <rsgb-lf-group@groups.io> namens Andy G4JNT <andy.g4jnt@gmail.com>
Verzonden: dinsdag 7 mei 2019 10:16
Aan: rsgb_lf_group@blacksheep.org; rsgb-lf-group@groups.io
Onderwerp: [rsgb-lf-group] Changing default soundcard in Windows in software
 
I know there are plenty of software authors here ...
So asking in case anyone knows .

How can I change the default soundcard (playback or recording) from INSIDE a piece of software

I want to control which device a .wav file is played back from using the basic sndPlaySound call (or it's equivalents in high level languages).   I really don't want to have to go into the whole WAVEOUT saga just  to use something other than the default soundcard allocated at the time.

I know the default can be set the Sound Mixer, but this is a need to do it from inside software.   Preferably via a WinAPI call
 
_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#8717) | Reply To Group | Reply To Sender | Mute This Topic | New Topic

Your Subscription | Contact Group Owner | Unsubscribe [rik.strobbe@kuleuven.be]

_._,_._,_
<Prev in Thread] Current Thread [Next in Thread>