On Tue, 3 Jul 2007, Roman Häfeli wrote:
yesterday, matju helped me investigating in this problem and it turned out, that 0x400EAC44 is hardcoded for aiff-files in the file d_soundfile.c on line 700.
In DesireData I added this in create_soundfile:
while (samplerate >= 0x10000) {aiffhdr->samprate[1]++; samplerate/=2;} aiffhdr->samprate[2] = (long)samplerate>>8; aiffhdr->samprate[3] = (long)samplerate;
it is defined in a variable called 'dogdoo'
That name is too clever. I'll have to change it to something stupid, such as "header".
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada