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
19c75a4e
Commit
19c75a4e
authored
Dec 28, 2006
by
Ken Thomases
Committed by
Alexandre Julliard
Dec 29, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecoreaudio: Store the device ID in the WINE_WAVEOUT structure.
parent
127523d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
audio.c
dlls/winmm/winecoreaudio/audio.c
+4
-0
No files found.
dlls/winmm/winecoreaudio/audio.c
View file @
19c75a4e
...
@@ -158,6 +158,9 @@ typedef struct {
...
@@ -158,6 +158,9 @@ typedef struct {
}
WINE_WAVEOUT
;
}
WINE_WAVEOUT
;
typedef
struct
{
typedef
struct
{
/* This device's device number */
DWORD
wiID
;
/* Access to the following fields is synchronized across threads. */
/* Access to the following fields is synchronized across threads. */
volatile
int
state
;
volatile
int
state
;
LPWAVEHDR
lpQueuePtr
;
LPWAVEHDR
lpQueuePtr
;
...
@@ -534,6 +537,7 @@ LONG CoreAudio_WaveInit(void)
...
@@ -534,6 +537,7 @@ LONG CoreAudio_WaveInit(void)
for
(
i
=
0
;
i
<
MAX_WAVEINDRV
;
++
i
)
for
(
i
=
0
;
i
<
MAX_WAVEINDRV
;
++
i
)
{
{
memset
(
&
WInDev
[
i
],
0
,
sizeof
(
WInDev
[
i
]));
memset
(
&
WInDev
[
i
],
0
,
sizeof
(
WInDev
[
i
]));
WInDev
[
i
].
wiID
=
i
;
/* Establish preconditions for widOpen */
/* Establish preconditions for widOpen */
WInDev
[
i
].
state
=
WINE_WS_CLOSED
;
WInDev
[
i
].
state
=
WINE_WS_CLOSED
;
...
...
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