jasonmc / forked-daapd

A re-write of the firefly media server (mt-daapd). It's released under GPLv2+. Please note that this git repository is a mirror of the official one at git://git.debian.org/~jblache/forked-daapd.git
http://blog.technologeek.org/2009/06/12/217
GNU General Public License v2.0
328 stars 45 forks source link

Requirement for local audio output for Apple Remote/Airtunes #17

Open peaslaker opened 14 years ago

peaslaker commented 14 years ago

If the server lacks audio hardware, forked-daapd will fail on all requests to play tracks issued over Apple Remote, even if valid Airtunes hardware is available.

Workaround is to configure snd-dummy as the default sound device on the server.

peaslaker commented 14 years ago

Got it working with snd-dummy. There is also a specific dependency on a mixer control element named "PCM".

This can be worked around by adding the following to /etc/asound.conf or to a user-specific .asoundrc:

pcm.dummy {
          type hw
          card 0
       }

ctl.dummy {
          type hw
          card 0
       }

pcm.!default {
  type plug
  slave.pcm "softvol"
  }

pcm.softvol {
    type softvol
    slave.pcm "pcm.dummy"
    control {
        name "PCM"
    card 0
    }
}
peterjc commented 14 years ago

Why not report this to the project author, Julien Blach, instead of just leaving a comment on Jason's github mirror? See: http://blog.technologeek.org/category/hacks/forked-daapd