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
b8742935
Commit
b8742935
authored
Mar 15, 1999
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 15, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetic fixes.
parent
d6bbbeb9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
mcimidi.c
multimedia/mcimidi.c
+4
-4
mciwave.c
multimedia/mciwave.c
+0
-0
mmio.c
multimedia/mmio.c
+4
-4
No files found.
multimedia/mcimidi.c
View file @
b8742935
...
...
@@ -1471,10 +1471,10 @@ static DWORD MIDI_mciSeek(UINT16 wDevID, DWORD dwFlags, LPMCI_SEEK_PARMS lpParms
*======================================================================*/
/**************************************************************************
* MCIMIDI_DriverProc
32
[sample driver]
* MCIMIDI_DriverProc
[sample driver]
*/
LONG
MCIMIDI_DriverProc
(
DWORD
dwDevID
,
HDRVR16
hDriv
,
DWORD
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
)
DWORD
dwParam1
,
DWORD
dwParam2
)
{
switch
(
wMsg
)
{
case
DRV_LOAD
:
return
1
;
...
...
@@ -1488,7 +1488,7 @@ LONG MCIMIDI_DriverProc(DWORD dwDevID, HDRVR16 hDriv, DWORD wMsg,
case
DRV_INSTALL
:
return
DRVCNF_RESTART
;
case
DRV_REMOVE
:
return
DRVCNF_RESTART
;
#ifdef SNDCTL_MIDI_INFO
case
MCI_OPEN_DRIVER
:
return
MIDI_mciOpen
(
dwDevID
,
dwParam1
,
(
LPMCI_OPEN_PARMSA
)
dwParam2
);
case
MCI_OPEN_DRIVER
:
return
MIDI_mciOpen
(
dwDevID
,
dwParam1
,
(
LPMCI_OPEN_PARMSA
)
dwParam2
);
case
MCI_CLOSE_DRIVER
:
return
MIDI_mciClose
(
dwDevID
,
dwParam1
,
(
LPMCI_GENERIC_PARMS
)
dwParam2
);
case
MCI_PLAY
:
return
MIDI_mciPlay
(
dwDevID
,
dwParam1
,
(
LPMCI_PLAY_PARMS
)
dwParam2
);
case
MCI_RECORD
:
return
MIDI_mciRecord
(
dwDevID
,
dwParam1
,
(
LPMCI_RECORD_PARMS
)
dwParam2
);
...
...
@@ -1498,7 +1498,7 @@ LONG MCIMIDI_DriverProc(DWORD dwDevID, HDRVR16 hDriv, DWORD wMsg,
case
MCI_RESUME
:
return
MIDI_mciResume
(
dwDevID
,
dwParam1
,
(
LPMCI_GENERIC_PARMS
)
dwParam2
);
case
MCI_STATUS
:
return
MIDI_mciStatus
(
dwDevID
,
dwParam1
,
(
LPMCI_STATUS_PARMS
)
dwParam2
);
case
MCI_GETDEVCAPS
:
return
MIDI_mciGetDevCaps
(
dwDevID
,
dwParam1
,
(
LPMCI_GETDEVCAPS_PARMS
)
dwParam2
);
case
MCI_INFO
:
return
MIDI_mciInfo
(
dwDevID
,
dwParam1
,
(
LPMCI_INFO_PARMSA
)
dwParam2
);
case
MCI_INFO
:
return
MIDI_mciInfo
(
dwDevID
,
dwParam1
,
(
LPMCI_INFO_PARMSA
)
dwParam2
);
case
MCI_SEEK
:
return
MIDI_mciSeek
(
dwDevID
,
dwParam1
,
(
LPMCI_SEEK_PARMS
)
dwParam2
);
#else
case
MCI_OPEN_DRIVER
:
...
...
multimedia/mciwave.c
View file @
b8742935
This diff is collapsed.
Click to expand it.
multimedia/mmio.c
View file @
b8742935
...
...
@@ -761,7 +761,7 @@ UINT WINAPI mmioAdvance(HMMIO hmmio,MMIOINFO*lpmmioinfo,UINT uFlags)
mmioSendMessage
(
hmmio
,
MMIOM_READ
,
(
LPARAM
)
lpmmioinfo
->
pchBuffer
,
(
LPARAM
)
lpmmioinfo
->
cchBuffer
);
#if 0 /* mmioFlush
32
already did the writing */
#if 0 /* mmioFlush already did the writing */
if (uFlags == MMIO_WRITE)
mmioSendMessage(hmmio, MMIOM_WRITE,
(LPARAM) lpmmioinfo->pchBuffer,
...
...
@@ -795,7 +795,7 @@ UINT16 WINAPI mmioAdvance16(HMMIO16 hmmio,MMIOINFO16*lpmmioinfo,UINT16 uFlags)
mmioSendMessage
(
hmmio
,
MMIOM_READ
,
(
LPARAM
)
lpmmioinfo
->
pchBuffer
,
(
LPARAM
)
lpmmioinfo
->
cchBuffer
);
#if 0 /* mmioFlush
32
already did the writing */
#if 0 /* mmioFlush already did the writing */
if (uFlags == MMIO_WRITE)
mmioSendMessage(hmmio, MMIOM_WRITE,
(LPARAM) lpmmioinfo->pchBuffer,
...
...
@@ -866,7 +866,7 @@ LPMMIOPROC16 WINAPI mmioInstallIOProc16(FOURCC fccIOProc,
}
/**************************************************************************
* mmioInstallIOProc
32A
[WINMM.120]
* mmioInstallIOProc
A
[WINMM.120]
*/
LPMMIOPROC
WINAPI
mmioInstallIOProcA
(
FOURCC
fccIOProc
,
LPMMIOPROC
pIOProc
,
DWORD
dwFlags
)
...
...
@@ -1090,7 +1090,7 @@ UINT16 WINAPI mmioCreateChunk16(HMMIO16 hmmio, MMCKINFO * lpck, UINT16 uFlags)
lpck
->
dwFlags
=
MMIO_DIRTY
;
ix
=
mmioWrite
(
hmmio
,
(
LPSTR
)
lpck
,
lpck
->
dwDataOffset
-
dwOldPos
);
TRACE
(
mmio
,
"after
_lwrite32
ix = %ld req = %ld, errno = %d
\n
"
,
ix
,
lpck
->
dwDataOffset
-
dwOldPos
,
errno
);
TRACE
(
mmio
,
"after
mmioWrite
ix = %ld req = %ld, errno = %d
\n
"
,
ix
,
lpck
->
dwDataOffset
-
dwOldPos
,
errno
);
if
(
ix
<
lpck
->
dwDataOffset
-
dwOldPos
)
{
mmioSeek
(
hmmio
,
dwOldPos
,
SEEK_SET
);
...
...
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