Thread: mpd and pulseaudio = no sound when playing in mpd
just title says, when use mpd pulseaudio, no sound clients appear playing (ncmpcpp , gmpc). other players such vlc or mplayer work fine.
if go under mixer, "no application playing or recording audio" under "applications" tab when playing through mpd. in contrast, when i'm using mplayer or vlc, both show in tab. behaves though pulse not configured work mpd.
here config (edited out commented line brevity):
pulseaudio running mpd:code:$ cat /etc/mpd.conf | sed '/#/d' music_directory "/media/data/dm/genre" playlist_directory "/var/lib/mpd/playlists" db_file "/var/lib/mpd/mpd.db" log_file "/var/log/mpd/mpd.log" pid_file "/var/run/mpd/mpd.pid" state_file "/var/lib/mpd/mpdstate" user "mpd" log_level "verbose" gapless_mp3_playback "yes" zeroconf_enabled "yes" zeroconf_name "music player" input { plugin "curl" } audio_output { type "pulse" name "my pulse output" } mixer_type "software" audio_buffer_size "35000" buffer_before_play "5%"
i switched loglevel verbose, deleted existing log, started mpd fresh log written , tried play tune. no audio output appeared playing in client. here log.code:$ ps aux | grep mpd mpd 6503 0.4 0.0 222952 4840 ? s<sl 15:26 0:00 /usr/bin/pulseaudio --start --log-target=syslog mpd 6507 0.0 0.0 102992 3228 ? s 15:26 0:00 /usr/lib/pulse/gconf-helper
code:# cat /var/log/mpd/mpd.log aug 14 15:22 : avahi: initializing interface aug 14 15:22 : avahi: client changed state 101 aug 14 15:22 : avahi: client connecting aug 14 15:22 : state_file: loading state file /var/lib/mpd/mpdstate aug 14 15:22 : database: song: not_so_hard_stuff/disturbed-the sickness-2000-flac/01_voices.flac aug 14 15:22 : client: [0] opened [::1]:57866 aug 14 15:22 : client: [0] process command "status" aug 14 15:22 : client: [0] command returned 0 aug 14 15:22 : client: [0] process command "idle" aug 14 15:22 : client: [0] command returned 1 aug 14 15:22 : client: [0] process command "plchanges "0"" aug 14 15:22 : client: [0] command returned 0 aug 14 15:22 : client: [0] process command "idle" aug 14 15:22 : client: [0] command returned 1 aug 14 15:22 : client: [0] process command "idle" aug 14 15:22 : client: [0] command returned 1 aug 14 15:22 : client: [0] process command "status" aug 14 15:22 : client: [0] command returned 0 aug 14 15:22 : client: [0] process command "idle" aug 14 15:22 : client: [0] command returned 1 aug 14 15:22 : client: [0] process command "play" aug 14 15:22 : playlist: play 0:"not_so_hard_stuff/disturbed-the sickness-2000-flac/01_voices.flac" aug 14 15:22 : decoder_thread: clearing mixramp tags aug 14 15:22 : decoder_control: mixramp_start = null aug 14 15:22 : decoder_control: mixramp_prev_end = null aug 14 15:22 : client: [0] command returned 0 aug 14 15:22 : client: [0] process command "status" aug 14 15:22 : client: [0] command returned 0 aug 14 15:22 : client: [0] process command "currentsong" aug 14 15:22 : client: [0] command returned 0 aug 14 15:22 : client: [0] process command "idle" aug 14 15:22 : client: [0] command returned 1 aug 14 15:22 : decoder: audio_format=44100:16:2, seekable=true aug 14 15:22 : output: opened plugin=pulse name="my pulse output" audio_format=44100:16:2 aug 14 15:22 : client: [0] process command "status" aug 14 15:22 : client: [0] command returned 0 aug 14 15:22 : client: [0] process command "idle" aug 14 15:22 : client: [0] command returned 1 aug 14 15:22 : client: [0] process command "status" aug 14 15:22 : client: [0] command returned 0 aug 14 15:22 : client: [0] process command "idle" aug 14 15:22 : client: [0] command returned 1 aug 14 15:22 : client: [0] process command "status" aug 14 15:22 : client: [0] command returned 0 aug 14 15:22 : client: [0] process command "idle" aug 14 15:22 : client: [0] command returned 1 aug 14 15:22 : client: [0] process command "status" aug 14 15:22 : client: [0] command returned 0 aug 14 15:22 : client: [0] process command "idle" aug 14 15:22 : client: [0] command returned 1 aug 14 15:22 : client: [0] process command "status" aug 14 15:22 : client: [0] command returned 0 aug 14 15:22 : client: [0] process command "idle" aug 14 15:22 : client: [0] command returned 1 aug 14 15:22 : client: [0] process command "status" aug 14 15:22 : client: [0] command returned 0 aug 14 15:22 : client: [0] process command "idle" aug 14 15:22 : client: [0] command returned 1 aug 14 15:23 : client: [0] process command "status" aug 14 15:23 : client: [0] command returned 0 aug 14 15:23 : client: [0] process command "idle" aug 14 15:23 : client: [0] command returned 1 aug 14 15:23 : client: [0] process command "status" aug 14 15:23 : client: [0] command returned 0 aug 14 15:23 : client: [0] process command "idle" aug 14 15:23 : client: [0] command returned 1 aug 14 15:23 : client: [0] process command "status" aug 14 15:23 : client: [0] command returned 0 aug 14 15:23 : client: [0] process command "idle" aug 14 15:23 : client: [0] command returned 1 aug 14 15:23 : client: [0] process command "status" aug 14 15:23 : client: [0] command returned 0 aug 14 15:23 : client: [0] process command "idle" aug 14 15:23 : client: [0] command returned 1 aug 14 15:23 : client: [0] process command "status" aug 14 15:23 : client: [0] command returned 0 aug 14 15:23 : client: [0] process command "idle" aug 14 15:23 : client: [0] command returned 1 aug 14 15:23 : client: [0] process command "status" aug 14 15:23 : client: [0] command returned 0 aug 14 15:23 : client: [0] process command "idle" aug 14 15:23 : client: [0] command returned 1 aug 14 15:23 : client: [0] process command "status" aug 14 15:23 : client: [0] command returned 0 aug 14 15:23 : client: [0] process command "idle" aug 14 15:23 : client: [0] command returned 1 aug 14 15:23 : client: [0] process command "status" aug 14 15:23 : client: [0] command returned 0 aug 14 15:23 : client: [0] process command "idle" aug 14 15:23 : client: [0] command returned 1 aug 14 15:23 : client: [0] process command "status" aug 14 15:23 : client: [0] command returned 0 aug 14 15:23 : client: [0] process command "idle" aug 14 15:23 : client: [0] command returned 1 aug 14 15:23 : client: [0] process command "clear" aug 14 15:23 : playlist: stop aug 14 15:23 : output: closed plugin=pulse name="my pulse output" aug 14 15:23 : client: [0] command returned 0 aug 14 15:23 : client: [0] process command "status" aug 14 15:23 : client: [0] command returned 0 aug 14 15:23 : client: [0] process command "idle" aug 14 15:23 : client: [0] command returned 1 aug 14 15:23 : client: [0] process command "plchanges "2"" aug 14 15:23 : client: [0] command returned 0 aug 14 15:23 : client: [0] process command "idle" aug 14 15:23 : client: [0] command returned 1 aug 14 15:23 : client: [0] process command "idle" aug 14 15:23 : client: [0] command returned 1 aug 14 15:23 : client: [0] process command "status" aug 14 15:23 : client: [0] command returned 0 aug 14 15:23 : client: [0] process command "idle" aug 14 15:23 : client: [0] command returned 1 aug 14 15:23 : client: [0] closed aug 14 15:23 : state_file: saving state file /var/lib/mpd/mpdstate aug 14 15:23 : avahi: shutting down interface aug 14 15:23 : listen: listen_global_finish called aug 14 15:23 : db_finish took 0.010000 seconds
all need pulseaudio is:
check herecode:audio_output { type "alsa" name "my alsa device" device "hw:0,0" # optional format "44100:16:2" # optional mixer_device "default" # optional # mixer_control "pcm" # optional mixer_control "master" mixer_index "0" # optional mixer_type "software" } audio_output { type "pulse" name "my mpd pulseaudio output" }
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [all variants] mpd and pulseaudio = no sound when playing in mpd
Ubuntu
Comments
Post a Comment