Re: [Alsa-devel] I thought it would simple....

2003-08-14 Thread Tom Watson
Sorry I could not get back to you... Vacation and travel over 9 time zones in the last 36 hours... The soundcard appears to work quite nicely using 'aplay' (default parameters, but device 'surround40'). I just want to get an idea of what I'm doing that causes this problem. The "sample" program

Re: [Alsa-devel] I thought it would simple....

2003-07-24 Thread Takashi Iwai
At Wed, 23 Jul 2003 22:03:25 -0700 (PDT), Tom Watson wrote: > > OK, here is more data. The enclosed files are: > 1) The "minimal playback program" described in the original message, > modified to clear the buffer, and do the "dump" of the parameters. The > buffer size is lengthened a bit (maybe

Re: [Alsa-devel] I thought it would simple....

2003-07-23 Thread Tom Watson
OK, here is more data. The enclosed files are: 1) The "minimal playback program" described in the original message, modified to clear the buffer, and do the "dump" of the parameters. The buffer size is lengthened a bit (maybe this makes a difference??) 2) The output of 'strace' on the program, it

Re: [Alsa-devel] I thought it would simple....

2003-07-23 Thread Carlo Wood
I found that a better example for playback is the 'pcm.c' file that you can find on the alsa site. It contains many ways to deliver the data (a nice sine) to your soundcard. Playing with the parameters gives some insight (more than reading the overall poor documentation imho :(). Anyway - I "tran

[Alsa-devel] I thought it would simple....

2003-07-22 Thread Tom Watson
I am attempting to write a "simple" audio playback program. Well, I thought it would be, but... Somehow (thru strace) the 'snd_pcm_writei' call goes and eventually does a system 'poll' call, but it doesn't return indicating that a write is OK to do. I've used similar parameters in 'aplay' and I se