Help - Search - Members - Calendar
Full Version: Audio device selector in toolbar?
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
procyon
Is there a plugin that would put the audio device selector of current output plugin to toolbar?
I have two soundcards, one connected to speakers and the other to headphones, and I often need to change between them, but it takes quite a lot of steps (open preferences, select right output pane etc.) to do it.
Using the default device and then changing it in windows (which I have scripted to take less than a second of my time smile.gif ) does not completely solve my problem, because sometimes I run f2k and rest of system on different soundcards.
As much as my (quite limited) C++ understanding tells, it shouldn't be impossible to make a multipurpose (output and toolbar) plugin, but its above my skills.
Any information on whether it has alredy been done?

Thanks in advance.
l.s
I would love such an option to, as I'm often changing between my active speakers, my hifi amplifier and a Bluetooth headset.

Regards, Lars
Raederle
I'd also be delighted with such a thing. It doesnt need to be in the toolbar, a menu entry or even an external batch file that set the right option would do. I switch from office (play over spekers) to other parts of house (play over bluetooth transmitter to stereo system) a lot.

Yes I can certainly open prefs, hit wave output, select the new device, and close things again. And am doing so. But a way to select current output and output device as a menu item (I fear this means a mod much like musicmusic's sort presets) would be lovely.

Raederle
furball4
I'm an bluetooth A2DP user as well and I agree this would be excellent. I'm not sure it belongs in the application, all things considered, but it sure would be nice to have it there anyway.
Melomane
you can use this hotkey script
CODE
; AutoHotkey Version: 1.x
; Language:       English
; Platform:       Win9x/NT
; Author:         melomane
; Script Function:
;    set output foobar

SetTitleMatchMode, 2
    IfWinExist, Preferences
        Winclose
    Run, foobar2000.exe /config
        WinWait, Preferences, , 10
    
    WinActivate, Preferences            
    ControlFocus, SysTreeView321,Preferences
        
    WinGetText, win,Preferences
        IfNotInString, win, Output device
                
            {
            Loop
            {send p
            WinGetText, win,Preferences
            IfInString, win, Replaygain
            break
            }
            }

            Send {right}
                
            Loop
            {send o
            WinGetText, win,Preferences
            IfInString, win, Output device
            break
            }
                
ControlFocus, ComboBox1, Preferences
send, n
send, {home}
send, {Down %1%}
ControlFocus, ComboBox2, Preferences
send, {home}
send, {Down %2%}
if 3=1
{
ControlFocus, button9, Preferences
send, {space}
}
WinClose,Preferences
return


save script in foobar folder or compile it as exe
run script with foo_run
for exemple C:\Program Files\foobar2000\output.ahk 0 0 0
whay is 0 0 0 ?
first 0 is the first device output, if you want the 2nd set 1 , 3th set 2
second 0 is output data, 0 =8bit 1=16bit 2=24bit 3=32bit
3th is dither 0=off 1=on
for exemple if you whant the3th device output at 16bit dither on set path in foo_run as:
C:\Program Files\foobar2000\output.ahk 2 1 1

if someone want a exe file email me
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.