<p dir="ltr">ALSA appears to have it but I notice no observable changes in perceived latency.</p>
<div class="gmail_quote">On Oct 7, 2014 6:54 PM, "Miller Puckette" <<a href="mailto:msp@ucsd.edu">msp@ucsd.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I couldn't immediately find anything short of going through each s_audio_*.c<br>
implementation and checking whether the "blocksize" parameter in the open<br>
routine gets used... ugh.<br>
<br>
M<br>
<br>
On Tue, Oct 07, 2014 at 09:14:43PM +0000, Jonathan Wilkes via Pd-list wrote:<br>
> Thanks.<br>
> Is there a quick way to figure out which APIs use it?<br>
> -Jonathan<br>
><br>
><br>
>      On Tuesday, October 7, 2014 5:07 PM, Miller Puckette <<a href="mailto:msp@ucsd.edu">msp@ucsd.edu</a>> wrote:<br>
><br>
><br>
>  Sorry - I had forgotten an important detail - not every API implements<br>
> blocksize.  In cases where either you can't or it would never help anything,<br>
> it's simply left at 64.  (and really, the control shouldn't appear on the<br>
> dialog when it isn't used :)<br>
><br>
> I believe blocksize is most important in windows.<br>
><br>
> cheers<br>
> Miller<br>
><br>
> On Tue, Oct 07, 2014 at 02:15:09PM -0400, Ivica Ico Bukvic wrote:<br>
> > On 10/07/2014 01:41 PM, Miller Puckette wrote:<br>
> > >sys_blksize() reports the block size used by Pd's acheduler (I believe it's<br>
> > >always 64 in valnilla but will be settable someday :)<br>
> > ><br>
> > >the I/O blocksize, which is set in the audio settings dialog, is what<br>
> > >Pd uses to interface with whatever audio API is in use.<br>
> ><br>
> > Thanks for the clarification, Miller. What I am confused by is that when<br>
> > using ALSA and changing blocksize from 64 to 2048, there is no audible<br>
> > difference in the delay, even though it should be profound enough to be<br>
> > preceivable by ear. Is this because ALSA has another internal buffer that<br>
> > essentially supersedes either blocksize, making the final output (near?)<br>
> > identical?<br>
> ><br>
> > Also, response to Jonathan's follow-up question regarding JACK would be<br>
> > appreciated. It seems from looking at the code, JACK does not care about<br>
> > blocksize variable but I could be easily missing something.<br>
> ><br>
> > Best,<br>
> ><br>
> > Ico<br>
> ><br>
> > ><br>
> > >cheers<br>
> > >M<br>
> > ><br>
> > >On Tue, Oct 07, 2014 at 05:30:55PM +0000, Jonathan Wilkes via Pd-list wrote:<br>
> > >>Hi list,    What does the blocksize entry box in audio dialog properties do?  And how does that value relate (if at all) to the value output by sys_getblksize?<br>
> > >>Thanks,Jonathan<br>
> > >>_______________________________________________<br>
> > >><a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> > >>UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
> > ><br>
> > >_______________________________________________<br>
> > ><a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> > >UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
> ><br>
> ><br>
> > --<br>
> > Ivica Ico Bukvic, D.M.A.<br>
> > Associate Professor<br>
> > Computer Music<br>
> > ICAT Senior Fellow<br>
> > DISIS, L2Ork<br>
> > Virginia Tech<br>
> > School of Performing Arts - 0141<br>
> > Blacksburg, VA 24061<br>
> > <a href="tel:%28540%29%20231-6139" value="+15402316139">(540) 231-6139</a><br>
> > <a href="mailto:ico@vt.edu">ico@vt.edu</a><br>
> > <a href="http://www.performingarts.vt.edu" target="_blank">www.performingarts.vt.edu</a><br>
> > <a href="http://disis.music.vt.edu" target="_blank">disis.music.vt.edu</a><br>
> > <a href="http://l2ork.music.vt.edu" target="_blank">l2ork.music.vt.edu</a><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> > UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
><br>
> _______________________________________________<br>
> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
><br>
><br>
><br>
<br>
> _______________________________________________<br>
> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
</blockquote></div>