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
ba7d2cd3
Commit
ba7d2cd3
authored
Apr 21, 2010
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Apr 21, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winealsa.drv: Clean up DriverProc.
parent
68028662
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
alsa.c
dlls/winealsa.drv/alsa.c
+11
-10
No files found.
dlls/winealsa.drv/alsa.c
View file @
ba7d2cd3
...
...
@@ -727,18 +727,19 @@ LRESULT CALLBACK ALSA_DriverProc(DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg,
#ifdef HAVE_ALSA
case
DRV_LOAD
:
ALSA_WaveInit
();
ALSA_MidiInit
();
return
1
;
case
DRV_
FREE
:
return
1
;
case
DRV_
OPEN
:
return
1
;
case
DRV_
CLOSE
:
return
1
;
case
DRV_
ENABLE
:
return
1
;
case
DRV_
DISABLE
:
return
1
;
case
DRV_QUERYCONFIGURE
:
return
1
;
case
DRV_FREE
:
case
DRV_
OPEN
:
case
DRV_
CLOSE
:
case
DRV_
ENABLE
:
case
DRV_
DISABLE
:
case
DRV_
QUERYCONFIGURE
:
return
1
;
case
DRV_CONFIGURE
:
MessageBoxA
(
0
,
"ALSA MultiMedia Driver !"
,
"ALSA Driver"
,
MB_OK
);
return
1
;
case
DRV_INSTALL
:
return
DRVCNF_RESTART
;
case
DRV_REMOVE
:
return
DRVCNF_RESTART
;
case
DRV_INSTALL
:
case
DRV_REMOVE
:
return
DRV_SUCCESS
;
#endif
default:
return
DefDriverProc
(
dwDevID
,
hDriv
,
wMsg
,
dwParam1
,
dwParam2
)
;
return
0
;
}
}
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