Am 19.05.2010 10:28, schrieb Mohamed Tarek:
Hello !

On Tue, May 11, 2010 at 9:08 PM, Mohamed Tarek <mtare...@gmail.com <mailto:mtare...@gmail.com>> wrote:

    I still haven't been able to get libwmapro to decode the input
    packets/payloads successfully, and I have compared the buffers I'm
    sending to it with the ones from ffmpeg and made sure they were
    identical. So I'm still not sure where the error is. I'll try to
    submit a patch for that soon, but the code is too messy to submit
    a patch now.


Turned out I had problems with a faulty sample count passed to pcmbuf_insert, and also the decoder wrote the samples to the buffer in floating point, so I had to convert them to int32 at the end of decoding. The decoder is now working fine in the simulator, but for one tiny problem : There's a relatively quiet but consistent "clicking" noise with the wma pro tracks. I tried writing a wav file with test_codec, and had no noise at all when playing it outside the sim. Playing the same wav file inside the sim, however, produced that noise too. So, it's probably something related to the simulator, I'll ignore it for now.


Maybe related to http://www.rockbox.org/tracker/task/10816 ?

Reply via email to