| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#include <boca.h> |
| 14 |
|
| 15 |
BoCA_BEGIN_COMPONENT(DecoderAIFF) |
| 16 |
|
| 17 |
namespace BoCA |
| 18 |
{ |
| 19 |
class DecoderAIFF : public CS::DecoderComponent |
| 20 |
{ |
| 21 |
private: |
| 22 |
Int dataOffset; |
| 23 |
public: |
| 24 |
static const String &GetComponentSpecs(); |
| 25 |
|
| 26 |
DecoderAIFF(); |
| 27 |
~DecoderAIFF(); |
| 28 |
|
| 29 |
Bool CanOpenStream(const String &); |
| 30 |
Error GetStreamInfo(const String &, Track &); |
| 31 |
|
| 32 |
Bool Activate(); |
| 33 |
|
| 34 |
Bool Seek(Int64); |
| 35 |
|
| 36 |
Int ReadData(Buffer<UnsignedByte> &); |
| 37 |
}; |
| 38 |
}; |
| 39 |
|
| 40 |
BoCA_DEFINE_DECODER_COMPONENT(DecoderAIFF) |
| 41 |
|
| 42 |
BoCA_END_COMPONENT(DecoderAIFF) |