From 37489b1f97ecd1a2d72106b497f9c7cda92a48c0 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 8 Sep 2008 20:44:22 +0200 Subject: 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! --- src/audioOutputs/audioOutput_alsa.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') 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) -- cgit v1.2.3