[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

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: &

[Alsa-devel] start stop

2004-04-12 Thread Mathieu Rondonneau
problem 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. re

[Alsa-devel] aplay playback-pointer

2004-04-11 Thread Mathieu Rondonneau
r any help. 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 administr

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

2004-04-05 Thread Mathieu Rondonneau
was found). 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&q

[Alsa-devel] src pointer parameter in copy operator

2004-04-03 Thread Mathieu Rondonneau
. best 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] 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 > A

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 Do

[Alsa-devel] period_size, periods, count parameters

2004-02-21 Thread Mathieu Rondonneau
8 and the ¨count¨ parameter 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 yo

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)

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

2004-02-08 Thread Mathieu Rondonneau
snd_..._pointer() 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 -

[Alsa-devel] snd_...._copy

2004-02-08 Thread Mathieu Rondonneau
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 --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Developme

[Alsa-devel] snd_..._copy

2004-02-07 Thread Mathieu Rondonneau
s called by ALSA.   2) why the count 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 using pci or isa preallocation. Could i use one of these structure ethen if i don't have ISA or PCI bus/dma on my

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

2004-02-06 Thread Mathieu Rondonneau
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