diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-08 20:44:22 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-08 20:44:22 +0200 |
commit | 37489b1f97ecd1a2d72106b497f9c7cda92a48c0 (patch) | |
tree | f111a999dba1a11d0ac7bc07060a2403b8b192db /src | |
parent | d0ab3a31ac90f05be34877ce70ed07afdf00e829 (diff) | |
download | mpd-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')
-rw-r--r-- | src/audioOutputs/audioOutput_alsa.c | 5 |
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) |