Someone on linux-audio-user suguested ghex to view the header data. I only installed hexedit as I have to do a major update to my machine to get libgnimeprintui22 up to date, and I tried by hand but I gave up after I had downloaded 40 rpms and there were still more to be downloaded. Yum aparently cant find all the files it needs. Anyway I gave up.
From hexedit I got that a large portion of the header is just not
being written as you can see below:
From hexedit
Broken file: 00000000 64 61 74 61 00 4E 41 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 data.NA................. 00000018 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........................ 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........................
Fixed file: 00000000 52 49 46 46 30 4E 41 01 57 41 56 45 66 6D 74 20 10 00 00 00 01 00 02 00 RIFF0NA.WAVEfmt ........ 00000018 80 BB 00 00 00 EE 02 00 04 00 10 00 64 61 74 61 0C 4E 41 01 64 61 74 61 ............data.NA.data 00000030 00 4E 41 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .NA.....................
I looked at d_soundfile.c briefly and didnt see anything in the 1 min scan, but I have to go and cant really get into it today. I was hoping that someone more fimiliar with that file will immediately recognize the problem. Otherwise I will look at it tonight hopefully.
Thanks again! -thewade
On Tue, 8 Mar 2005, thewade wrote:
I looked at d_soundfile.c briefly and didnt see anything in the 1 min scan, but I have to go and cant really get into it today. I was hoping that someone more fimiliar with that file will immediately recognize the problem. Otherwise I will look at it tonight hopefully.
I am looking at both pd-0.38-4 and devel_0_38, and I see something to fix in d_soundfile.c. Change the definition of uint32 so that it's really 32 bits:
typedef unsigned int uint32; /* long isn't 32-bit on amd64 */
I just applied this fix to devel_0_38.
I don't claim that this is the last such bug. I also don't have a K8 so I can't test.
Mathieu Bouchard -=- Montréal QC Canada -=- http://artengine.ca/matju