Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118812 - media-sound/gramofile-1.6 writes wrong wav headers when recording
Summary: media-sound/gramofile-1.6 writes wrong wav headers when recording
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on: 137756
Blocks:
  Show dependency tree
 
Reported: 2006-01-12 13:19 UTC by Volker Schroer
Modified: 2007-11-16 13:43 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patchfile to patch bplaysrc/fmtheaders.h to use 32bit types (gramofile-1.6-r2-64bit.patch,1.68 KB, patch)
2006-01-12 13:21 UTC, Volker Schroer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Schroer 2006-01-12 13:19:16 UTC
When recording, gramofile writes wrong wave headers. This is similar to bug 95727.

Steps to reproduce

1) Apply proposed patch in bugreport 118226, to be able to use gramofile for recording

2) Start gramofile

3) Select recording and the appropriate parameters

4) Start recording

5) stop recording

Play the recorded file by aplay and look at the displayed parameters.

You should get 44.100 Hz Stereo, I got 8000 hz mono. The result may differ.

The reason is the same as described in bug 95727.

But the described fix does not fix the problem completely, as gramofile uses to different files named fmtheaders.h, one in the 'gramofile' directory and
 the othe in the 'gramofile/bplaysrc' directory.
The fix described in bug 95727 only patches fmtheaders.h in the gramofile directory
Comment 1 Volker Schroer 2006-01-12 13:21:35 UTC
Created attachment 76941 [details, diff]
patchfile to patch bplaysrc/fmtheaders.h to use 32bit types
Comment 2 Stian Skjelstad 2007-04-18 18:17:23 UTC
Kind of buggy code, that relies on u_long beeing 32bit, but upstream seems like a dead fish. Any reason for the patch not beeing included? Or is it in the lack of a maintainer and/or interest
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-11-16 13:43:49 UTC
*gramofile-1.6_p3 (19 Aug 2007)

  19 Aug 2007; Samuli Suominen <drac@gentoo.org>
  -files/gramofile-1.6-64bit.patch, +files/gramofile-1.6_p3-64bit.patch,
  +files/gramofile-1.6_p3-implicit-declarations.patch,
  -gramofile-1.6-r1.ebuild, +gramofile-1.6_p3.ebuild:
  Version bump.

Should be fixed, reopen if not.