Alexander E. Patrakov 32d111a9f0 V4L/DVB (6506): saa7134-alsa: Fix mmap support
Trent Piepho wrote:
> I do not think the saa7134-alsa driver supports mmap.  The cx88-alsa driver
> also claimed to support mmap, but it never worked until I fixed it.  It's
> pretty clear that the code in saa7134-alsa was based on the same code as
> cx88-alsa, so it's likely it has the same bug.

You are right. The patch below (based on your cx88 patch, but I don't
really understand it) fixes mmap support in saa7134-alsa for me.
Recording via mmap (arecord -M -f S16_LE -c 2 -r 32000 -D hw:1) didn't
work at all before, works now, tested for at least 20 minutes (but,
unfortunately, with one overrun at least 0.719 ms long).

Signed-off-by: Alexander E. Patrakov <patrakov@ums.usu.ru>
Acked-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-11-04 21:41:26 -02:00
..
2007-10-17 08:42:52 -07:00
2007-11-02 08:47:06 +01:00
2007-10-29 11:33:05 +01:00
2007-10-29 17:27:50 -04:00
2007-10-16 09:43:09 -07:00
2007-10-19 11:53:42 -07:00
2007-10-20 01:34:40 +02:00
2007-10-20 01:55:58 +02:00
2007-10-25 15:02:50 +10:00
2007-11-02 08:47:25 +01:00
2007-10-20 01:34:40 +02:00
2007-10-25 17:43:46 -04:00
2007-11-02 08:47:06 +01:00
2007-10-23 09:49:31 +02:00
2007-10-30 08:06:55 -07:00
2007-10-19 11:53:41 -07:00
2007-10-19 11:53:41 -07:00
2007-10-20 15:04:06 -07:00
2007-11-02 08:47:06 +01:00
2007-10-30 09:56:40 +09:00
2007-10-29 07:41:33 -07:00
2007-10-16 21:04:11 -04:00
2007-10-17 08:42:57 -07:00
2007-11-02 08:47:06 +01:00
2007-10-23 15:49:54 +10:00