diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-08 02:24:01 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-08 02:24:01 -0700 |
commit | 19b92086e66fffe5323c198e320602d38787a4b7 (patch) | |
tree | 024f91a2f21d7f7232271bd62bf8e8ac1dd2c987 /src | |
parent | ee548be22b81f5ff920ae008957b2d7208fb6dac (diff) | |
download | mpd-19b92086e66fffe5323c198e320602d38787a4b7.tar.gz mpd-19b92086e66fffe5323c198e320602d38787a4b7.tar.xz mpd-19b92086e66fffe5323c198e320602d38787a4b7.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 '')
-rw-r--r-- | src/audioOutputs/audioOutput_alsa.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/audioOutputs/audioOutput_alsa.c b/src/audioOutputs/audioOutput_alsa.c index 013dd70cb..9bbe2ea77 100644 --- a/src/audioOutputs/audioOutput_alsa.c +++ b/src/audioOutputs/audioOutput_alsa.c @@ -267,9 +267,6 @@ configure_hw: if ((err = E(snd_pcm_sw_params_set_avail_min, ad->pcmHandle, swparams, alsa_period_size)) < 0) goto error; - if ((err = E(snd_pcm_sw_params_set_xfer_align, ad->pcmHandle, - swparams, 1)) < 0) - goto error; if ((err = E(snd_pcm_sw_params, ad->pcmHandle, swparams)) < 0) goto error; |