Re: How to redirect audio to a stream (e.g. as input for mpd)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Frederick, dear Jerome,

Thank you for the valuable input. It contained the right buzz words to enable me to find the solution in the internet [see 1].
Indeed, pulsaudio provides a usable sink and is already running. I did not install/modify anything in my system.

with the command:
 pacmd list-sources | grep name
I get my device name to use: alsa_output.pci-0000_00_03.0.hdmi-stereo.monitor

This is used by a streaming software, for now I followed Dimitry's example and used VLC:
cvlc -vvv pulse://alsa_output.pci-0000_00_03.0.hdmi-stereo.monitor --sout '#transcode{acodec=mpga,ab=128,channels=2}:standard{access=http,dst=localhost:8005/spotify.mp3}'

My MPD plays back the stream from http://localhost:8005/spotify.mp3
On my setup I experience a delay of ~2seconds between an action at spotify app and heard speaker output. This is OK for me, because all four zone outputs are in perfect sync and will be like this. 

CU
Jürgen

[1] https://sandalov.org/blog/1441/





_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux