All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mathieu Rondonneau" <mathieu.rondonneau@polymtl.ca>
To: alsa-devel@lists.sourceforge.net
Subject: arecord wav file, buffer different
Date: Sat, 17 Apr 2004 16:06:01 -0500	[thread overview]
Message-ID: <005601c424bf$ca5aac70$0403a8c0@win2K> (raw)
In-Reply-To: Pine.HPX.4.33n.0404131825060.10741-100000@studcom.urz.uni-halle.de

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 with audio datas.

Why my test.wav file is filed with zero?

Any ideas?

Thanks in advance.

regards,
Mahtieu



-------------------------------------------------------
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/?ad_id=1470&alloc_id=3638&op=click

  parent reply	other threads:[~2004-04-17 21:06 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-10  1:47 [linux-audio-user] snd-hdsp+cardbus+M6807 notebook=distortion -- First good news Daniel Ritz
2004-04-10  3:30 ` Ivica Ico Bukvic
2004-04-10  3:30   ` Ivica Ico Bukvic
2004-04-11 13:25   ` Russell King
2004-04-11 16:08     ` Tim Blechmann
2004-04-11 23:45       ` Daniel Ritz
2004-04-12  1:39         ` [linux-audio-user] snd-hdsp+cardbus+M6807 notebook=distortion -- FIXED! Ivica Ico Bukvic
2004-04-12  1:39           ` Ivica Ico Bukvic
2004-04-12  5:24           ` aplay playback-pointer Mathieu Rondonneau
2004-04-12 15:45             ` start stop Mathieu Rondonneau
2004-04-12 16:58               ` start stop resolved Mathieu Rondonneau
2004-04-12 17:59               ` start stop Jaroslav Kysela
2004-04-13 16:25             ` aplay playback-pointer Clemens Ladisch
2004-04-14  3:06               ` aplay noise Mathieu Rondonneau
2004-04-17 21:06               ` Mathieu Rondonneau [this message]
2004-04-20  9:08                 ` arecord wav file, buffer different Clemens Ladisch
2004-04-12  7:28           ` [linux-audio-user] snd-hdsp+cardbus+M6807 notebook=distortion -- FIXED! Russell King
2004-04-12  9:08             ` David Hinds
2004-04-12  9:27               ` Russell King
2004-04-12 14:40             ` Ivica Ico Bukvic
2004-04-12 14:40               ` Ivica Ico Bukvic
2004-04-12 14:53               ` Russell King
2004-04-12 15:31                 ` Daniel Ritz
2004-04-12 15:38                   ` Russell King
2004-04-12 18:03                     ` Daniel Ritz
2004-04-14 13:41                     ` Tim Blechmann
2004-04-12 22:06               ` Tim Blechmann
2004-04-12 22:06                 ` Tim Blechmann
2004-04-12 11:02           ` Tim Blechmann
2004-04-12 11:02             ` Tim Blechmann
2004-04-12 10:39             ` Russell King
2004-04-12 12:09               ` Tim Blechmann
2004-04-12 15:19           ` Daniel Ritz
2004-04-12 15:19             ` Daniel Ritz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005601c424bf$ca5aac70$0403a8c0@win2K' \
    --to=mathieu.rondonneau@polymtl.ca \
    --cc=alsa-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.