From: martin r. <fo...@ru...> - 2004-03-12 18:29:06
|
dear developers again, there seems to be a bug in foo regarding soundfiles at least in foo-0.0.3 (might be thing which ramon discovered): at least when creating 'aiff-files (the default), there no correct header is written. sndfile-play can play the file though, but with alsaplayer: silencium. sndfile-info reports a number of '0' frames in the file. there is the possibility to tell libsndfile to update the header in the soundfile after every write (not just when closing the file). i enabled that, but afterwards there are FOO_ERRORs when seeking (looks like a negative seek). perhaps that's the reason for the incorrect header, but i am still wondering why this isn't reported as an error without SFC_SET_UPDATE_HEADER_AUTO. when switching to 'wav format, however, the headers seem to be o.k. (but the seek error still exists when running with HEADER_AUTO). unfortunetaly, i don't have the time to track that down now (next exam on tuesday...), but it's scheduled... bests, martin |