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

Failed to open PCM or Master mixer element #68

Open Jayphen opened 12 years ago

Jayphen commented 12 years ago

I get the above error in my logs when I try to play anything via local audio.

[2011-09-19 13:49:11] laudio: Failed to open PCM or Master mixer element [2011-09-19 13:49:11] laudio: Could not open mixer [2011-09-19 13:49:11] player: Could not open local audio [2011-09-19 13:49:11] dacp: Could not start playback

The relevant lines of the audio config object:

    # Audio device name for local audio output
    card = "default"
    # Mixer channel to use for volume control - ALSA/Linux only
    # If not set, PCM will be used if available, otherwise Master.
    # mixer = ""
BasvanH commented 12 years ago

laudio is unable to determen your mixer name of the audio output. Find it with command "amixer". and check what the output near "Simple mixer control 'Speaker',0" ...

Then in your audio config part of daapd put in: mixer = "Speaker" //or a other mixer name from the amixer