Windows2003-3790/multimedia/directx/dmusic/dmband/pchmap.h
2020-09-30 16:53:55 +02:00

30 lines
654 B
C++

// Copyright (c) 1998-1999 Microsoft Corporation
/* This is a class to manage tracking mutes for the SeqTrack and BandTrack. */
#ifndef _PCHMAP__
#define _PCHMAP__
#include "dmusici.h"
#include "..\dmstyle\tlist.h"
struct PCHMAP_ITEM
{
MUSIC_TIME mtNext;
DWORD dwPChannel;
DWORD dwPChMap;
BOOL fMute;
};
class CPChMap
{
public:
CPChMap();
~CPChMap();
void Reset(void);
void GetInfo( DWORD dwPCh, MUSIC_TIME mtTime, MUSIC_TIME mtOffset, DWORD dwGroupBits,
IDirectMusicPerformance* pPerf, BOOL* pfMute, DWORD* pdwNewPCh , BOOL fClockTime);
private:
TList<PCHMAP_ITEM> m_PChMapList;
};
#endif // _PCHMAP__