[Alsa-devel] arecord wav file, buffer different

2004-04-17 Thread Mathieu Rondonneau
I all, I have some problem writing an ALSA driver: When i use arecord: arecord -d 10 -r 8000 -f S16_LE -t wav -c 1 test.wav the data area of the wav file (test.wav) is filled with 0. I compared the data of the wav file and the data of the capture buffer: They are different, the buffer is filled

[Alsa-devel] aplay noise

2004-04-13 Thread Mathieu Rondonneau
Hi all, thanks for your answers. I have another problem with my driver... another one ;) When i try to play a sound with aplay, there is an horrible noise like: tatatatatatatat (like gun shoots) I don't understand why. I'm trying to playback a wav file, but i hear some strange noise, not the

[Alsa-devel] start stop

2004-04-12 Thread Mathieu Rondonneau
is when i want to play another time, it doesn't work. the trigger call start then stop then start then stop ...then start and stop... and doesn't end and doesn't play any sound. I thank you very much for any help. regards, Mathieu Rondonneau

Re: [Alsa-devel] start stop resolved

2004-04-12 Thread Mathieu Rondonneau
Hi all, I 've resolved my problem. it was the offset problem in the pointer operator. the initialisation was not right. Have a nice day. Mathieu Rondonneau - Original Message - From: Mathieu Rondonneau [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Mathieu Rondonneau [EMAIL PROTECTED

[Alsa-devel] aplay playback-pointer

2004-04-11 Thread Mathieu Rondonneau
. regards, Mathieu Rondonneau --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http

Re: [Alsa-devel] src pointer parameter in copy operator

2004-04-05 Thread Mathieu Rondonneau
). libasound is in the --with-alsa-prefix path, so i don't understand the problem. I'm working on it. Thanks for any help/solution. regards, Mathieu Rondonneau - Original Message - From: Jaroslav Kysela [EMAIL PROTECTED] To: Mathieu Rondonneau [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday

[Alsa-devel] src pointer parameter in copy operator

2004-04-03 Thread Mathieu Rondonneau
, Mathieu rondonneau --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com

Re: [Alsa-devel] period_size, periods, count parameters

2004-02-26 Thread Mathieu Rondonneau
Selon Clemens Ladisch [EMAIL PROTECTED]: Mathieu Rondonneau wrote: I don't understand why count is 1024 ? why count is not equal to runtime-period_size (i.e. 16*1024)? If your frame size is 4, this is the size of a memory page. I guess ALSA wants to copy the data one page at a time

Re: [Alsa-devel] period_size, periods, count parameters

2004-02-24 Thread Mathieu Rondonneau
Selon Clemens Ladisch [EMAIL PROTECTED]: Mathieu Rondonneau wrote: .period_bytes_min = 1024, .period_bytes_max = 32768, .periods_min = 8, .periods_max = 512, When i start to send a file, I Don't know why: runtime-period_size = 8192 runtime-periods: 8

[Alsa-devel] period_size, periods, count parameters

2004-02-21 Thread Mathieu Rondonneau
in the copy operator is 1024 I tryed to change .period_bytes_min = 8192, .periods_min = 1, but the ¨count¨ parameter, the ¨periode_size¨ and ¨periods¨ remain the same. Is it possible to change the ¨count¨ parameter in the copy operator? Thank you very much for your help. Mathieu

Re: [Alsa-devel] Using preallocate pci, isa or nothing?

2004-02-11 Thread Mathieu Rondonneau
At Sun, 8 Feb 2004 18:29:10 -0600, Mathieu Rondonneau wrote: Hi, I'm sorry for the html format, these are some questions according to my problems. I'm writing an ALSA driver for a CSB337 board (AT91RM9200). There is no PCI or ISA on this board. Should I preallocate memory

[Alsa-devel] snd_...._copy

2004-02-08 Thread Mathieu Rondonneau
of these structure ethen if i don't have ISA or PCI bus/dma on my board? Thanks in advance. Mathieu Rondonneau --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse

[Alsa-devel] Using preallocate pci, isa or nothing?

2004-02-08 Thread Mathieu Rondonneau
() mean? should i need it if i don't use ISA or PCI mecanism? What does the function snd_pcm_period_elapsed() mean? Should i need it if i don't use ISA or PCI mecanism? Thanks any help would be very appreciate. Mathieu Rondonneau --- The SF.Net

[Alsa-devel] snd_..._copy

2004-02-07 Thread Mathieu Rondonneau
parameter is always 200?is it possible to change this offset in order to copy more data? 3) it seams more complicated to manage memory than usingpci or isa preallocation. Could i use one of these structure ethen if i don't have ISA or PCI bus/dma on my board? Thanks in advance. Mathieu Rondonneau

[Alsa-devel] using preallocate pci, isa or nothing?

2004-02-06 Thread Mathieu Rondonneau
the function snd_pcm_period_elapsed() mean? Should i need it if i don't use ISA or PCI mecanism? Thanks any help would be very appreciate. Mathieu Rondonneau