Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e8f7ddf7
Commit
e8f7ddf7
authored
Jan 12, 2012
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Drop "Capture" from the IDirectSoundNotify method names.
parent
f1d74149
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
15 deletions
+11
-15
capture.c
dlls/dsound/capture.c
+11
-15
No files found.
dlls/dsound/capture.c
View file @
e8f7ddf7
...
@@ -56,12 +56,10 @@ struct IDirectSoundCaptureNotifyImpl
...
@@ -56,12 +56,10 @@ struct IDirectSoundCaptureNotifyImpl
};
};
/*******************************************************************************
/*******************************************************************************
*
IDirectSoundCapture
Notify
*
IDirectSound
Notify
*/
*/
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(
...
@@ -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
IDirectSound
CaptureNotifyImpl_AddRef
(
LPDIRECTSOUNDNOTIFY
iface
)
static
ULONG
WINAPI
IDirectSound
NotifyImpl_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
...
@@ -82,7 +80,7 @@ static ULONG WINAPI IDirectSoundCaptureNotifyImpl_AddRef(LPDIRECTSOUNDNOTIFY ifa
return
ref
;
return
ref
;
}
}
static
ULONG
WINAPI
IDirectSound
CaptureNotifyImpl_Release
(
LPDIRECTSOUNDNOTIFY
iface
)
static
ULONG
WINAPI
IDirectSound
NotifyImpl_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
...
@@ -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(
...
@@ -144,10 +140,10 @@ static HRESULT WINAPI IDirectSoundCaptureNotifyImpl_SetNotificationPositions(
static
const
IDirectSoundNotifyVtbl
dscnvt
=
static
const
IDirectSoundNotifyVtbl
dscnvt
=
{
{
IDirectSound
Capture
NotifyImpl_QueryInterface
,
IDirectSoundNotifyImpl_QueryInterface
,
IDirectSound
Capture
NotifyImpl_AddRef
,
IDirectSoundNotifyImpl_AddRef
,
IDirectSound
Capture
NotifyImpl_Release
,
IDirectSoundNotifyImpl_Release
,
IDirectSound
CaptureNotifyImpl_SetNotificationPositions
,
IDirectSound
NotifyImpl_SetNotificationPositions
};
};
static
HRESULT
IDirectSoundCaptureNotifyImpl_Create
(
static
HRESULT
IDirectSoundCaptureNotifyImpl_Create
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment