Hi Steve, On Wed, 2002-04-10 at 20:06, Steve Kranz wrote: [snip] > So, with this said, why would anyone want to > implement this example using the buffer streaming > interface with the extra overhead/complication of > setting up the input and output buffers, mmap, etc. > > I think I must be missing something. Can someone > please clarify? Let's say the driver will accept 16 buffers at once in the mmap()'ed buffer. After these 16, I suddenly switch virtual console so the app can't write frames for, say, 1/10th second. This means, at a rate of 25 fps, that I lose 3 frames if I would not use buffers. With buffers, I have some kind of 'backup' for these cases. This is basically just the 'why would I use a buffer' question. Ronald -- - .-. - /V\ | Ronald Bultje <rbultje@xxxxxxxxxxxxxxxxxxx> - // \\ | Running: Linux 2.4.18-XFS and OpenBSD 3.0 - /( )\ | http://ronald.bitfreak.net/ - ^^-^^