Hello zw g,

sure you can do this

audio_output {
   name "my output"
   type "winmm"
   device "device name"
}

The most tricky part is device parameter. It could be specified by 
either name that is displayed in control panel or device number.

MPD uses WinMM API which has some limitations on device name (something 
about 30 character). This causes name to be truncated. Thus if you have 
multiple same sound cards it would be impossible to choose one of them. 
You can use device number which is simple device index starting from 0.
You'll need to find out device number for each sound card.

10.05.2012 8:56, zw g написал:
> Dear List,
>
>
> If i have more than one sound cards in my PC *running Windows 7
> professional.*
> How can i enable MPD to use them as separated audio channel?
>
>
> For example, if i have four sound cards, can i configure MPD and
> mpd.conf and launch it like this:
>
> ./mpd.exe ./mpd.conf.6600    # For playing music
> ./mpd.exe ./mpd.conf.6601    # For playing vocals  (Modify the port
> value from 6600 to 6601 inside mpd.conf)
> ./mpd.exe ./mpd.conf.6602    # For playing effects  (Modify the port
> value from 6600 to 6602 inside mpd.conf)
> ./mpd.exe ./mpd.conf.6603    # For playing others   (Modify the port
> value from 6600 to 6603 inside mpd.conf)
> ...
>
> Is it possible to configure MPD like what i want *on Windows platform?*
> Each MPD instance corresponding to one sound card.
>
> Thanks in advance.
>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to