20 Aug 18:04
afSeekFrames bug?
Jim Ramsay <ramsay <at> sedsystems.ca>
2003-08-20 16:04:26 GMT
2003-08-20 16:04:26 GMT
Please be patient, this may take a moment to explain. I am running this on a brand-new IBM machine running an old caldera linux with a 2.2.16 kernel. I cannot upgrade this kernel, I don't have any control over the OS on this particular machine. I downloaded and compiled version 0.2.3 of the audiofile library using gcc 2.95.2, and it appears to have gone smoothly. I'm trying to use libaudiofile to obtain data from a WAV file and loop when I get to the eof For testing purposes, I've created a series of wav files at different bit resolutions, all with the same number of samples. Let's take, for example, one with 10 24-bit samples, ranging from 0x010203 through 0x01020c in sequence. I open the wav file and get no errors. The number of channels is 2, and I set up my virtual sample format to be TWOSCOMP and 32-bit. Then run a routine requesting 30 samples. Basically, the code should be have in this manner: - Get 10 samples (5 frames) from the wav file, in order. It does this correctly. I get: 0x01020300 0x01020400 0x01020500 0x01020600 0x01020700 0x01020800 0x01020900 0x01020a00(Continue reading)
RSS Feed