Hi Robert,

Whereby I could not test it now, I think I got the reason why it does not work: - in mp3.c, the data_size is set to -1 (anything else would require us some expansive gymics to find out the real decoded size) - in AmAudioFile.cpp, lines 375 & 381, the data_size is tested to be strictly positive before rewinding.

So I guess it should enough to change those test to:
if(loop.get() && (data_size>0 || data_size == -1)){
if(autorewind.get() && (data_size>0 || data_size == -1)){

If you get a chance to test that and it works, please let me know.

Cheers
-Raphael.

On 21.01.2010 16:05, Robert Szokovacs wrote:
On 2010 January 21, Thursday 14:59:27 you wrote:
Hi Robert,

sorry for the huge delay...
did you get around this issue?
Hi,

I got around it by using wav, but couldn't fix it :(

br

Szo
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to