On Mon, 04 Oct 2010, Jasper Lievisse Adriaanse wrote: > On Mon, Oct 04, 2010 at 10:35:11AM +0200, David Coppa wrote: > > 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 > No, please put that blurb in the mpd.conf patch, instead of poluting MESSAGE.
What about this? ciao -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 11:40:06 -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: patches/patch-doc_mpdconf_example =================================================================== RCS file: /cvs/ports/audio/mpd/patches/patch-doc_mpdconf_example,v retrieving revision 1.6 diff -u -p -r1.6 patch-doc_mpdconf_example --- patches/patch-doc_mpdconf_example 12 Jan 2010 18:58:26 -0000 1.6 +++ patches/patch-doc_mpdconf_example 4 Oct 2010 11:40:06 -0000 @@ -1,6 +1,6 @@ $OpenBSD: patch-doc_mpdconf_example,v 1.6 2010/01/12 18:58:26 wcmaier Exp $ ---- doc/mpdconf.example.orig Wed Nov 18 20:47:54 2009 -+++ doc/mpdconf.example Thu Dec 17 16:13:38 2009 +--- doc/mpdconf.example.orig Wed Jul 21 02:42:12 2010 ++++ doc/mpdconf.example Mon Oct 4 13:38:28 2010 @@ -10,14 +10,14 @@ # be disabled and audio files will only be accepted over ipc socket (using # file:// protocol) or streaming files over an accepted protocol. @@ -69,7 +69,7 @@ $OpenBSD: patch-doc_mpdconf_example,v 1. # This setting is the TCP port that is desired for the daemon to get assigned # to. # -@@ -257,6 +259,13 @@ input { +@@ -257,9 +259,20 @@ input { # name "My Null Output" #} # @@ -83,7 +83,14 @@ $OpenBSD: patch-doc_mpdconf_example,v 1. # This setting will change all decoded audio to be converted to the specified # format before being passed to the audio outputs. By default, this setting is # disabled. -@@ -290,7 +299,7 @@ input { ++# If mpd skips a lot during playback, adjust this setting to reflect the ++# sound card's sampling rate. ++# For example: ++# audio_output_format "48000:16:2" + # + #audio_output_format "44100:16:2" + # +@@ -290,7 +303,7 @@ input { # all controls, even if the mixer is not supported by the device and will not # affect any other sound producing applications. #