1234567891011121314151617181920212223242526272829303132333435363738 |
- #pragma once
- #include "openmpt/all/BuildSettings.hpp"
- OPENMPT_NAMESPACE_BEGIN
- #ifndef NO_AGC
- class CAGC
- {
- private:
- UINT m_nAGC;
- std::size_t m_nAGCRecoverCount;
- UINT m_Timeout;
- public:
- CAGC();
- void Initialize(bool bReset, DWORD MixingFreq);
- public:
- void Process(int *MixSoundBuffer, int *RearSoundBuffer, std::size_t count, std::size_t nChannels);
- void Adjust(UINT oldVol, UINT newVol);
- };
- #endif
- OPENMPT_NAMESPACE_END
|