12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- #ifndef _AKDSP_DELAYLINEMEMORYSTREAM_
- #define _AKDSP_DELAYLINEMEMORYSTREAM_
- #include <AK/DSP/AkDelayLineMemory.h>
- namespace AK
- {
- namespace DSP
- {
- template < class T_SAMPLETYPE, AkUInt32 T_MAXNUMCHANNELS >
- class CAkDelayLineMemoryStream : public CAkDelayLineMemory< T_SAMPLETYPE, T_MAXNUMCHANNELS >
- {
- public:
- T_SAMPLETYPE * GetCurrentPointer( AkUInt32 in_uOffset, AkUInt32 in_uChannelIndex )
- {
- return this->m_pDelay[in_uChannelIndex] + in_uOffset;
- }
- protected:
- T_SAMPLETYPE * m_pfSreamedData[3];
- AkUInt32 m_uStreamIndex;
- AkUInt32 m_uMaxStreamBufferLength;
- };
- }
- }
- #endif
|