|
|
|
|
|
|
|
Sponsored By


|
|
|
|
|
|

|
|
|
|
|
|
|
Efika 5200B Project
 |
Reggae on Efika
in category Multimedia proposed by Grzegorz Kraszewski on 21st February 2006 (accepted on 20th March 2006)
|
|
|
|
|
|
Blog Entry
|
|
|
|
|
|
|
C++ is useful
posted by Grzegorz Kraszewski on 7th April 2007
After a day of work I've designed and implemented a C++ class, named BlockDecoder. Most of compressed sound formats are block-based. Reggae requires that sound data may be pulled in any amount (the resolution is one sample frame), also requires one frame precision seeking. It implies some buffering. BlockDecoder implements all of this. Now the only thing I have to do implementing new block-based format in Reggae is to override two virtual methods. One is for complete block decoding, the second one returns decompressed size of a block. All buffering for MMM_Pull() and MMM_Seek() is ready. I've succesfully used BlockDecoder in ima-adpcm.decoder (so now it supports seeking) and plan to release some more popular block-based decoders.
|
|
|
|
|
|