On Sun, Mar 08, 2015 at 01:57:05AM +0100, Christian Weisgerber wrote:
> Since I seem to be the only person using this feature (with the
> possible exception of ratchov@ himself), here's a periodic reminder
> that you can use sndio OVER THE NETWORK.

mpd.conf on the server:

        audio_output {
                type            "pipe"
                        name            "room"
                        command         "aucat -f snd@192.168.17.170,0/0 -i -"
        }
        audio_output {
                type            "pipe"
                        name            "x201"
                        command         "aucat -f snd@192.168.17.168,0/0 -i -"
        }
        audio_output_format "48000:16:2"


rc.conf.local on the output boxes:

        sndio_flags="-U 0 -L -"


Bonus feature: turn both of them on and the slight lack of sync between
outputs turns into reverb which makes your house seem 10x larger (then
turn one of them off because they will keep drifting apart and it
becomes really annoying). Maybe different buffer sizes will fix this,
but I never bothered to check.

Cheers
Zé

-- 

Reply via email to