Re: [Musicpd-dev-team] more than 2 channels?

2011-05-09 Thread Max Kellermann
On 2011/05/09 11:08, Marc Lavallée m...@hacklava.net wrote:
 If it is already possible, how to play a 4 channels wav file through a
 jack connection? Is there something to configure on the MPD side? When I
 tried, MPD was creating a 2 channels connection at play time, not a
 4 channels connection.

Configure the desired number of JACK source_ports in mpd.conf.  By
default, there are two.

 Also: how to make a permanent jack connection?
 When pausing or stopping playback, the MPD jack client disappear.

That is because the JACK protocol forces all clients to generate PCM
samples, even if they do not want to play currently.  There is no way
to pause a JACK connection.  Idle clients must generate silence
samples all the time.  That JACK design flaw needlessly wastes a lot
of CPU cycles, and on laptops, it wastes battery power.  MPD does not
do that by default.

You can use the option always_on to force MPD to do it.

Max

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] more than 2 channels?

2011-05-08 Thread Max Kellermann
On 2011/05/02 05:25, Marc Lavallée m...@hacklava.net wrote:
 Hello MPD dev team.
 
 I want to play music files with more than 2 channels, with typically 4,
 6 or 8 channels (or even more). Is it already possible with MPD? If not,
 where in the code should I look for, so I can modify MPD to play sound
 files with multiple channels?

It is possible.

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team