Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 118812

Summary: media-sound/gramofile-1.6 writes wrong wav headers when recording
Product: Gentoo Linux Reporter: Volker Schroer <dl1ksv>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: fellows, sound, stian
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 137756    
Bug Blocks:    
Attachments: patchfile to patch bplaysrc/fmtheaders.h to use 32bit types

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.