Re: Stale data interleaved in capture driver

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

 



Rob Nertney wrote:
> an IRQ every 32Bytes (half-frame)
>
> I wrote my handler as described in the high-frequency interrupts described
> here:
> http://www.alsa-project.org/~tiwai/writing-an-alsa-driver/ch05s07.html

This does not make sense; you need a timer only when you do not have
a proper interrupt.  Why do you think you need to do it this way?

> My data is valid until 1/4 buffer full, then it interleaves stale (lower
> numbers) in, replacing the desired numbers. It's sporadic, and it appears
> to repeat, as if ALSA never returns to the 0-offset of dma_area.

ALSA just reports what your driver tells it; this sounds like a bug
in your driver or in the hardware.


Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux