Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
625 B

  1. // Copyright (c) 1998-1999 Microsoft Corporation
  2. /* This is a class to manage tracking mutes for the SeqTrack and BandTrack. */
  3. #ifndef _PCHMAP__
  4. #define _PCHMAP__
  5. #include "dmusici.h"
  6. #include "..\dmstyle\tlist.h"
  7. struct PCHMAP_ITEM
  8. {
  9. MUSIC_TIME mtNext;
  10. DWORD dwPChannel;
  11. DWORD dwPChMap;
  12. BOOL fMute;
  13. };
  14. class CPChMap
  15. {
  16. public:
  17. CPChMap();
  18. ~CPChMap();
  19. void Reset(void);
  20. void GetInfo( DWORD dwPCh, MUSIC_TIME mtTime, MUSIC_TIME mtOffset, DWORD dwGroupBits,
  21. IDirectMusicPerformance* pPerf, BOOL* pfMute, DWORD* pdwNewPCh , BOOL fClockTime);
  22. private:
  23. TList<PCHMAP_ITEM> m_PChMapList;
  24. };
  25. #endif // _PCHMAP__