Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Discarding the first few frames inside the kernel
@ 2016-01-18 18:21 Ankhit Vivekananda
  2016-01-19  2:22 ` Takashi Sakamoto
  0 siblings, 1 reply; 5+ messages in thread
From: Ankhit Vivekananda @ 2016-01-18 18:21 UTC (permalink / raw)
  To: alsa-devel

Hello All,

I am interfacing the ICS43432 MEMS microphone with McBSP interface. The
data sheet of the ICS43432 microphone shows that it takes about 4.5ms
(16kHz sampling rate) for startup. Because of this, I hear a transient
noise at the beginning of every stream. Is there in any way I can discard
the frames inside the kernel space itself before reading the samples using
snd_pcm_readi() call?

I was able to mute the first few frames after the readi() call, but would
want to know if I could do it before the readi() call itself inside the
kernel space.

Appreciate any help!

Thanks,
Ankhit

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

end of thread, other threads:[~2016-01-21 16:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-18 18:21 Discarding the first few frames inside the kernel Ankhit Vivekananda
2016-01-19  2:22 ` Takashi Sakamoto
2016-01-20 17:24   ` Ankhit Vivekananda
2016-01-21  2:18     ` Takashi Sakamoto
2016-01-21 16:28       ` Ankhit Vivekananda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox