Re: [Alsa-devel] Docu:: Alsa Audio API:: A minimal capture program

2004-02-09 Thread Torsten Mohr
Hi, > You've made this stupid bug: > > data = (unsigned char *)calloc(SAMPLES*4, 0); > > should be: > > data = (unsigned char *)calloc(periodsize*4, 1); thank you so very much for that hint, that was the problem. Best regards, Torsten. ---

Re: [Alsa-devel] intel8x0 has stopped working.

2004-02-09 Thread Takashi Iwai
At Fri, 06 Feb 2004 20:05:42 +, James Courtier-Dutton wrote: > > Takashi Iwai wrote: > > At Thu, 05 Feb 2004 22:28:03 +, > > James Courtier-Dutton wrote: > > > >>I checked out a new anonymouse cvs of alsa-driver/alsa-kernel, applied > >>your patch, and attach the output from doing modpro

Re: Alsa handling of spdif bits (was Re: [Alsa-devel] Questions to HDSP users)

2004-02-09 Thread Takashi Iwai
At Fri, 06 Feb 2004 20:12:44 +0100, Thomas Charbonnel wrote: > > >> so I'm back with my > >>question concerning amixer : all the 'value' fields of IEC ctls show a > >>question mark. Is this a problem with the driver ? If not what would be > >>the syntax to access those ctls ? > > > > > > amix

Re: [Alsa-devel] Docu:: Alsa Audio API:: A minimal capture program

2004-02-09 Thread Jaroslav Kysela
On Mon, 9 Feb 2004, Torsten Mohr wrote: > Hi, > > > > thanks for that hint. > > > > > > But sadly, the attached program doesn't work, though > > > i set stop_threshold to 0. I didn't find any functions > > > > This is wrong. You need to set this value to sw_params->boundary or > > greater value