[Resolved] Sound card selection in VLC main form

Feature requests for VLC.
ubick
New Cone
New Cone
Posts: 2
Joined: 22 Mar 2012 08:54

[Resolved] Sound card selection in VLC main form

Postby ubick » 22 Mar 2012 21:47

Hi,

On my computer, I have 2 soundcards, one for my hearphone, the other for my speakers. I often change from one to other depending if I want to share my sound with other or not. It's not so "pratical" (I mean: easy to use) to go in settings menu, select audio item and then select the sound card I want. Then I need to restart VLC... (I never see a software able to change output soundcard without it, so I guess it comes with windows).

I'd like to be able to choose which sound card I use in VLC main form, something like a combo box listing different sound cards detected, that, when change, ask confirmation and then restart VLC on his own.
I didn't found the way to have that actually. Did I miss something like this ?

If I didn't miss it, maybe I could do it. (I'm programmer, not use to language C but I can learn) But I don't know anything about how VLC works internally... So here's some questions:
An addon/plugin could do it ?
Or I need to modify main program to achieve it ?

If I need to make it, I'll surely have other questions later but I'll start reading documentation available...

Anway, big thank for this great software.
Ubick

PS: I'm not an english speaking man, so please, fogive my language mistake ^^
Last edited by ubick on 24 Mar 2012 12:48, edited 1 time in total.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Sound card selection in VLC main form

Postby VLC_help » 23 Mar 2012 19:22

It would be easier to create .bat files or shortcuts that start VLC with chosen soundcard.

Code: Select all

--directx-audio-device-name={default} Output device Select your audio output device
or

Code: Select all

--waveout-audio-device={wavemapper} Select Audio Device Select special Audio device, or let windows decide (default), change needs VLC restart to apply.

ubick
New Cone
New Cone
Posts: 2
Joined: 22 Mar 2012 08:54

Re: Sound card selection in VLC main form

Postby ubick » 24 Mar 2012 12:47

How could I miss this possibility !?!
Thanks for the idea ! Sure, it's an easier way to achieve it than entering inside VLC code... ;-)

But, I don't see people without some basics in computer knowledge creating .bat files for it whereas the combobox idea could be used by anyone.

Anyway, thanks to you, now I can choose sound card at VLC start.

meameamea
New Cone
New Cone
Posts: 5
Joined: 06 Jan 2013 20:46

Re: [Resolved] Sound card selection in VLC main form

Postby meameamea » 06 Jan 2013 21:13

--directx-audio-device seems to be the correct one. (not --directx-audio-device-name. Using 2.05 on Win7-64)

I just jused the line from the vlcrc from my user dir and added -- to use it as a command line parameter (+ " " around the device name)

The vlcrc should contain the current output device. And after changing it manually in the graphic user interface to my desired sound device it listed the correct name for the device to use in command line or shortcuts.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 21 guests