Programs not using ...
 
Notifications
Clear all

Programs not using application default sound card?

2 Posts
1 Users
0 Reactions
1,135 Views
rokkett
Posts: 441
Topic starter
(@rokkett)
Reputable Member
Joined: 17 years ago
[#9414]

I have a second sound card in my PC I would like to use to drive the FM transmitter. Everything works fine by setting the applications default audio device - until I run a program, then it defaults back to the system default audio device. I found a reference to this issue back in 2.0.x, but nothing recently. I am running 2.5.0.8. Is this still a current bug? Anybody have a work around?


1 Reply
rokkett
Posts: 441
Topic starter
(@rokkett)
Reputable Member
Joined: 17 years ago

If I had a hammer....

..I'd used that hammer to get rid of bugs. 🙂

I found a workaround for my default audio device problem with programs. The Vixen application seems to be reading the registry to retrieve the system default audio device and using that for programs. When you run sequence - it uses the sequence's audio device or the application's default just as you would expect, but programs always seem to use the system default. So I changed my system default device to the audio card connected to my FM transmitter. But I use this PC for other things - and the entire neighborhood doesn't want to hear that "I got mail" or Frank Zappa (not quite sure why not on that one... :)). So I left my default audio device set to the audio card connected to my home office sound system.

No - I didn't move Vixen to another PC, silly! I temporarily change the default audio device to launch Vixen. Fortunately, Vixen only check this registry setting at start up, so I have a small batch file to launch Vixen:

regedit /s SoundBlaster.reg
start /D"C:\Documents and Settings\Ted\Desktop\Vixen Christmas 2009" Vixen.exe"
sleep 10
regedit /s SoundMax.reg

exit

The 10 second sleep allows Vixen to start up and read the registry before I swap it back to the real default audio card. With out the sleep, regedit was swapping things back before Vixen could read the registry. 10 seconds is a guess - Vixen really doesn't take that long to launch - just a "safe" choice to insure Vixen has loaded.

The reg files are just exports of the [HKEY_CURRENT_USER\Software\Microsoft\Multimedia\Sound Mapper] registry entry with the appropriate entries.

The only problem would be if another application launched in this 10 second window that used the system default sound device, it would also map to the sound blaster card - but that is a small risk.

Hope this helps someone - and always keep a hammer in your tool box to fix problems other tools don't seem to work on.... )

Oh - the problem seems to exist in 2.1 and 2.5, but this work around works with both....


Reply
Share: