* [PATCH] arecord without timelimit produces buggy wav files.
@ 2002-12-18 14:45 Jordi Mallach
2002-12-19 11:12 ` Takashi Iwai
0 siblings, 1 reply; 5+ messages in thread
From: Jordi Mallach @ 2002-12-18 14:45 UTC (permalink / raw)
To: alsa-devel; +Cc: stevenk, madkiss
[-- Attachment #1: Type: text/plain, Size: 1899 bytes --]
[resent with my subscriber address... is someone moderating alsa-devel?]
Hello,
Daniel Kobras reported a bug in arecord ages ago, against
beta10a. Quoting:
> When running arecord without timelimit (no -d option), the size of the
> RIFF chunk in a wav file is not updated when the recording is finished.
> The resulting wav causes trouble with some applications as the dummy
> chunk size is negative. (Chunk sizes are spec'ed as signed integer.
> Don't ask me why.) The following patch adds the proper fixup for the
> RIFF chunk. Patch against version 0.9.0beta10a-2 of alsa-utils.
--- aplay.c.orig Sat Dec 1 21:26:46 2001
+++ aplay.c Fri Feb 1 18:11:39 2002
@@ -1548,12 +1548,17 @@
{ /* only close output */
WaveChunkHeader cd;
off_t length_seek;
+ u_int rifflen;
length_seek = sizeof(WaveHeader) +
sizeof(WaveChunkHeader) +
sizeof(WaveFmtBody);
cd.type = WAV_DATA;
cd.length = LE_INT(fdcount);
+ rifflen = fdcount + 2*sizeof(WaveChunkHeader) + sizeof(WaveFmtBody) + 4;
+ rifflen = LE_INT(rifflen);
+ if (lseek(fd, 4, SEEK_SET) == 4)
+ write(fd, &rifflen, 4);
if (lseek(fd, length_seek, SEEK_SET) == length_seek)
write(fd, &cd, sizeof(WaveChunkHeader));
if (fd != 1)
The current Debian packages have this patch applied, and the full bug
log is in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=131875.
Thanks,
Jordi
PS: recently, new people started working on Debian's ALSA packages.
We'll try to forward all the bugs and patches that have piled up against
our packages in the previous era. What's the prefered way of reporting
bugs and problems against alsa packages components?
--
Jordi Mallach Pérez -- Debian developer http://www.debian.org/
jordi@sindominio.net jordi@debian.org http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/~jordi/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arecord without timelimit produces buggy wav files.
2002-12-18 14:45 [PATCH] arecord without timelimit produces buggy wav files Jordi Mallach
@ 2002-12-19 11:12 ` Takashi Iwai
2002-12-19 11:35 ` Jordi Mallach
2002-12-19 12:06 ` bug-tracking system tomasz motylewski
0 siblings, 2 replies; 5+ messages in thread
From: Takashi Iwai @ 2002-12-19 11:12 UTC (permalink / raw)
To: Jordi Mallach; +Cc: alsa-devel, stevenk, madkiss
Hi,
At Wed, 18 Dec 2002 15:45:58 +0100,
Jordi Mallach wrote:
>
> [1 <text/plain; iso-8859-1 (quoted-printable)>]
> [resent with my subscriber address... is someone moderating alsa-devel?]
no, but it's filtered only for subscribers.
> Hello,
>
> Daniel Kobras reported a bug in arecord ages ago, against
> beta10a. Quoting:
>
> > When running arecord without timelimit (no -d option), the size of the
> > RIFF chunk in a wav file is not updated when the recording is finished.
> > The resulting wav causes trouble with some applications as the dummy
> > chunk size is negative. (Chunk sizes are spec'ed as signed integer.
> > Don't ask me why.) The following patch adds the proper fixup for the
> > RIFF chunk. Patch against version 0.9.0beta10a-2 of alsa-utils.
thanks, applied to cvs with a bit modification.
> The current Debian packages have this patch applied, and the full bug
> log is in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=131875.
>
> Thanks,
> Jordi
>
> PS: recently, new people started working on Debian's ALSA packages.
> We'll try to forward all the bugs and patches that have piled up against
> our packages in the previous era. What's the prefered way of reporting
> bugs and problems against alsa packages components?
please post to alsa-devel. the bug tracking system seems not working
effectively, so far...
--
Takashi Iwai <tiwai@suse.de> SuSE Linux AG - www.suse.de
ALSA Developer ALSA Project - www.alsa-project.org
-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now! Before the Holidays pass you by.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arecord without timelimit produces buggy wav files.
2002-12-19 11:12 ` Takashi Iwai
@ 2002-12-19 11:35 ` Jordi Mallach
2002-12-19 12:06 ` bug-tracking system tomasz motylewski
1 sibling, 0 replies; 5+ messages in thread
From: Jordi Mallach @ 2002-12-19 11:35 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 857 bytes --]
On Thu, Dec 19, 2002 at 12:12:19PM +0100, Takashi Iwai wrote:
> > [resent with my subscriber address... is someone moderating alsa-devel?]
> no, but it's filtered only for subscribers.
Yeah, I mean, if non-subscriber posts are not going to be moderated (ie,
make them go through manually), they should be rejected. Mailman said my
post was waiting for "moderator approval".
> > Daniel Kobras reported a bug in arecord ages ago, against
> > beta10a. Quoting:
> thanks, applied to cvs with a bit modification.
> please post to alsa-devel. the bug tracking system seems not working
> effectively, so far...
Ok, thanks.
--
Jordi Mallach Pérez -- Debian developer http://www.debian.org/
jordi@sindominio.net jordi@debian.org http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/~jordi/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug-tracking system.
2002-12-19 11:12 ` Takashi Iwai
2002-12-19 11:35 ` Jordi Mallach
@ 2002-12-19 12:06 ` tomasz motylewski
2002-12-19 17:30 ` Takashi Iwai
1 sibling, 1 reply; 5+ messages in thread
From: tomasz motylewski @ 2002-12-19 12:06 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On Thu, 19 Dec 2002, Takashi Iwai wrote:
> > PS: recently, new people started working on Debian's ALSA packages.
> > We'll try to forward all the bugs and patches that have piled up against
> > our packages in the previous era. What's the prefered way of reporting
> > bugs and problems against alsa packages components?
>
> please post to alsa-devel. the bug tracking system seems not working
> effectively, so far...
Do you mean SourceForge?
Don't you think it should be documented THERE?
Something like "please do not use, post reports to alsa-devel...".
It usually works like that: relatively new user/developer finds a bug, clicks
"Bug reporting" from ALSA homepage and is in a system which "seems not working
effectively".
Best regards,
--
Tomasz Motylewski
-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now! Before the Holidays pass you by.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: bug-tracking system.
2002-12-19 12:06 ` bug-tracking system tomasz motylewski
@ 2002-12-19 17:30 ` Takashi Iwai
0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2002-12-19 17:30 UTC (permalink / raw)
To: tomasz motylewski; +Cc: alsa-devel
At Thu, 19 Dec 2002 13:06:06 +0100 (CET),
tomasz motylewski wrote:
>
> On Thu, 19 Dec 2002, Takashi Iwai wrote:
>
> > > PS: recently, new people started working on Debian's ALSA packages.
> > > We'll try to forward all the bugs and patches that have piled up against
> > > our packages in the previous era. What's the prefered way of reporting
> > > bugs and problems against alsa packages components?
> >
> > please post to alsa-devel. the bug tracking system seems not working
> > effectively, so far...
>
> Do you mean SourceForge?
yes.
> Don't you think it should be documented THERE?
> Something like "please do not use, post reports to alsa-devel...".
yeah, IMHO, it would be better.
> It usually works like that: relatively new user/developer finds a bug, clicks
> "Bug reporting" from ALSA homepage and is in a system which "seems not working
> effectively".
please note that the above comment is only my own.
it's likely biased much, since i prefer a system like bugzilla to sf's
one. or, simply posts on devel ML, which is well archived.
for me, sf's tracking system is nothing but annoying.
again, this is just my opinion.
the current system might be helpful, for example, for jaroslav.
but anyway, the situation atm looks not good; unresolved bugs has
been growing and piled up, because no one moderates and assigns the
bugs.
Takashi
-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now! Before the Holidays pass you by.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-12-19 17:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-18 14:45 [PATCH] arecord without timelimit produces buggy wav files Jordi Mallach
2002-12-19 11:12 ` Takashi Iwai
2002-12-19 11:35 ` Jordi Mallach
2002-12-19 12:06 ` bug-tracking system tomasz motylewski
2002-12-19 17:30 ` Takashi Iwai
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.