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
ba2a9a06
Commit
ba2a9a06
authored
Jan 04, 2000
by
Eric Pouech
Committed by
Alexandre Julliard
Jan 04, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for WODM_BREAKLOOP message.
parent
1bf5dea2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
wavemap.c
dlls/winmm/wavemap/wavemap.c
+7
-2
No files found.
dlls/winmm/wavemap/wavemap.c
View file @
ba2a9a06
...
...
@@ -49,7 +49,7 @@ static void CALLBACK WAVEMAP_DstCallback(HDRVR hDev, UINT uMsg, DWORD dwInstance
{
WAVEMAPDATA
*
wom
=
(
WAVEMAPDATA
*
)
dwInstance
;
TRACE
(
"(0x%x %u %ld %l
d %ld
);
\n
"
,
hDev
,
uMsg
,
dwInstance
,
dwParam1
,
dwParam2
);
TRACE
(
"(0x%x %u %ld %l
x %lx
);
\n
"
,
hDev
,
uMsg
,
dwInstance
,
dwParam1
,
dwParam2
);
switch
(
uMsg
)
{
case
WOM_OPEN
:
...
...
@@ -333,6 +333,11 @@ static DWORD wodReset(WAVEMAPDATA* wom)
return
waveOutReset
(
wom
->
hWave
);
}
static
DWORD
wodBreakLoop
(
WAVEMAPDATA
*
wom
)
{
return
waveOutBreakLoop
(
wom
->
hWave
);
}
/**************************************************************************
* WAVEMAP_wodMessage [sample driver]
*/
...
...
@@ -354,7 +359,7 @@ DWORD WINAPI WAVEMAP_wodMessage(UINT wDevID, UINT wMsg, DWORD dwUser,
case
WODM_WRITE
:
return
wodWrite
((
WAVEMAPDATA
*
)
dwUser
,
(
LPWAVEHDR
)
dwParam1
,
dwParam2
);
case
WODM_PAUSE
:
return
wodPause
((
WAVEMAPDATA
*
)
dwUser
);
case
WODM_GETPOS
:
return
wodGetPosition
((
WAVEMAPDATA
*
)
dwUser
,
(
LPMMTIME
)
dwParam1
,
dwParam2
);
case
WODM_BREAKLOOP
:
return
MMSYSERR_NOTSUPPORTED
;
case
WODM_BREAKLOOP
:
return
wodBreakLoop
((
WAVEMAPDATA
*
)
dwUser
)
;
case
WODM_PREPARE
:
return
wodPrepare
((
WAVEMAPDATA
*
)
dwUser
,
(
LPWAVEHDR
)
dwParam1
,
dwParam2
);
case
WODM_UNPREPARE
:
return
wodUnprepare
((
WAVEMAPDATA
*
)
dwUser
,
(
LPWAVEHDR
)
dwParam1
,
dwParam2
);
case
WODM_GETDEVCAPS
:
return
wodGetDevCaps
(
wDevID
,
(
WAVEMAPDATA
*
)
dwUser
,
(
LPWAVEOUTCAPSA
)
dwParam1
,
dwParam2
);
...
...
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