aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-08 20:44:22 +0200
committerMax Kellermann <max@duempel.org>2008-09-08 20:44:22 +0200
commit37489b1f97ecd1a2d72106b497f9c7cda92a48c0 (patch)
treef111a999dba1a11d0ac7bc07060a2403b8b192db /src/audioOutputs
parentd0ab3a31ac90f05be34877ce70ed07afdf00e829 (diff)
downloadmpd-37489b1f97ecd1a2d72106b497f9c7cda92a48c0.tar.gz
mpd-37489b1f97ecd1a2d72106b497f9c7cda92a48c0.tar.xz
mpd-37489b1f97ecd1a2d72106b497f9c7cda92a48c0.zip
alsa: snd_pcm_sw_params_set_xfer_align is deprecated
Lets not use deprecated functions. It's apparently possible to not care about the sw_params stuff at all!
Diffstat (limited to 'src/audioOutputs')
-rw-r--r--src/audioOutputs/audioOutput_alsa.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/audioOutputs/audioOutput_alsa.c b/src/audioOutputs/audioOutput_alsa.c
index 0172725e0..065bcff39 100644
--- a/src/audioOutputs/audioOutput_alsa.c
+++ b/src/audioOutputs/audioOutput_alsa.c
@@ -281,11 +281,6 @@ configure_hw:
if (err < 0)
goto error;
- cmd = "snd_pcm_sw_params_set_xfer_align";
- err = snd_pcm_sw_params_set_xfer_align(ad->pcmHandle, swparams, 1);
- if (err < 0)
- goto error;
-
cmd = "snd_pcm_sw_params";
err = snd_pcm_sw_params(ad->pcmHandle, swparams);
if (err < 0)