5

My Windows 7 computer is sometimes used for playing notifications. These notifications are scheduled using the standard system scheduler ("Schedule tasks" command in the control panel). A typical task looks like the following:

Name: Get up  
Program/script: "C:\Program Files (x86)\Winamp\winamp.exe"  
Arguments: /CONFIG="D:\Fun\music\morning2010.winamp.ini" "D:\Fun\music\morning2010.m3u"  
"Wake the computer to run this task": on

I want all such notifications to be played by the speakers ("Speakers\Realtek High Definition Audio" in the "Sounds" window from the Control Panel) rather than by any other device. However now they are played by the default playback device of the system, which changes from time to time. In order to fix that I need to do one of the following:

  1. Change a playback device from the command line. (then I can run it before calling the Winamp).
  2. Specify a playback device in the command line for Winamp.
  3. Specify a playback device in "Winamp.ini".
  4. Forget about Winamp, choose another player, for which this task is simple.
  5. There might be some ideas I have missed.

Unfortunately I haven't found, how to do any of that. For 3. I have found the following lines in my winamp.ini, which might be relevant to the question, but I haven't found any documentation:

[out_ds]
cfg_dev2=0000000000000000000000000000000000
[out_wave]
cfg_dev=0

I'm afraid that some scripting like AutoIt wouldn't help difference since tasks are often running just after waking up the computer, and therefore they have no window appearing on the screen (actually, music is playing while Windows shows the login screen), but I've never used it and my thoughts on that might be a mistake.

I hope that my task is simple and I have missed some simple solutions you might know.

2 Answers 2

9

In Winamp (my version is 5.551) you can choose the sound device as follows:

Options -> Preferences -> Plug-ins -> Output -> choose "Nullsoft DirectSound Output [out_ds.dll]", then "configure" below.

Then you can choose the device you wish to use for playback.

Please note that restarting Winamp is required to make this active.

2
  • 1
    Yes, it seems to work. The English menu path is the following "Options -> Preferences -> Plug-ins -> Output". Thank you.
    – fiktor
    Commented Nov 24, 2010 at 8:35
  • O.P. is asking how to set this so they don't have to keep changing it, which is nontrivial....., not how to just change it, which is trivial and right there. They're not asking you to read the winamp options menu. They're well aware of that and are trying to avoid that.
    – ClioCJS
    Commented Apr 24, 2023 at 9:58
-1

ChatGPT said you could add "/device=2" at the command line to automatically select the 2nd device, and I'm just here to report that is false.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .