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
Created attachment 76941 [details, diff] patchfile to patch bplaysrc/fmtheaders.h to use 32bit types
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
*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.