Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7dff198c
Commit
7dff198c
authored
Jul 04, 2022
by
Claire Girka
Committed by
Alexandre Julliard
Jul 06, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winepulse: Don't probe default devices twice.
Also drop global format and period variables
parent
45a3bfa2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
pulse.c
dlls/winepulse.drv/pulse.c
+0
-7
No files found.
dlls/winepulse.drv/pulse.c
View file @
7dff198c
...
...
@@ -99,10 +99,6 @@ typedef struct _PhysDevice {
static
pa_context
*
pulse_ctx
;
static
pa_mainloop
*
pulse_ml
;
/* Mixer format + period times */
static
WAVEFORMATEXTENSIBLE
pulse_fmt
[
2
];
static
REFERENCE_TIME
pulse_min_period
[
2
],
pulse_def_period
[
2
];
static
struct
list
g_phys_speakers
=
LIST_INIT
(
g_phys_speakers
);
static
struct
list
g_phys_sources
=
LIST_INIT
(
g_phys_sources
);
...
...
@@ -797,9 +793,6 @@ static NTSTATUS pulse_test_connect(void *args)
pa_context_get_server
(
pulse_ctx
),
pa_context_get_server_protocol_version
(
pulse_ctx
));
pulse_probe_settings
(
1
,
NULL
,
&
pulse_fmt
[
0
],
&
pulse_def_period
[
0
],
&
pulse_min_period
[
0
]);
pulse_probe_settings
(
0
,
NULL
,
&
pulse_fmt
[
1
],
&
pulse_def_period
[
1
],
&
pulse_min_period
[
1
]);
free_phys_device_lists
();
list_init
(
&
g_phys_speakers
);
list_init
(
&
g_phys_sources
);
...
...
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