ReactOS  0.4.13-dev-1174-gdff75d7
audiovolume.c File Reference
#include "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "winreg.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "ole2.h"
#include "mmdeviceapi.h"
#include "mmsystem.h"
#include "dsound.h"
#include "audioclient.h"
#include "endpointvolume.h"
#include "audiopolicy.h"
#include "mmdevapi.h"
Include dependency graph for audiovolume.c:

Go to the source code of this file.

Classes

struct  AEVImpl
 

Macros

#define COBJMACROS
 

Typedefs

typedef struct AEVImpl AEVImpl
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (mmdevapi)
 
static AEVImplimpl_from_IAudioEndpointVolumeEx (IAudioEndpointVolumeEx *iface)
 
static void AudioEndpointVolume_Destroy (AEVImpl *This)
 
static HRESULT WINAPI AEV_QueryInterface (IAudioEndpointVolumeEx *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI AEV_AddRef (IAudioEndpointVolumeEx *iface)
 
static ULONG WINAPI AEV_Release (IAudioEndpointVolumeEx *iface)
 
static HRESULT WINAPI AEV_RegisterControlChangeNotify (IAudioEndpointVolumeEx *iface, IAudioEndpointVolumeCallback *notify)
 
static HRESULT WINAPI AEV_UnregisterControlChangeNotify (IAudioEndpointVolumeEx *iface, IAudioEndpointVolumeCallback *notify)
 
static HRESULT WINAPI AEV_GetChannelCount (IAudioEndpointVolumeEx *iface, UINT *count)
 
static HRESULT WINAPI AEV_SetMasterVolumeLevel (IAudioEndpointVolumeEx *iface, float leveldb, const GUID *ctx)
 
static HRESULT WINAPI AEV_SetMasterVolumeLevelScalar (IAudioEndpointVolumeEx *iface, float level, const GUID *ctx)
 
static HRESULT WINAPI AEV_GetMasterVolumeLevel (IAudioEndpointVolumeEx *iface, float *leveldb)
 
static HRESULT WINAPI AEV_GetMasterVolumeLevelScalar (IAudioEndpointVolumeEx *iface, float *level)
 
static HRESULT WINAPI AEV_SetChannelVolumeLevel (IAudioEndpointVolumeEx *iface, UINT chan, float leveldb, const GUID *ctx)
 
static HRESULT WINAPI AEV_SetChannelVolumeLevelScalar (IAudioEndpointVolumeEx *iface, UINT chan, float level, const GUID *ctx)
 
static HRESULT WINAPI AEV_GetChannelVolumeLevel (IAudioEndpointVolumeEx *iface, UINT chan, float *leveldb)
 
static HRESULT WINAPI AEV_GetChannelVolumeLevelScalar (IAudioEndpointVolumeEx *iface, UINT chan, float *level)
 
static HRESULT WINAPI AEV_SetMute (IAudioEndpointVolumeEx *iface, BOOL mute, const GUID *ctx)
 
static HRESULT WINAPI AEV_GetMute (IAudioEndpointVolumeEx *iface, BOOL *mute)
 
static HRESULT WINAPI AEV_GetVolumeStepInfo (IAudioEndpointVolumeEx *iface, UINT *stepsize, UINT *stepcount)
 
static HRESULT WINAPI AEV_VolumeStepUp (IAudioEndpointVolumeEx *iface, const GUID *ctx)
 
static HRESULT WINAPI AEV_VolumeStepDown (IAudioEndpointVolumeEx *iface, const GUID *ctx)
 
static HRESULT WINAPI AEV_QueryHardwareSupport (IAudioEndpointVolumeEx *iface, DWORD *mask)
 
static HRESULT WINAPI AEV_GetVolumeRange (IAudioEndpointVolumeEx *iface, float *mindb, float *maxdb, float *inc)
 
static HRESULT WINAPI AEV_GetVolumeRangeChannel (IAudioEndpointVolumeEx *iface, UINT chan, float *mindb, float *maxdb, float *inc)
 
HRESULT AudioEndpointVolume_Create (MMDevice *parent, IAudioEndpointVolumeEx **ppv)
 

Variables

static const IAudioEndpointVolumeExVtbl AEVImpl_Vtbl
 

Macro Definition Documentation

◆ COBJMACROS

#define COBJMACROS

Definition at line 19 of file audiovolume.c.

Typedef Documentation

◆ AEVImpl

Function Documentation

◆ AEV_AddRef()

static ULONG WINAPI AEV_AddRef ( IAudioEndpointVolumeEx iface)
static

Definition at line 78 of file audiovolume.c.

79 {
82  TRACE("(%p) new ref %u\n", This, ref);
83  return ref;
84 }
Definition: send.c:47
GLenum GLint ref
Definition: glext.h:6028
#define TRACE(s)
Definition: solgame.cpp:4
#define InterlockedIncrement
Definition: armddk.h:53
unsigned int ULONG
Definition: retypes.h:1
static AEVImpl * impl_from_IAudioEndpointVolumeEx(IAudioEndpointVolumeEx *iface)
Definition: audiovolume.c:50

◆ AEV_GetChannelCount()

static HRESULT WINAPI AEV_GetChannelCount ( IAudioEndpointVolumeEx iface,
UINT count 
)
static

Definition at line 114 of file audiovolume.c.

115 {
116  TRACE("(%p)->(%p)\n", iface, count);
117  if (!count)
118  return E_POINTER;
119  FIXME("stub\n");
120  return E_NOTIMPL;
121 }
GLuint GLuint GLsizei count
Definition: gl.h:1545
#define FIXME(fmt,...)
Definition: debug.h:110
#define TRACE(s)
Definition: solgame.cpp:4
#define E_NOTIMPL
Definition: ddrawi.h:99
#define E_POINTER
Definition: winerror.h:2365

◆ AEV_GetChannelVolumeLevel()

static HRESULT WINAPI AEV_GetChannelVolumeLevel ( IAudioEndpointVolumeEx iface,
UINT  chan,
float *  leveldb 
)
static

Definition at line 181 of file audiovolume.c.

182 {
183  TRACE("(%p)->(%u,%p)\n", iface, chan, leveldb);
184  if (!leveldb)
185  return E_POINTER;
186  FIXME("stub\n");
187  return E_NOTIMPL;
188 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define TRACE(s)
Definition: solgame.cpp:4
#define E_NOTIMPL
Definition: ddrawi.h:99
#define E_POINTER
Definition: winerror.h:2365

◆ AEV_GetChannelVolumeLevelScalar()

static HRESULT WINAPI AEV_GetChannelVolumeLevelScalar ( IAudioEndpointVolumeEx iface,
UINT  chan,
float *  level 
)
static

Definition at line 190 of file audiovolume.c.

191 {
192  TRACE("(%p)->(%u,%p)\n", iface, chan, level);
193  if (!level)
194  return E_POINTER;
195  FIXME("stub\n");
196  return E_NOTIMPL;
197 }
GLint level
Definition: gl.h:1546
#define FIXME(fmt,...)
Definition: debug.h:110
#define TRACE(s)
Definition: solgame.cpp:4
#define E_NOTIMPL
Definition: ddrawi.h:99
#define E_POINTER
Definition: winerror.h:2365

◆ AEV_GetMasterVolumeLevel()

static HRESULT WINAPI AEV_GetMasterVolumeLevel ( IAudioEndpointVolumeEx iface,
float *  leveldb 
)
static

Definition at line 144 of file audiovolume.c.

145 {
147 
148  TRACE("(%p)->(%p)\n", iface, leveldb);
149 
150  if (!leveldb)
151  return E_POINTER;
152 
153  *leveldb = This->master_vol;
154 
155  return S_OK;
156 }
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59
#define E_POINTER
Definition: winerror.h:2365
static AEVImpl * impl_from_IAudioEndpointVolumeEx(IAudioEndpointVolumeEx *iface)
Definition: audiovolume.c:50

◆ AEV_GetMasterVolumeLevelScalar()

static HRESULT WINAPI AEV_GetMasterVolumeLevelScalar ( IAudioEndpointVolumeEx iface,
float *  level 
)
static

Definition at line 158 of file audiovolume.c.

159 {
160  TRACE("(%p)->(%p)\n", iface, level);
161  if (!level)
162  return E_POINTER;
163  FIXME("stub\n");
164  return E_NOTIMPL;
165 }
GLint level
Definition: gl.h:1546
#define FIXME(fmt,...)
Definition: debug.h:110
#define TRACE(s)
Definition: solgame.cpp:4
#define E_NOTIMPL
Definition: ddrawi.h:99
#define E_POINTER
Definition: winerror.h:2365

◆ AEV_GetMute()

static HRESULT WINAPI AEV_GetMute ( IAudioEndpointVolumeEx iface,
BOOL mute 
)
static

Definition at line 213 of file audiovolume.c.

214 {
216 
217  TRACE("(%p)->(%p)\n", iface, mute);
218 
219  if (!mute)
220  return E_POINTER;
221 
222  *mute = This->mute;
223 
224  return S_OK;
225 }
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59
#define E_POINTER
Definition: winerror.h:2365
static AEVImpl * impl_from_IAudioEndpointVolumeEx(IAudioEndpointVolumeEx *iface)
Definition: audiovolume.c:50

◆ AEV_GetVolumeRange()

static HRESULT WINAPI AEV_GetVolumeRange ( IAudioEndpointVolumeEx iface,
float *  mindb,
float *  maxdb,
float *  inc 
)
static

Definition at line 259 of file audiovolume.c.

260 {
261  TRACE("(%p)->(%p,%p,%p)\n", iface, mindb, maxdb, inc);
262 
263  if (!mindb || !maxdb || !inc)
264  return E_POINTER;
265 
266  *mindb = -100.f;
267  *maxdb = 0.f;
268  *inc = 1.f;
269 
270  return S_OK;
271 }
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59
#define E_POINTER
Definition: winerror.h:2365

◆ AEV_GetVolumeRangeChannel()

static HRESULT WINAPI AEV_GetVolumeRangeChannel ( IAudioEndpointVolumeEx iface,
UINT  chan,
float *  mindb,
float *  maxdb,
float *  inc 
)
static

Definition at line 273 of file audiovolume.c.

274 {
275  TRACE("(%p)->(%p,%p,%p)\n", iface, mindb, maxdb, inc);
276  if (!mindb || !maxdb || !inc)
277  return E_POINTER;
278  FIXME("stub\n");
279  return E_NOTIMPL;
280 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define TRACE(s)
Definition: solgame.cpp:4
#define E_NOTIMPL
Definition: ddrawi.h:99
#define E_POINTER
Definition: winerror.h:2365

◆ AEV_GetVolumeStepInfo()

static HRESULT WINAPI AEV_GetVolumeStepInfo ( IAudioEndpointVolumeEx iface,
UINT stepsize,
UINT stepcount 
)
static

Definition at line 227 of file audiovolume.c.

228 {
229  TRACE("(%p)->(%p,%p)\n", iface, stepsize, stepcount);
230  if (!stepsize && !stepcount)
231  return E_POINTER;
232  FIXME("stub\n");
233  return E_NOTIMPL;
234 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define TRACE(s)
Definition: solgame.cpp:4
#define E_NOTIMPL
Definition: ddrawi.h:99
#define E_POINTER
Definition: winerror.h:2365

◆ AEV_QueryHardwareSupport()

static HRESULT WINAPI AEV_QueryHardwareSupport ( IAudioEndpointVolumeEx iface,
DWORD mask 
)
static

Definition at line 250 of file audiovolume.c.

251 {
252  TRACE("(%p)->(%p)\n", iface, mask);
253  if (!mask)
254  return E_POINTER;
255  FIXME("stub\n");
256  return E_NOTIMPL;
257 }
GLenum GLint GLuint mask
Definition: glext.h:6028
#define FIXME(fmt,...)
Definition: debug.h:110
#define TRACE(s)
Definition: solgame.cpp:4
#define E_NOTIMPL
Definition: ddrawi.h:99
#define E_POINTER
Definition: winerror.h:2365

◆ AEV_QueryInterface()

static HRESULT WINAPI AEV_QueryInterface ( IAudioEndpointVolumeEx iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 60 of file audiovolume.c.

61 {
63  TRACE("(%p)->(%s,%p)\n", This, debugstr_guid(riid), ppv);
64  if (!ppv)
65  return E_POINTER;
66  *ppv = NULL;
67  if (IsEqualIID(riid, &IID_IUnknown) ||
68  IsEqualIID(riid, &IID_IAudioEndpointVolume) ||
69  IsEqualIID(riid, &IID_IAudioEndpointVolumeEx)) {
70  *ppv = &This->IAudioEndpointVolumeEx_iface;
71  }
72  else
73  return E_NOINTERFACE;
74  IUnknown_AddRef((IUnknown *)*ppv);
75  return S_OK;
76 }
#define E_NOINTERFACE
Definition: winerror.h:2364
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
smooth NULL
Definition: ftsmooth.c:416
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4
const GUID IID_IUnknown
#define S_OK
Definition: intsafe.h:59
#define E_POINTER
Definition: winerror.h:2365
static AEVImpl * impl_from_IAudioEndpointVolumeEx(IAudioEndpointVolumeEx *iface)
Definition: audiovolume.c:50
#define IsEqualIID(riid1, riid2)
Definition: guiddef.h:95

◆ AEV_RegisterControlChangeNotify()

static HRESULT WINAPI AEV_RegisterControlChangeNotify ( IAudioEndpointVolumeEx iface,
IAudioEndpointVolumeCallback notify 
)
static

Definition at line 96 of file audiovolume.c.

97 {
98  TRACE("(%p)->(%p)\n", iface, notify);
99  if (!notify)
100  return E_POINTER;
101  FIXME("stub\n");
102  return S_OK;
103 }
int notify
Definition: msacm.c:1353
#define FIXME(fmt,...)
Definition: debug.h:110
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59
#define E_POINTER
Definition: winerror.h:2365

◆ AEV_Release()

static ULONG WINAPI AEV_Release ( IAudioEndpointVolumeEx iface)
static

Definition at line 86 of file audiovolume.c.

87 {
90  TRACE("(%p) new ref %u\n", This, ref);
91  if (!ref)
93  return ref;
94 }
Definition: send.c:47
GLenum GLint ref
Definition: glext.h:6028
#define TRACE(s)
Definition: solgame.cpp:4
#define InterlockedDecrement
Definition: armddk.h:52
unsigned int ULONG
Definition: retypes.h:1
static AEVImpl * impl_from_IAudioEndpointVolumeEx(IAudioEndpointVolumeEx *iface)
Definition: audiovolume.c:50
static void AudioEndpointVolume_Destroy(AEVImpl *This)
Definition: audiovolume.c:55

◆ AEV_SetChannelVolumeLevel()

static HRESULT WINAPI AEV_SetChannelVolumeLevel ( IAudioEndpointVolumeEx iface,
UINT  chan,
float  leveldb,
const GUID ctx 
)
static

Definition at line 167 of file audiovolume.c.

168 {
169  TRACE("(%p)->(%f,%s)\n", iface, leveldb, debugstr_guid(ctx));
170  FIXME("stub\n");
171  return E_NOTIMPL;
172 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ AEV_SetChannelVolumeLevelScalar()

static HRESULT WINAPI AEV_SetChannelVolumeLevelScalar ( IAudioEndpointVolumeEx iface,
UINT  chan,
float  level,
const GUID ctx 
)
static

Definition at line 174 of file audiovolume.c.

175 {
176  TRACE("(%p)->(%u,%f,%s)\n", iface, chan, level, debugstr_guid(ctx));
177  FIXME("stub\n");
178  return E_NOTIMPL;
179 }
GLint level
Definition: gl.h:1546
#define FIXME(fmt,...)
Definition: debug.h:110
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ AEV_SetMasterVolumeLevel()

static HRESULT WINAPI AEV_SetMasterVolumeLevel ( IAudioEndpointVolumeEx iface,
float  leveldb,
const GUID ctx 
)
static

Definition at line 123 of file audiovolume.c.

124 {
126 
127  TRACE("(%p)->(%f,%s)\n", iface, leveldb, debugstr_guid(ctx));
128 
129  if(leveldb < -100.f || leveldb > 0.f)
130  return E_INVALIDARG;
131 
132  This->master_vol = leveldb;
133 
134  return S_OK;
135 }
#define E_INVALIDARG
Definition: ddrawi.h:101
#define debugstr_guid
Definition: kernel32.h:35
GLfloat f
Definition: glext.h:7540
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59
static AEVImpl * impl_from_IAudioEndpointVolumeEx(IAudioEndpointVolumeEx *iface)
Definition: audiovolume.c:50

◆ AEV_SetMasterVolumeLevelScalar()

static HRESULT WINAPI AEV_SetMasterVolumeLevelScalar ( IAudioEndpointVolumeEx iface,
float  level,
const GUID ctx 
)
static

Definition at line 137 of file audiovolume.c.

138 {
139  TRACE("(%p)->(%f,%s)\n", iface, level, debugstr_guid(ctx));
140  FIXME("stub\n");
141  return E_NOTIMPL;
142 }
GLint level
Definition: gl.h:1546
#define FIXME(fmt,...)
Definition: debug.h:110
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ AEV_SetMute()

static HRESULT WINAPI AEV_SetMute ( IAudioEndpointVolumeEx iface,
BOOL  mute,
const GUID ctx 
)
static

Definition at line 199 of file audiovolume.c.

200 {
202  HRESULT ret;
203 
204  TRACE("(%p)->(%u,%s)\n", iface, mute, debugstr_guid(ctx));
205 
206  ret = This->mute == mute ? S_FALSE : S_OK;
207 
208  This->mute = mute;
209 
210  return ret;
211 }
#define S_FALSE
Definition: winerror.h:2357
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4
LONG HRESULT
Definition: typedefs.h:77
int ret
#define S_OK
Definition: intsafe.h:59
static AEVImpl * impl_from_IAudioEndpointVolumeEx(IAudioEndpointVolumeEx *iface)
Definition: audiovolume.c:50

◆ AEV_UnregisterControlChangeNotify()

static HRESULT WINAPI AEV_UnregisterControlChangeNotify ( IAudioEndpointVolumeEx iface,
IAudioEndpointVolumeCallback notify 
)
static

Definition at line 105 of file audiovolume.c.

106 {
107  TRACE("(%p)->(%p)\n", iface, notify);
108  if (!notify)
109  return E_POINTER;
110  FIXME("stub\n");
111  return S_OK;
112 }
int notify
Definition: msacm.c:1353
#define FIXME(fmt,...)
Definition: debug.h:110
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59
#define E_POINTER
Definition: winerror.h:2365

◆ AEV_VolumeStepDown()

static HRESULT WINAPI AEV_VolumeStepDown ( IAudioEndpointVolumeEx iface,
const GUID ctx 
)
static

Definition at line 243 of file audiovolume.c.

244 {
245  TRACE("(%p)->(%s)\n", iface, debugstr_guid(ctx));
246  FIXME("stub\n");
247  return E_NOTIMPL;
248 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ AEV_VolumeStepUp()

static HRESULT WINAPI AEV_VolumeStepUp ( IAudioEndpointVolumeEx iface,
const GUID ctx 
)
static

Definition at line 236 of file audiovolume.c.

237 {
238  TRACE("(%p)->(%s)\n", iface, debugstr_guid(ctx));
239  FIXME("stub\n");
240  return E_NOTIMPL;
241 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ AudioEndpointVolume_Create()

HRESULT AudioEndpointVolume_Create ( MMDevice parent,
IAudioEndpointVolumeEx **  ppv 
)

Definition at line 307 of file audiovolume.c.

308 {
309  AEVImpl *This;
310 
311  *ppv = NULL;
313  if (!This)
314  return E_OUTOFMEMORY;
315  This->IAudioEndpointVolumeEx_iface.lpVtbl = &AEVImpl_Vtbl;
316  This->ref = 1;
317 
318  *ppv = &This->IAudioEndpointVolumeEx_iface;
319  return S_OK;
320 }
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
smooth NULL
Definition: ftsmooth.c:416
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
#define S_OK
Definition: intsafe.h:59
#define HEAP_ZERO_MEMORY
Definition: compat.h:123
static const IAudioEndpointVolumeExVtbl AEVImpl_Vtbl
Definition: audiovolume.c:282

Referenced by MMDevice_Activate().

◆ AudioEndpointVolume_Destroy()

static void AudioEndpointVolume_Destroy ( AEVImpl This)
static

Definition at line 55 of file audiovolume.c.

56 {
58 }
#define GetProcessHeap()
Definition: compat.h:395
#define HeapFree(x, y, z)
Definition: compat.h:394

Referenced by AEV_Release().

◆ impl_from_IAudioEndpointVolumeEx()

static AEVImpl* impl_from_IAudioEndpointVolumeEx ( IAudioEndpointVolumeEx iface)
inlinestatic

Definition at line 50 of file audiovolume.c.

51 {
52  return CONTAINING_RECORD(iface, AEVImpl, IAudioEndpointVolumeEx_iface);
53 }
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560

Referenced by AEV_AddRef(), AEV_GetMasterVolumeLevel(), AEV_GetMute(), AEV_QueryInterface(), AEV_Release(), AEV_SetMasterVolumeLevel(), and AEV_SetMute().

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( mmdevapi  )

Variable Documentation

◆ AEVImpl_Vtbl

const IAudioEndpointVolumeExVtbl AEVImpl_Vtbl
static
Initial value:
= {
}
static HRESULT WINAPI AEV_RegisterControlChangeNotify(IAudioEndpointVolumeEx *iface, IAudioEndpointVolumeCallback *notify)
Definition: audiovolume.c:96
static HRESULT WINAPI AEV_SetMasterVolumeLevel(IAudioEndpointVolumeEx *iface, float leveldb, const GUID *ctx)
Definition: audiovolume.c:123
static HRESULT WINAPI AEV_QueryInterface(IAudioEndpointVolumeEx *iface, REFIID riid, void **ppv)
Definition: audiovolume.c:60
static HRESULT WINAPI AEV_GetMasterVolumeLevelScalar(IAudioEndpointVolumeEx *iface, float *level)
Definition: audiovolume.c:158
static HRESULT WINAPI AEV_GetVolumeRange(IAudioEndpointVolumeEx *iface, float *mindb, float *maxdb, float *inc)
Definition: audiovolume.c:259
static HRESULT WINAPI AEV_VolumeStepUp(IAudioEndpointVolumeEx *iface, const GUID *ctx)
Definition: audiovolume.c:236
static ULONG WINAPI AEV_AddRef(IAudioEndpointVolumeEx *iface)
Definition: audiovolume.c:78
static ULONG WINAPI AEV_Release(IAudioEndpointVolumeEx *iface)
Definition: audiovolume.c:86
static HRESULT WINAPI AEV_GetVolumeRangeChannel(IAudioEndpointVolumeEx *iface, UINT chan, float *mindb, float *maxdb, float *inc)
Definition: audiovolume.c:273
static HRESULT WINAPI AEV_GetMasterVolumeLevel(IAudioEndpointVolumeEx *iface, float *leveldb)
Definition: audiovolume.c:144
static HRESULT WINAPI AEV_SetChannelVolumeLevel(IAudioEndpointVolumeEx *iface, UINT chan, float leveldb, const GUID *ctx)
Definition: audiovolume.c:167
static HRESULT WINAPI AEV_GetVolumeStepInfo(IAudioEndpointVolumeEx *iface, UINT *stepsize, UINT *stepcount)
Definition: audiovolume.c:227
static HRESULT WINAPI AEV_UnregisterControlChangeNotify(IAudioEndpointVolumeEx *iface, IAudioEndpointVolumeCallback *notify)
Definition: audiovolume.c:105
static HRESULT WINAPI AEV_GetChannelVolumeLevelScalar(IAudioEndpointVolumeEx *iface, UINT chan, float *level)
Definition: audiovolume.c:190
static HRESULT WINAPI AEV_SetChannelVolumeLevelScalar(IAudioEndpointVolumeEx *iface, UINT chan, float level, const GUID *ctx)
Definition: audiovolume.c:174
static HRESULT WINAPI AEV_GetChannelCount(IAudioEndpointVolumeEx *iface, UINT *count)
Definition: audiovolume.c:114
static HRESULT WINAPI AEV_SetMute(IAudioEndpointVolumeEx *iface, BOOL mute, const GUID *ctx)
Definition: audiovolume.c:199
static HRESULT WINAPI AEV_QueryHardwareSupport(IAudioEndpointVolumeEx *iface, DWORD *mask)
Definition: audiovolume.c:250
static HRESULT WINAPI AEV_SetMasterVolumeLevelScalar(IAudioEndpointVolumeEx *iface, float level, const GUID *ctx)
Definition: audiovolume.c:137
static HRESULT WINAPI AEV_VolumeStepDown(IAudioEndpointVolumeEx *iface, const GUID *ctx)
Definition: audiovolume.c:243
static HRESULT WINAPI AEV_GetMute(IAudioEndpointVolumeEx *iface, BOOL *mute)
Definition: audiovolume.c:213
static HRESULT WINAPI AEV_GetChannelVolumeLevel(IAudioEndpointVolumeEx *iface, UINT chan, float *leveldb)
Definition: audiovolume.c:181

Definition at line 282 of file audiovolume.c.

Referenced by AudioEndpointVolume_Create().