diff options
author | Miller Puckette <millerpuckette@users.sourceforge.net> | 2008-09-20 00:30:48 +0000 |
---|---|---|
committer | Miller Puckette <millerpuckette@users.sourceforge.net> | 2008-09-20 00:30:48 +0000 |
commit | 4f51fe6574a7d46ddb95bb85e1053e86c2fb805a (patch) | |
tree | 79dbdbd418f6755bd22ee5437e56f897bcab4ffc /pd/src/s_audio_alsamm.c | |
parent | 59c8e59dce8fc86ba4d07e91984c6a3dd43bc73e (diff) |
pd 0.42-0 test 05
svn path=/trunk/; revision=10301
Diffstat (limited to 'pd/src/s_audio_alsamm.c')
-rw-r--r-- | pd/src/s_audio_alsamm.c | 15 |
1 files changed, 0 insertions, 15 deletions
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 */ |