You are not logged in.

#1 2015-03-24 12:10:36

iomartin
Member
Registered: 2013-10-10
Posts: 8

MPD sound issues (alsa)

Hello,

I have been using MPD + ncmpcpp for about a year now, mostly without problems. I have both alsa and http audio output configured.

Around 1 month ago, I noticed that alsa output was no longer working. Actually, when I've just turned the machine on, it works. After I've played something else (a video on VLC or something on the browser, for example), it stops working. HTTP keeps working. All other alsa sound, from other programs, still work.

I'm not really sure where to start looking for the problem. This is my mpd.conf

user "mpd"
pid_file "/run/mpd/mpd.pid"
db_file "/var/lib/mpd/mpd.db"
state_file "/var/lib/mpd/mpdstate"
playlist_directory "/home/martin/.mpd/playlists"
music_directory "/home/martin/Music"

# always start mpd in the paused status
restore_paused "yes"

decoder {
    plugin "mpg123"
    enabled "yes"
}

# HTTP output
audio_output {
    type "httpd"
    name  "My HTTP Stream"
    encoder  "vorbis"  # optional, vorbis or lame
    port  "8000"
    quality  "5.0"   # do not define if bitrate is defined
    format  "44100:16:1"
    max_clients "0"   # optional 0=no limit
}

# Audio card output ("regular" output) 
audio_output {
    type        "alsa"
    name        "My ALSA Device"
}

Offline

#2 2015-03-24 18:56:16

tridus
Member
Registered: 2014-06-26
Posts: 24

Re: MPD sound issues (alsa)

You don't have an mpd log file? You should set one up in order to see what's the problem.

Last edited by tridus (2015-03-24 18:57:36)

Offline

Board footer

Powered by FluxBB