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
dee45f9b
Commit
dee45f9b
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: Remove unused pulse_config.
parent
7a742c49
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
24 deletions
+0
-24
mmdevdrv.c
dlls/winepulse.drv/mmdevdrv.c
+0
-3
pulse.c
dlls/winepulse.drv/pulse.c
+0
-10
unixlib.h
dlls/winepulse.drv/unixlib.h
+0
-11
No files found.
dlls/winepulse.drv/mmdevdrv.c
View file @
dee45f9b
...
@@ -60,8 +60,6 @@ enum DriverPriority {
...
@@ -60,8 +60,6 @@ enum DriverPriority {
Priority_Preferred
Priority_Preferred
};
};
static
struct
pulse_config
pulse_config
;
static
HANDLE
pulse_thread
;
static
HANDLE
pulse_thread
;
static
struct
list
g_sessions
=
LIST_INIT
(
g_sessions
);
static
struct
list
g_sessions
=
LIST_INIT
(
g_sessions
);
static
struct
list
g_devices_cache
=
LIST_INIT
(
g_devices_cache
);
static
struct
list
g_devices_cache
=
LIST_INIT
(
g_devices_cache
);
...
@@ -492,7 +490,6 @@ int WINAPI AUDDRV_GetPriority(void)
...
@@ -492,7 +490,6 @@ int WINAPI AUDDRV_GetPriority(void)
char
*
name
;
char
*
name
;
params
.
name
=
name
=
get_application_name
(
FALSE
);
params
.
name
=
name
=
get_application_name
(
FALSE
);
params
.
config
=
&
pulse_config
;
pulse_call
(
test_connect
,
&
params
);
pulse_call
(
test_connect
,
&
params
);
free
(
name
);
free
(
name
);
return
SUCCEEDED
(
params
.
result
)
?
Priority_Preferred
:
Priority_Unavailable
;
return
SUCCEEDED
(
params
.
result
)
?
Priority_Preferred
:
Priority_Unavailable
;
...
...
dlls/winepulse.drv/pulse.c
View file @
dee45f9b
...
@@ -752,7 +752,6 @@ static void pulse_probe_settings(int render, const char *pulse_name, WAVEFORMATE
...
@@ -752,7 +752,6 @@ static void pulse_probe_settings(int render, const char *pulse_name, WAVEFORMATE
static
NTSTATUS
pulse_test_connect
(
void
*
args
)
static
NTSTATUS
pulse_test_connect
(
void
*
args
)
{
{
struct
test_connect_params
*
params
=
args
;
struct
test_connect_params
*
params
=
args
;
struct
pulse_config
*
config
=
params
->
config
;
PhysDevice
*
dev
;
PhysDevice
*
dev
;
pa_operation
*
o
;
pa_operation
*
o
;
int
ret
;
int
ret
;
...
@@ -835,13 +834,6 @@ static NTSTATUS pulse_test_connect(void *args)
...
@@ -835,13 +834,6 @@ static NTSTATUS pulse_test_connect(void *args)
pa_mainloop_free
(
pulse_ml
);
pa_mainloop_free
(
pulse_ml
);
pulse_ml
=
NULL
;
pulse_ml
=
NULL
;
config
->
modes
[
0
].
format
=
pulse_fmt
[
0
];
config
->
modes
[
0
].
def_period
=
pulse_def_period
[
0
];
config
->
modes
[
0
].
min_period
=
pulse_min_period
[
0
];
config
->
modes
[
1
].
format
=
pulse_fmt
[
1
];
config
->
modes
[
1
].
def_period
=
pulse_def_period
[
1
];
config
->
modes
[
1
].
min_period
=
pulse_min_period
[
1
];
pulse_unlock
();
pulse_unlock
();
params
->
result
=
S_OK
;
params
->
result
=
S_OK
;
...
@@ -2716,12 +2708,10 @@ static NTSTATUS pulse_wow64_test_connect(void *args)
...
@@ -2716,12 +2708,10 @@ static NTSTATUS pulse_wow64_test_connect(void *args)
{
{
PTR32
name
;
PTR32
name
;
HRESULT
result
;
HRESULT
result
;
PTR32
config
;
}
*
params32
=
args
;
}
*
params32
=
args
;
struct
test_connect_params
params
=
struct
test_connect_params
params
=
{
{
.
name
=
ULongToPtr
(
params32
->
name
),
.
name
=
ULongToPtr
(
params32
->
name
),
.
config
=
ULongToPtr
(
params32
->
config
),
/* struct pulse_config is identical */
};
};
pulse_test_connect
(
&
params
);
pulse_test_connect
(
&
params
);
params32
->
result
=
params
.
result
;
params32
->
result
=
params
.
result
;
...
...
dlls/winepulse.drv/unixlib.h
View file @
dee45f9b
...
@@ -29,16 +29,6 @@ enum phys_device_bus_type {
...
@@ -29,16 +29,6 @@ enum phys_device_bus_type {
phys_device_bus_usb
phys_device_bus_usb
};
};
struct
pulse_config
{
struct
{
WAVEFORMATEXTENSIBLE
format
;
REFERENCE_TIME
def_period
;
REFERENCE_TIME
min_period
;
}
modes
[
2
];
};
struct
endpoint
struct
endpoint
{
{
unsigned
int
name
;
unsigned
int
name
;
...
@@ -218,7 +208,6 @@ struct test_connect_params
...
@@ -218,7 +208,6 @@ struct test_connect_params
{
{
const
char
*
name
;
const
char
*
name
;
HRESULT
result
;
HRESULT
result
;
struct
pulse_config
*
config
;
};
};
struct
is_started_params
struct
is_started_params
...
...
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