c_c <cchan...@yahoo.com> writes:
> stereoout.state before the program quits. Otherwise, I get a kernel oops (on
> the tracker - I think).
>   So, here's the question that begs asking. 
>   What's the best way to read data from the mic for a program like this?

Help us fix the bug :-)

As a workaround you can write a wrapper program that

1) opens alsa device (don't use legacy /dev/dsp)
2) only after that switches to voice-recording.state
3) streams data to stdout

and on reception of SIGINT first

4) switches back to streoout.state
5) closes alsa device

This can be done as a shell script that uses arecord.


_______________________________________________
devel mailing list
devel@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/devel

Reply via email to