Hello,
There is an unusal problem that I am facing now.I have ported 'Madlib'
on to PalmOS.I am able to connect to a shoutcast server and decode the mp3
data using madlib and that too for any Kbps. This works fine on simualtor.
But when I ported this onto the device it works well for 32Kbps data. But
when the Kbps rate is higher than this the applciation crahes.
When I debugged I found out that there is a funcion in 'Layer3.c'
called 'III_stereo' which gets called when the Kbps is higher than 32.
if (header->mode == MAD_MODE_JOINT_STEREO && header->mode_extension)
{
WinDrawChars("Namaste",7,30,90);
error = III_stereo(xr, granule, header, sfbwidth[0]);
if (error)
return error;
}
This causes the crash.If I comment this function that appliation doesnt
crashes but the decoding doesnt takes place.
This is the final phase of my project.Please help me.
Regards,
Swapnil