Re: [Alsa-user] Redirecting Mic Input in software (no arecord / aplay involved)

2008-03-12 Thread Thierry Bouchard
t bring me another question though, why would enabling the input monitoring on my sound card have fixed my problem and would have been a better solution? What exactly is input monitoring? On Wednesday 12 March 2008 13:54:49 Clemens Ladisch wrote: > Thierry Bouchard wrote: > > Im tr

[Alsa-user] Redirecting Mic Input in software (no arecord / aplay involved)

2008-03-12 Thread Thierry Bouchard
Hello, Im trying to capture the Microphone input and redirect it right away into speakers. The problem is that whenever I use "snd_pcm_readi" and "snd_pcm_writei" one after each other in my capture loop, the pipe becomes broken on the output side, i.e. every call to "snd_pcm_writei" fails afte

[Alsa-user] asound.conf

2008-03-11 Thread Thierry Bouchard
Hi, I started to play with ALSA 2 days ago and Im trying to figure out how ALSA works and how to add PCM devices in the configuration file. I wrote a simple plugin for my microphone which is supposed to convert the data into a 32 bps format. Here is how it looks like : pcm.jcb-in-1 { t