Advice on snd_pcm_writei sizes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If my software naturally produces samples in 64-frame chunks, but the
device is set up to have 256-frame periods, is there any advantage to
accumulating four chunks in my own buffer and writing entire periods,
versus writing each chunk separately and expecting to be blocked every
fourth time? Alternatively, would the extra overhead of reducing the
period size to 64 (96KHz stereo 32-bit LE on a Raspberry Pi 3) be
significant?

-- 

Ciao,               Paul D. DeRocco
Paul                mailto:pderocco@xxxxxxxxxxxxx


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux