From 4f51fe6574a7d46ddb95bb85e1053e86c2fb805a Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Sat, 20 Sep 2008 00:30:48 +0000 Subject: pd 0.42-0 test 05 svn path=/trunk/; revision=10301 --- pd/src/s_audio_alsamm.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'pd/src/s_audio_alsamm.c') diff --git a/pd/src/s_audio_alsamm.c b/pd/src/s_audio_alsamm.c index 66255932..3bc4b369 100644 --- a/pd/src/s_audio_alsamm.c +++ b/pd/src/s_audio_alsamm.c @@ -748,21 +748,6 @@ static int set_swparams(snd_pcm_t *handle, snd_pcm_sw_params_t *swparams, int pl if(sys_verbose) post("sw_params: set avail_min= %d (was %d)", (int) ps, (int) ops); #endif - - /* ALIGN: align all transfers to 1 sample */ - - snd_pcm_sw_params_get_xfer_align(swparams, &ops); - err = snd_pcm_sw_params_set_xfer_align(handle, swparams, 1); - if (err < 0) { - check_error(err,"Unable to set transfer align for playback"); - return err; - } - snd_pcm_sw_params_get_xfer_align(swparams, &ps); - -#ifdef ALSAMM_DEBUG - if(sys_verbose) - post("sw_params: set xfer_align = %d (was %d)", (int) ps, (int) ops); -#endif /* write the parameters to the playback device */ -- cgit v1.2.1