Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f74944d2
Commit
f74944d2
authored
Sep 08, 2010
by
Austin English
Committed by
Alexandre Julliard
Sep 09, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevapi: Remove an unused variable.
parent
7bf924f6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
audio.c
dlls/mmdevapi/audio.c
+1
-2
No files found.
dlls/mmdevapi/audio.c
View file @
f74944d2
...
...
@@ -1370,7 +1370,7 @@ static HRESULT WINAPI ACC_GetBuffer(IAudioCaptureClient *iface, BYTE **data, UIN
ACCapture
*
This
=
(
ACCapture
*
)
iface
;
HRESULT
hr
;
DWORD
block
=
This
->
parent
->
pwfx
->
nBlockAlign
;
DWORD
ofs
,
bufsize
;
DWORD
ofs
;
TRACE
(
"(%p)->(%p,%p,%p,%p,%p)
\n
"
,
This
,
data
,
frames
,
flags
,
devpos
,
qpcpos
);
if
(
!
data
)
...
...
@@ -1387,7 +1387,6 @@ static HRESULT WINAPI ACC_GetBuffer(IAudioCaptureClient *iface, BYTE **data, UIN
goto
out
;
IAudioCaptureClient_GetNextPacketSize
(
iface
,
frames
);
ofs
=
This
->
parent
->
ofs
;
bufsize
=
This
->
parent
->
bufsize
;
if
(
(
ofs
*
block
)
%
This
->
parent
->
psize
)
ERR
(
"Unaligned offset %u with %u
\n
"
,
ofs
*
block
,
This
->
parent
->
psize
);
*
data
=
This
->
parent
->
buffer
+
ofs
*
block
;
...
...
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