I have found a sample audio capture program from the web, but it doesnt
seem to capture the output from aplay. The sample prograqm is as below,
Then all the hardware configurations;
Then the snd_pcm_readi();
1. I have run this program as "./snd_capture default", the program
waits for sound data.
2. I have run "aplay -D default phone.wav", but this data is not captured by the program in 1.
Any help will be appreciated.