All of lore.kernel.org
 help / color / mirror / Atom feed
* issue  at 44.1 Khz capturing
@ 2009-08-10 10:06 Harsha, Priya
  2009-08-10 10:14 ` James Courtier-Dutton
  2009-08-10 11:51 ` Clemens Ladisch
  0 siblings, 2 replies; 5+ messages in thread
From: Harsha, Priya @ 2009-08-10 10:06 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org

Hi,

I am using arecord for capturing data. When I try to record at 8 or 48 KHz, it's perfectly fine. But when I try to record at 44.1 Khz, there are spikes in the recorded data for every buffer. When I tried to tap the data captured at the firmware/hardware end, it's smooth but the same data when is checked from the user space after being recorded, it has spikes. On further analysis, looks like for every buffer recorded there is either 1 sample recorded extra or 1 sample dropped. But when I printed out the values passed from the pointer function, they are exactly at the intervals of 5513 bytes.

Can anyone give me any clue as to what is going wrong? I am using indirect_* functions in the driver code. Is there any buffer size round off that is giving this error? Can I handle something in the driver to avoid this?

Thanks,
Harsha.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-10 13:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-10 10:06 issue at 44.1 Khz capturing Harsha, Priya
2009-08-10 10:14 ` James Courtier-Dutton
2009-08-10 11:51 ` Clemens Ladisch
2009-08-10 13:12   ` Harsha, Priya
2009-08-10 13:34     ` Clemens Ladisch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.