[Alsa-user] reg the snd_pcm_hw_params_set_access function.

2011-01-24 Thread Sakthi Subramanian
Hi, I have written a small application to record sample.. 1. When i set snd_pcm_hw_params_set_access to SND_PCM_ACCESS_RW_INTERLEAVED, and snd_pcm_hw_params_get_access i got snd_pcm_hw_params_get_access. 2. When i set the buffer size near it is always setting at 0. fails at snd_pcm_hw_params (capt

[Alsa-user] Helo needed on implementing the call back- ALSA record...

2011-01-12 Thread Sakthi Subramanian
Hi All I am trying to implement test code for recording using the callback. The Mic is USB based. With the simple application, continous recording (while loop ) it is fine. Now i am trying to implement the recording using the callback, Here is the code, 1. With this i see only once the callback is

[Alsa-user] Help needed on asynchornous record using ALSA.

2011-01-12 Thread Sakthi Subramanian
Hi I would like to understand r read how to capture data from the MIC, asyncronously. (interrupt driven or polling).. 1. What are the methods available? 2. Please give me a link which contains the sample code. Thanks in advance for the help.. Sakthi S G

[Alsa-user] Info needed.

2011-01-05 Thread Sakthi Subramanian
Hi, I am using the arecord utility to record the samples. How to get the PCM audio samples instead of having as WAV file from ALSA.? Regards Sakthi S G -- Learn how Oracle Real Application Clusters (RAC) One Node allows c

[Alsa-user] information needed on ALSA Usb audio.

2011-01-02 Thread Sakthi Subramanian
Hi All, I am having the ALSA UAC (USB audio class)device, i am trying to record the audio. i have used the record sample code given in the website. I need help on the following: P.S: I am getting an snd_pcm_open failure.Indeed i had put the entry in asoundrc file as below pcm.card0 { type hw c