[Scummvm-devel] Theora Player

Федор fedor_qd at mail.ru
Mon Dec 16 00:28:31 CET 2013


 Hi! Are you planned add support Tremor/Tremolo to builtin theora player?
I look at theora_decoder.h and theora_decoder.cpp. To make it compatible with Tremor/Tremolo necessary make this steps :

1) in theora_decoder.cpp in line 363 pointer **pcm declared as unsigned float but in ivorbiscodec.h it has ogg_int32_t type
This type may be signed or not at various  OS. You can declare it as ogg_int32_t
2) signess - at line 374 in  theora_decoder.cpp function return value>0 if  ogg_int32_t has unsigned type
Is it important?


Fedor


More information about the Scummvm-devel mailing list