duncanthraxInitial commite15ccc211 years agoHistory
62 lines · 1.7 KB · C
RawDownload
/*++Copyright (c) 1997-2000  Microsoft Corporation All Rights Reserved Module Name:    hw.h Abstract:    Declaration of MSVAD HW class.     MSVAD HW has an array for storing mixer and volume settings    for the topology. --*/ #ifndef _MSVAD_HW_H_#define _MSVAD_HW_H_ //=============================================================================// Defines//=============================================================================// BUGBUG we should dynamically allocate this...#define MAX_TOPOLOGY_NODES      20 //=============================================================================// Classes//=============================================================================///////////////////////////////////////////////////////////////////////////////// CMSVADHW// This class represents virtual MSVAD HW. An array representing volume// registers and mute registers. class CMSVADHW {protected:    BOOL  m_MuteControls[MAX_TOPOLOGY_NODES];    LONG  m_VolumeControls[MAX_TOPOLOGY_NODES];    ULONG m_ulMux;            // Mux selection    BOOL  m_bDevSpecific;    INT   m_iDevSpecific;    UINT  m_uiDevSpecific; public:    CMSVADHW();        void MixerReset();    BOOL bGetDevSpecific();    void bSetDevSpecific(IN BOOL bDevSpecific);     INT  iGetDevSpecific();    void iSetDevSpecific(IN INT iDevSpecific);     UINT  uiGetDevSpecific();    void  uiSetDevSpecific(IN UINT uiDevSpecific);	    BOOL  GetMixerMute(IN ULONG ulNode);    void  SetMixerMute(IN ULONG ulNode, IN BOOL fMute);    ULONG GetMixerMux();    void  SetMixerMux(IN ULONG ulNode);    LONG  GetMixerVolume(IN ULONG ulNode, IN LONG lChannel);    void  SetMixerVolume(IN ULONG ulNode, IN LONG lChannel, IN LONG lVolume);};typedef CMSVADHW* PCMSVADHW; #endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t