dsound: Drop "Capture" from the IDirectSoundNotify method names.
This commit is contained in:
parent
f1d7414971
commit
e8f7ddf774
@ -56,12 +56,10 @@ struct IDirectSoundCaptureNotifyImpl
|
|||||||
};
|
};
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* IDirectSoundCaptureNotify
|
* IDirectSoundNotify
|
||||||
*/
|
*/
|
||||||
static HRESULT WINAPI IDirectSoundCaptureNotifyImpl_QueryInterface(
|
static HRESULT WINAPI IDirectSoundNotifyImpl_QueryInterface(IDirectSoundNotify *iface, REFIID riid,
|
||||||
LPDIRECTSOUNDNOTIFY iface,
|
void **ppobj)
|
||||||
REFIID riid,
|
|
||||||
LPVOID *ppobj)
|
|
||||||
{
|
{
|
||||||
IDirectSoundCaptureNotifyImpl *This = (IDirectSoundCaptureNotifyImpl *)iface;
|
IDirectSoundCaptureNotifyImpl *This = (IDirectSoundCaptureNotifyImpl *)iface;
|
||||||
TRACE("(%p,%s,%p)\n",This,debugstr_guid(riid),ppobj);
|
TRACE("(%p,%s,%p)\n",This,debugstr_guid(riid),ppobj);
|
||||||
@ -74,7 +72,7 @@ static HRESULT WINAPI IDirectSoundCaptureNotifyImpl_QueryInterface(
|
|||||||
return IDirectSoundCaptureBuffer_QueryInterface((LPDIRECTSOUNDCAPTUREBUFFER)This->dscb, riid, ppobj);
|
return IDirectSoundCaptureBuffer_QueryInterface((LPDIRECTSOUNDCAPTUREBUFFER)This->dscb, riid, ppobj);
|
||||||
}
|
}
|
||||||
|
|
||||||
static ULONG WINAPI IDirectSoundCaptureNotifyImpl_AddRef(LPDIRECTSOUNDNOTIFY iface)
|
static ULONG WINAPI IDirectSoundNotifyImpl_AddRef(IDirectSoundNotify *iface)
|
||||||
{
|
{
|
||||||
IDirectSoundCaptureNotifyImpl *This = (IDirectSoundCaptureNotifyImpl *)iface;
|
IDirectSoundCaptureNotifyImpl *This = (IDirectSoundCaptureNotifyImpl *)iface;
|
||||||
ULONG ref = InterlockedIncrement(&(This->ref));
|
ULONG ref = InterlockedIncrement(&(This->ref));
|
||||||
@ -82,7 +80,7 @@ static ULONG WINAPI IDirectSoundCaptureNotifyImpl_AddRef(LPDIRECTSOUNDNOTIFY ifa
|
|||||||
return ref;
|
return ref;
|
||||||
}
|
}
|
||||||
|
|
||||||
static ULONG WINAPI IDirectSoundCaptureNotifyImpl_Release(LPDIRECTSOUNDNOTIFY iface)
|
static ULONG WINAPI IDirectSoundNotifyImpl_Release(IDirectSoundNotify *iface)
|
||||||
{
|
{
|
||||||
IDirectSoundCaptureNotifyImpl *This = (IDirectSoundCaptureNotifyImpl *)iface;
|
IDirectSoundCaptureNotifyImpl *This = (IDirectSoundCaptureNotifyImpl *)iface;
|
||||||
ULONG ref = InterlockedDecrement(&(This->ref));
|
ULONG ref = InterlockedDecrement(&(This->ref));
|
||||||
@ -97,10 +95,8 @@ static ULONG WINAPI IDirectSoundCaptureNotifyImpl_Release(LPDIRECTSOUNDNOTIFY if
|
|||||||
return ref;
|
return ref;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectSoundCaptureNotifyImpl_SetNotificationPositions(
|
static HRESULT WINAPI IDirectSoundNotifyImpl_SetNotificationPositions(IDirectSoundNotify *iface,
|
||||||
LPDIRECTSOUNDNOTIFY iface,
|
DWORD howmuch, const DSBPOSITIONNOTIFY *notify)
|
||||||
DWORD howmuch,
|
|
||||||
LPCDSBPOSITIONNOTIFY notify)
|
|
||||||
{
|
{
|
||||||
IDirectSoundCaptureNotifyImpl *This = (IDirectSoundCaptureNotifyImpl *)iface;
|
IDirectSoundCaptureNotifyImpl *This = (IDirectSoundCaptureNotifyImpl *)iface;
|
||||||
TRACE("(%p,0x%08x,%p)\n",This,howmuch,notify);
|
TRACE("(%p,0x%08x,%p)\n",This,howmuch,notify);
|
||||||
@ -144,10 +140,10 @@ static HRESULT WINAPI IDirectSoundCaptureNotifyImpl_SetNotificationPositions(
|
|||||||
|
|
||||||
static const IDirectSoundNotifyVtbl dscnvt =
|
static const IDirectSoundNotifyVtbl dscnvt =
|
||||||
{
|
{
|
||||||
IDirectSoundCaptureNotifyImpl_QueryInterface,
|
IDirectSoundNotifyImpl_QueryInterface,
|
||||||
IDirectSoundCaptureNotifyImpl_AddRef,
|
IDirectSoundNotifyImpl_AddRef,
|
||||||
IDirectSoundCaptureNotifyImpl_Release,
|
IDirectSoundNotifyImpl_Release,
|
||||||
IDirectSoundCaptureNotifyImpl_SetNotificationPositions,
|
IDirectSoundNotifyImpl_SetNotificationPositions
|
||||||
};
|
};
|
||||||
|
|
||||||
static HRESULT IDirectSoundCaptureNotifyImpl_Create(
|
static HRESULT IDirectSoundCaptureNotifyImpl_Create(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user