Since I've spent quite a lot of time to figure out why mpd was 
skipping so badly on my X41, I'd like to have the following diff 
committed (for posterity ;)). 
That was because auich(4) has a sampling rate of 48000Hz instead 
of the default 44100 most cards have (infact I run aucat with 
"-r 48000"). Comments or suggestions are welcome... 

Cheers, 
dav

Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/mpd/Makefile,v
retrieving revision 1.24
diff -u -p -r1.24 Makefile
--- Makefile    23 Aug 2010 14:46:55 -0000      1.24
+++ Makefile    4 Oct 2010 08:22:53 -0000
@@ -2,6 +2,7 @@
 
 COMMENT =              Music Player Daemon
 DISTNAME =             mpd-0.15.12
+REVISION =             0
 CATEGORIES =           audio
 HOMEPAGE =             http://www.musicpd.org/
 MAINTAINER =           Tobias Ulmer <tobi...@tmux.org>
Index: pkg/MESSAGE
===================================================================
RCS file: /cvs/ports/audio/mpd/pkg/MESSAGE,v
retrieving revision 1.4
diff -u -p -r1.4 MESSAGE
--- pkg/MESSAGE 28 Oct 2008 15:21:49 -0000      1.4
+++ pkg/MESSAGE 4 Oct 2010 08:22:53 -0000
@@ -5,3 +5,12 @@ add the following to /etc/rc.local:
 if [ -x ${PREFIX}/sbin/mpd ]; then
         echo -n ' mpd';       ${PREFIX}/sbin/mpd
 fi
+
+If mpd skips a lot during playback, uncomment the audio_output_format 
+line in ${SYSCONFDIR}/mpd.conf and adjust it to reflect the sound card's 
+sampling rate. For example: 
+
+audio_output_format "48000:16:2"
+
+See documentation for the audio_output_format parameter for more 
+details.

Reply via email to