Skylicht Engine
Loading...
Searching...
No Matches
CWavSubDecoderPCM.h
1#ifndef _SKYLICHTAUDIO_WAVESUBDECODER_PCM_
2#define _SKYLICHTAUDIO_WAVESUBDECODER_PCM_
3
4#include "IWavSubDecoder.h"
5
6namespace Skylicht
7{
8 namespace Audio
9 {
10 class CWavSubDecoderPCM : public IWavSubDecoder
11 {
12 public:
13 CWavSubDecoderPCM(IStreamCursor* streamCursor, SWaveChunk* waveChunks);
14 virtual ~CWavSubDecoderPCM();
15
16 virtual int decode(void* buffer, int size);
17
18 virtual int seek(int size);
19
20 protected:
21 int getDataSize();
22
23 protected:
24
25 int m_decodedSamples;
26 };
27 }
28}
29
30#endif
Interface for a stream cursor, providing seek and read operations on an audio stream.
Definition IStream.h:39
Handles all core audio functionality.
Definition AudioDebugLog.h:31
Everything in the Skylicht Engine. You can start by looking at the topics.
Definition AudioDebugLog.h:29
Definition WavHeader.h:109