On some mp3 files the header decoding / get header fails (audioio-mp3.*).
So thanks to Kai Vehmanen for designating the source of the parsing header routines in a comment!!!
He has taken the routines from xmms plugin.
For automated generating of sample files I use the following command:
ecasound -C -q -i test1.mp3 -y:20 -o bla.mp3 -ea:0 -kl:1,0,100,6 -ea:0 -kl2:1,100,0,24,6 -t:30 -G:jack,ecasound,notransport
Sometimes this fails, caused by the missing mp3 header/frame to determine the right frame offset for (mpg123 -k) the given starting offset in seconds(-y:20).
I fetched the new routines from xmms and transfered the c routines to c++.
I hope that everything works fine.
Maybe this fix will be integrated in a new version of Ecasound
THX!
Tim
any update to this topic?
as far as I can see this bug is not solved in new version ....