[LAD] Jack ring buffer (again)

From: Will Godfrey <willgodfrey@email-addr-hidden>
Date: Sat May 14 2016 - 10:18:01 EEST

I'm not sure if this has been covered before...

While I understand that generally you can't be certain of writing or reading
all bytes in a block of data in one call, what about the specific case where
you *always* read and write the same number of bytes and the buffer is an exact
multiple of this size.

e.g data block is 5 bytes & buffer size is 75 bytes.

No I'm not intending to use such an example, I just want to cover worst case :)

If that doesn't work, what about the case when you are always working in
powers of 2?

e.g data block is 16 bytes & buffer size is 1024 bytes.

-- 
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sat May 14 12:15:01 2016

This archive was generated by hypermail 2.1.8 : Sat May 14 2016 - 12:15:02 EEST