Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

10
  • I think you should look into pulseaudio. But I might be wrong here Commented May 2, 2014 at 18:49
  • 4
    I have looked into pulseaudio. My experience was that it basically didn't work. Commented May 2, 2014 at 18:50
  • After further investigation (and a second attempt with pulseaudio), I think that the problem is that this kind of feature requires shared access to the sound card memory and/or mmap support. The RasPi I2S driver doesn't support this. I can't really confirm this, as there is no particularly useful debugging info either from ALSA or PulseAudio - in general, everything works until you try to engage multiple sound sources. I am uncertain whether this will be fixed in the RasPi kernels or not, but trying to fix it would time more time than I'm willing to invest. Commented May 7, 2014 at 12:46
  • I can only suggest trying to get pulseaudio working, as it is capable of doing exactly what you wish to do (including extending to other soundcards on the network). Commented May 17, 2014 at 16:32
  • As I mentioned above, I did get Pulseaudio working. It works fine on each individual device, and then fails when you attempt to create a stream to multiple outputs at once. I believe a lack of memory mapping in the RasPi I2S driver to be the culprit, but further debugging would essentially involve learning the internal structure of ALSA and/or Pulseaudio, which I do not have the time or inclination to do. Commented May 17, 2014 at 20:17