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
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
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
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
.
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
).
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
,
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
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
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
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
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
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
() 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
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
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
15 matches
Mail list logo