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
356a9373
Commit
356a9373
authored
Apr 08, 2023
by
Davide Beatrici
Committed by
Alexandre Julliard
Apr 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecoreaudio: Store flags in unixlib.
parent
57dfaf1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
coreaudio.c
dlls/winecoreaudio.drv/coreaudio.c
+3
-0
No files found.
dlls/winecoreaudio.drv/coreaudio.c
View file @
356a9373
...
...
@@ -81,7 +81,9 @@ struct coreaudio_stream
AudioConverterRef
converter
;
AudioStreamBasicDescription
dev_desc
;
/* audio unit format, not necessarily the same as fmt */
AudioDeviceID
dev_id
;
EDataFlow
flow
;
DWORD
flags
;
AUDCLNT_SHAREMODE
share
;
BOOL
playing
;
...
...
@@ -663,6 +665,7 @@ static NTSTATUS unix_create_stream(void *args)
stream
->
period_frames
=
muldiv
(
params
->
period
,
stream
->
fmt
->
nSamplesPerSec
,
10000000
);
stream
->
dev_id
=
dev_id_from_device
(
params
->
device
);
stream
->
flow
=
params
->
flow
;
stream
->
flags
=
params
->
flags
;
stream
->
share
=
params
->
share
;
stream
->
bufsize_frames
=
muldiv
(
params
->
duration
,
stream
->
fmt
->
nSamplesPerSec
,
10000000
);
...
...
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