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
7c5b9000
Commit
7c5b9000
authored
Aug 23, 2011
by
Jörg Höhle
Committed by
Alexandre Julliard
Nov 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevapi: SHAREDMODE_EXCLUSIVE + EVENTCALLBACK is too ... exclusive for now.
parent
9d63e6f9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
mmdevdrv.c
dlls/winealsa.drv/mmdevdrv.c
+5
-0
mmdevdrv.c
dlls/winecoreaudio.drv/mmdevdrv.c
+5
-0
mmdevdrv.c
dlls/wineoss.drv/mmdevdrv.c
+5
-0
No files found.
dlls/winealsa.drv/mmdevdrv.c
View file @
7c5b9000
...
...
@@ -835,6 +835,11 @@ static HRESULT WINAPI AudioClient_Initialize(IAudioClient *iface,
return
E_INVALIDARG
;
}
if
(
mode
==
AUDCLNT_SHAREMODE_EXCLUSIVE
&&
flags
&
AUDCLNT_STREAMFLAGS_EVENTCALLBACK
){
FIXME
(
"EXCLUSIVE mode with EVENTCALLBACK
\n
"
);
return
AUDCLNT_E_DEVICE_IN_USE
;
}
if
(
!
duration
)
duration
=
300000
;
/* 0.03s */
...
...
dlls/winecoreaudio.drv/mmdevdrv.c
View file @
7c5b9000
...
...
@@ -961,6 +961,11 @@ static HRESULT WINAPI AudioClient_Initialize(IAudioClient *iface,
return
E_INVALIDARG
;
}
if
(
mode
==
AUDCLNT_SHAREMODE_EXCLUSIVE
&&
flags
&
AUDCLNT_STREAMFLAGS_EVENTCALLBACK
){
FIXME
(
"EXCLUSIVE mode with EVENTCALLBACK
\n
"
);
return
AUDCLNT_E_DEVICE_IN_USE
;
}
OSSpinLockLock
(
&
This
->
lock
);
if
(
This
->
aqueue
){
...
...
dlls/wineoss.drv/mmdevdrv.c
View file @
7c5b9000
...
...
@@ -907,6 +907,11 @@ static HRESULT WINAPI AudioClient_Initialize(IAudioClient *iface,
return
E_INVALIDARG
;
}
if
(
mode
==
AUDCLNT_SHAREMODE_EXCLUSIVE
&&
flags
&
AUDCLNT_STREAMFLAGS_EVENTCALLBACK
){
FIXME
(
"EXCLUSIVE mode with EVENTCALLBACK
\n
"
);
return
AUDCLNT_E_DEVICE_IN_USE
;
}
EnterCriticalSection
(
&
This
->
lock
);
if
(
This
->
initted
){
...
...
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