Re: [Alsa-user] how to use the buffer from sound card

2009-08-31 Thread Marek Michalak
Hello! I write a program that capture the sound and when the buffor of sound card is full send this by UDP to server. Then server will be calculate the FFT on this. So I need the samples. So my record_buffor function in capture program: static void record_buffor(const snd_pcm_channel_area_t

Re: [Alsa-user] Sound Card Configuration

2009-08-31 Thread Clemens Ladisch
John Beavers wrote: Now, the sound from vlc plays independantly for the different users, but firefox and games (like robots) still send sounds to device 0, Apparently, Firefox and games do not use the default device. If they use ALSA, try to reconfigure the sound device name. If they use OSS,

Re: [Alsa-user] Very frustrating ALSA MIDI issue

2009-08-31 Thread Clemens Ladisch
James Gadsby wrote: FATAL: Module snd_usb_audio not found. Apparently, that driver was not compiled. When configuring the alsa-driver package, just use ./configure --enable-dynamic-minors HTH Clemens -- Let

Re: [Alsa-user] aplay - no sound and never returns.

2009-08-31 Thread Ben Langley
Hi Ben, I think I'm having the same issue as you. Are you using the ATIIXP chipset with a Realtek 658D codec? I've attached my alsainfo.sh output to this reply; can you run the same script? You need to get it from http://www.alsa-project.org/alsa-info.sh. Also, can you try running speaker-test

Re: [Alsa-user] USB audio adapters (CM6206 chip)

2009-08-31 Thread Fabrício Nihues
Forget it found in the changelog... ALSA: usb - Add boot quirk for C-Media 6206 USB Audi ___ Fabrício Nihues 2009/8/31 Fabrício Nihues fabricio.nih...@gmail.com Hello Dan! Is your patch is in the .21 driver released today? Thanks ___ Fabrício Nihues

Re: [Alsa-user] USB audio adapters (CM6206 chip)

2009-08-31 Thread Fabrício Nihues
Hello Dan! Is your patch is in the .21 driver released today? Thanks ___ Fabrício Nihues -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design,

Re: [Alsa-user] how to use the buffer from sound card

2009-08-31 Thread Marek Michalak
Ok, It's resolved. It works well when: size =1; signed int value; while (PERIOD_SIZE-- 0) { value =(signed char *)samples; f_write = write(f_open, value, size); } And now I can print data form sound card. But I don't know why, and how it works... I can only guess. Best wishes Marek