Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: refactoring
> >Well, unlike the application the kernel driver can stop the DMA in case
> >there are no more empty buffers which are to fill with data ...
>
> Data would get lost in both cases, not?
Yes.
The difference is that if the driver stops the DMA it can:
- notify the app about that (both dvb + alsa return some error code,
with v4l2 you can see that by checking sequence numbers or
timestamps) and.
- you don't have the risc that the data changes while you are
processing it because the ring buffer overflows ...
Gerd
--
return -ENOSIG;
Home |
Main Index |
Thread Index