<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I tried the alsa_loopback example:</div><div class=""><br class=""></div><div style="margin: 0px;" class="">alsa_loopback hw:0,0 hw:0,0 48000 32 256</div><div style="margin: 0px;" class=""><div style="margin: 0px;" class="">Can't open ALSA device</div></div><div style="margin: 0px;" class="">which is weird, because i can open the device just fine, and so can jackā€¦</div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On Feb 4, 2016, at 12:41 , Harry van Haaren <<a href="mailto:harryhaaren@gmail.com" class="">harryhaaren@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">On Thu, Feb 4, 2016 at 11:22 AM, Fokke de Jong <<a href="mailto:fokkedejong@gmail.com" class="">fokkedejong@gmail.com</a>> wrote:<br class="">> So now i am a but confused how to get the same kind of latency in my own code (using alsa directly rather than through jack)<br class=""><br class="">Are you coding ALSA yourself, or using a helper library? I can recommend Fons' zita-alsa-pcmi, latest version from:<br class=""><a href="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/" class="">http://kokkinizita.linuxaudio.org/linuxaudio/downloads/</a><br class=""><br class="">Its a lightweight GPLv3 wrapper class around the ALSA API to make it easier to use for real-time audio applications, and I have found it a pleasure to work with.<br class=""><br class="">> How can i make alsa not wait until the entire buffer is full?<br class=""> <br class="">I don't know the answer, because I used the zita-alsa-pcmi and just wrote audio into the buffers :)<br class=""><br class="">Cheers, -Harry<br class=""><br class="">--<br class=""><br class=""><a href="http://www.openavproductions.com/" class="">http://www.openavproductions.com</a></div>
</div></blockquote></div><br class=""></body></html>