Extensions
: K-Meleon Forum
All about K-Meleon extensions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=disrupted] i have 2 soundcards and i understand what you want.. i listen to online radio -usually default soundcard via speakers and then i would like to check an mp3 song before download to check if it's of good quality or the proper song etc..so i didn't want it to play through default one cause it would ruin my radio listening session and i wouldn't hear it properly with 2 streams playing at the same time. in windows 98, there is something i think is very smart but it's not available on other win oses..when 1 sound card is engaged(busy) it would automatically route the 2 output through the 2 soundcard(non default) this was really smart but ms decided to stop that and play out all through your default soundcard|(unless ofcourse your audio player had an option to choose output)..this does not apply on directx playback which will always use your default soundcard. the reason why ms did that after windows 98 is because most users just have one soundcard and in win98 that caused problems with multiple streams or outputs and you would get an error message"soundcard not available" but ofcourse for those with multiple soundcards, win 98 was the best by auto routing. unfortunately i never found a freeware program to do what win98 did by default.. i once did find a shareware product but it was very unstable and wouldn't always work..i forgot its name anyways. what i do now is toggling the default sound card before i want to play something with an autoit script because it can read registry first but you can do the same thing directly with regedit and a reg key and can be easilt implemented with a macro if you download the mp3 file, you don't need this procedure because you can add a context menu command to an mp3 player which is automatically set to use soundcard2 regardless of your default one(non sound mapper). almost all good mp3 players give you that option: nad, winamp, sonique etc but if you want to listen to the stream via browser plugin it will use the default mapper (directx) and you will need to swap default card first. first you will need to know the exact name for the soundcards registered as an audio device.. you can find that in sound and audio panel. then you make a registry key with the desired soundcard set as default. e.g. for soundcard1 as default: [color=#6b6b6b][sub]Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Multimedia\Sound Mapper] "Playback"="[color=red]Creative Sound Blaster PCI[/color]"[/sub][/color] e.g. soundcard2 as default: [color=#6b6b6b][sub]Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Multimedia\Sound Mapper] "Playback"="[color=red]FM801 PCI Audio[/color]"[/sub][/color] -change red parts according to your soundcard name then you save each reg key in a path as *.reg file eg. soundcard1.reg and soundcard2.reg and make a macro with the exec command [color=green][sub] soundcard1{ exec("c:\\windows\\regedit.exe /s c:\\soundcard1.reg"); } soundcard2{ exec("c:\\windows\\regedit.exe /s c:\\soundcard2.reg"); } soundcards_BuildMenu{ setmenu("&Tools",inline,sound_cards,WebServices); setmenu(sound_cards,popup,"Soundcards"); setmenu("Soundcards",macro,"soundcard1 as default",soundcard1); setmenu("Soundcards",macro,"soundcard2 as default",soundcard2); } $OnInit=$OnInit."soundcards_BuildMenu;"; $macroModules=$macroModules."togglesoundcards;"; [/sub][/color] (the /s switch is to make regedit use silent mode without prompting when adding the regkey) now before you want to play your other stream etc, just click tools>soundcards and select soundcard 2 as default this will use your 2nd soundcard when you play that file. if you prefer a specific soundcard to be default and in case you forgot to switch back to it, you can add a shortcut in startup to use the soundcard1.reg for e.g regedit.exe /s c:\soundcard1.reg this way the system with revert to default soundcard always after you logoff or startup.[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development