1 #pragma once 2 #include "DllLib.h" 3 4 // BASS_Mixer_StreamCreate flags 5 #define BASS_MIXER_END 0x10000 // end the stream when there are no sources 6 7 class CBassMixLibrary : 8 public CDllLib 9 { 10 typedef DWORD(WINAPI *_BASS_Mixer_StreamCreate)(DWORD freq, DWORD chans, DWORD flags); 11 typedef BOOL(WINAPI *_BASS_Mixer_StreamAddChannel)(DWORD handle, DWORD channel, DWORD flags); 12 13 public: 14 CBassMixLibrary(); 15 ~CBassMixLibrary(); 16 17 _BASS_Mixer_StreamCreate BASS_Mixer_StreamCreate; 18 _BASS_Mixer_StreamAddChannel BASS_Mixer_StreamAddChannel; 19 20 private: 21 virtual bool GetFunction() override; 22 23 }; 24 25