That's my app does:
1.- Open the device for capture
2.- Set the access mode SND_PCM_ACCESS_RW_INTERLEAVED
3.- Set format 16 bits (SND_PCM_FORMAT_S16_LE)
4.- Set channels 2 (stereo)
5.- Set buffer time near 1 second
6.- Set period time near 0.1 seconds
7.- Copy the hardware params to alsa
8.- Set
Hi,How can i
get the timestamp of the frames read with snd_pcm_readi ()
Hi,
I'm developing a Multi-thread app for capturing
audio+video and i have a few questions. The app is based on 3
threads:
- 1 thread for capturing audio using ALSA
lib.
- 1 thread for capturing video using
V4L2.
- 1 thread for saving audio+video into an AVI
file.
Both of capturing