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
87532fda
Commit
87532fda
authored
Apr 19, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciseq: Remove unused variable.
parent
7d2c11e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
mcimidi.c
dlls/mciseq/mcimidi.c
+3
-4
No files found.
dlls/mciseq/mcimidi.c
View file @
87532fda
...
...
@@ -1190,7 +1190,6 @@ static DWORD MIDI_mciRecord(UINT wDevID, DWORD dwFlags, LPMCI_RECORD_PARMS lpPar
{
int
start
,
end
;
MIDIHDR
midiHdr
;
DWORD
dwRet
;
WINE_MCIMIDI
*
wmm
=
MIDI_mciGetOpenDev
(
wDevID
);
TRACE
(
"(%04X, %08X, %p);
\n
"
,
wDevID
,
dwFlags
,
lpParms
);
...
...
@@ -1216,7 +1215,7 @@ static DWORD MIDI_mciRecord(UINT wDevID, DWORD dwFlags, LPMCI_RECORD_PARMS lpPar
midiHdr
.
dwBufferLength
=
1024
;
midiHdr
.
dwUser
=
0L
;
midiHdr
.
dwFlags
=
0L
;
dwRet
=
midiInPrepareHeader
((
HMIDIIN
)
wmm
->
hMidi
,
&
midiHdr
,
sizeof
(
MIDIHDR
));
midiInPrepareHeader
((
HMIDIIN
)
wmm
->
hMidi
,
&
midiHdr
,
sizeof
(
MIDIHDR
));
TRACE
(
"After MIDM_PREPARE
\n
"
);
wmm
->
dwStatus
=
MCI_MODE_RECORD
;
/* FIXME: there is no buffer added */
...
...
@@ -1224,12 +1223,12 @@ static DWORD MIDI_mciRecord(UINT wDevID, DWORD dwFlags, LPMCI_RECORD_PARMS lpPar
TRACE
(
"wmm->dwStatus=%p %d
\n
"
,
&
wmm
->
dwStatus
,
wmm
->
dwStatus
);
midiHdr
.
dwBytesRecorded
=
0
;
dwRet
=
midiInStart
((
HMIDIIN
)
wmm
->
hMidi
);
midiInStart
((
HMIDIIN
)
wmm
->
hMidi
);
TRACE
(
"midiInStart => dwBytesRecorded=%u
\n
"
,
midiHdr
.
dwBytesRecorded
);
if
(
midiHdr
.
dwBytesRecorded
==
0
)
break
;
}
TRACE
(
"Before MIDM_UNPREPARE
\n
"
);
dwRet
=
midiInUnprepareHeader
((
HMIDIIN
)
wmm
->
hMidi
,
&
midiHdr
,
sizeof
(
MIDIHDR
));
midiInUnprepareHeader
((
HMIDIIN
)
wmm
->
hMidi
,
&
midiHdr
,
sizeof
(
MIDIHDR
));
TRACE
(
"After MIDM_UNPREPARE
\n
"
);
HeapFree
(
GetProcessHeap
(),
0
,
midiHdr
.
lpData
);
midiHdr
.
lpData
=
NULL
;
...
...
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