summaryrefslogtreecommitdiffstats
path: root/libao2/ao_alsa.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-28 18:26:12 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-28 18:26:12 +0000
commita91702125c720d92092c2aedab23d5fc6a6d6da8 (patch)
tree10dbdd8035cf6aef441140ddfba4d79c629bb5fc /libao2/ao_alsa.c
parent2817539ee688a94978fb6fe2ad17630a4e6e433e (diff)
downloadmpv-a91702125c720d92092c2aedab23d5fc6a6d6da8.tar.bz2
mpv-a91702125c720d92092c2aedab23d5fc6a6d6da8.tar.xz
Explain why we still disable the ALSA resampler even though it is probably
actually working nowadays. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30452 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2/ao_alsa.c')
-rw-r--r--libao2/ao_alsa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libao2/ao_alsa.c b/libao2/ao_alsa.c
index dd99d348b6..57f0bd07cb 100644
--- a/libao2/ao_alsa.c
+++ b/libao2/ao_alsa.c
@@ -542,7 +542,8 @@ static int init(int rate_hz, int channels, int format, int flags)
}
/* workaround for buggy rate plugin (should be fixed in ALSA 1.0.11)
- prefer our own resampler */
+ prefer our own resampler, since that allows users to choose the resampler,
+ even per file if desired */
#if SND_LIB_VERSION >= 0x010009
if ((err = snd_pcm_hw_params_set_rate_resample(alsa_handler, alsa_hwparams,
0)) < 0)