/usr/x86_64-w64-mingw32/include/msptrmar.h is in mingw-w64-x86-64-dev 2.0.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | /**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _MSPTRMAR_H_
#define _MSPTRMAR_H_
#define WAVEOUT_NAME L"WaveOut Terminal"
#define MIXER_NAME L"PCM Mixer"
class CAudioRenderTerminal : public IDispatchImpl<ITBasicAudioTerminal,&IID_ITBasicAudioTerminal,&LIBID_TAPI3Lib>,public IDispatchImpl<ITStaticAudioTerminal,&IID_ITStaticAudioTerminal,&LIBID_TAPI3Lib>,public CSingleFilterStaticTerminal,public CMSPObjectSafetyImpl
{
public:
CAudioRenderTerminal();
virtual ~CAudioRenderTerminal();
HRESULT InitializeDefaultTerminal();
static HRESULT CreateTerminal(CComPtr<IMoniker> pMoniker,MSP_HANDLE htAddress,ITTerminal **ppTerm);
HRESULT FindTerminalPin();
BEGIN_COM_MAP(CAudioRenderTerminal)
COM_INTERFACE_ENTRY(IObjectSafety)
COM_INTERFACE_ENTRY(ITBasicAudioTerminal)
COM_INTERFACE_ENTRY(ITStaticAudioTerminal)
COM_INTERFACE_ENTRY_CHAIN(CSingleFilterStaticTerminal)
END_COM_MAP()
DECLARE_VQI()
DECLARE_LOG_ADDREF_RELEASE(CAudioRenderTerminal)
public:
STDMETHOD(get_Balance)(long *pVal);
STDMETHOD(put_Balance)(long newVal);
STDMETHOD(get_Volume)(long *pVal);
STDMETHOD(put_Volume)(long newVal);
STDMETHOD(get_WaveId) (long *plWaveId);
public:
STDMETHODIMP CompleteConnectTerminal(void);
STDMETHODIMP DisconnectTerminal(IGraphBuilder *pGraph,DWORD dwReserved);
virtual HRESULT AddFiltersToGraph();
virtual DWORD GetSupportedMediaTypes(void) { return (DWORD) TAPIMEDIATYPE_AUDIO; }
HRESULT CreateFilters();
private:
bool m_bResourceReserved;
CComPtr<IBasicAudio> m_pIBasicAudio;
};
#endif
|