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
13e405c1
Commit
13e405c1
authored
Apr 16, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Remove unused variable.
parent
5d707bc2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
mixer.c
dlls/dsound/mixer.c
+1
-2
No files found.
dlls/dsound/mixer.c
View file @
13e405c1
...
...
@@ -324,7 +324,7 @@ static inline DWORD DSOUND_BufPtrDiff(DWORD buflen, DWORD ptr1, DWORD ptr2)
void
DSOUND_MixToTemporary
(
const
IDirectSoundBufferImpl
*
dsb
,
DWORD
writepos
,
DWORD
len
,
BOOL
inmixer
)
{
INT
i
,
size
;
BYTE
*
ibp
,
*
obp
,
*
ibp_begin
,
*
obp_begin
;
BYTE
*
ibp
,
*
obp
,
*
obp_begin
;
INT
iAdvance
=
dsb
->
pwfx
->
nBlockAlign
;
INT
oAdvance
=
dsb
->
device
->
pwfx
->
nBlockAlign
;
DWORD
freqAcc
,
target_writepos
=
0
,
overshot
,
maxlen
;
...
...
@@ -340,7 +340,6 @@ void DSOUND_MixToTemporary(const IDirectSoundBufferImpl *dsb, DWORD writepos, DW
maxlen
=
DSOUND_secpos_to_bufpos
(
dsb
,
len
,
0
,
NULL
);
ibp
=
dsb
->
buffer
->
memory
+
writepos
;
ibp_begin
=
dsb
->
buffer
->
memory
;
if
(
!
inmixer
)
obp_begin
=
dsb
->
tmp_buffer
;
else
if
(
dsb
->
device
->
tmp_buffer_len
<
maxlen
||
!
dsb
->
device
->
tmp_buffer
)
...
...
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