Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexey Alyaev
wine
Commits
d34bc744
Commit
d34bc744
authored
24 years ago
by
Ulrich Weigand
Committed by
Alexandre Julliard
24 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Compile fix if HAVE_OSS is not defined.
parent
391cd11d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/winmm/wineoss/oss.c
+7
-0
7 additions, 0 deletions
dlls/winmm/wineoss/oss.c
with
7 additions
and
0 deletions
dlls/winmm/wineoss/oss.c
+
7
−
0
View file @
d34bc744
...
...
@@ -12,6 +12,8 @@
#include
"mmddk.h"
#include
"oss.h"
#ifdef HAVE_OSS
static
struct
WINE_OSS
*
oss
=
NULL
;
/**************************************************************************
...
...
@@ -39,6 +41,9 @@ static DWORD OSS_drvClose(DWORD dwDevID)
return
0
;
}
#endif
/**************************************************************************
* OSS_DriverProc [internal]
*/
...
...
@@ -49,6 +54,7 @@ LONG CALLBACK OSS_DriverProc(DWORD dwDevID, HDRVR hDriv, DWORD wMsg,
/* EPP dwDevID, hDriv, wMsg, dwParam1, dwParam2); */
switch
(
wMsg
)
{
#ifdef HAVE_OSS
case
DRV_LOAD
:
OSS_WaveInit
();
OSS_MidiInit
();
return
1
;
case
DRV_FREE
:
return
1
;
case
DRV_OPEN
:
return
OSS_drvOpen
((
LPSTR
)
dwParam1
);
...
...
@@ -59,6 +65,7 @@ LONG CALLBACK OSS_DriverProc(DWORD dwDevID, HDRVR hDriv, DWORD wMsg,
case
DRV_CONFIGURE
:
MessageBoxA
(
0
,
"OSS MultiMedia Driver !"
,
"OSS Driver"
,
MB_OK
);
return
1
;
case
DRV_INSTALL
:
return
DRVCNF_RESTART
;
case
DRV_REMOVE
:
return
DRVCNF_RESTART
;
#endif
default:
return
DefDriverProc
(
dwDevID
,
hDriv
,
wMsg
,
dwParam1
,
dwParam2
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment