Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Matheus-TestUser1
wine
Commits
f008d9a9
Commit
f008d9a9
authored
1 year ago
by
Davide Beatrici
Committed by
Alexandre Julliard
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
winealsa: Use mmdevapi's set_stream_volumes.
parent
eb1f62bb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/winealsa.drv/mmdevdrv.c
+2
-12
2 additions, 12 deletions
dlls/winealsa.drv/mmdevdrv.c
with
2 additions
and
12 deletions
dlls/winealsa.drv/mmdevdrv.c
+
2
−
12
View file @
f008d9a9
...
...
@@ -85,6 +85,8 @@ extern HRESULT stream_release(stream_handle stream, HANDLE timer_thread);
extern
WCHAR
*
get_application_name
(
void
);
extern
void
set_stream_volumes
(
struct
audio_client
*
This
);
void
DECLSPEC_HIDDEN
sessions_lock
(
void
)
{
EnterCriticalSection
(
&
g_sessions_lock
);
...
...
@@ -201,18 +203,6 @@ static void get_device_guid(EDataFlow flow, const char *device, GUID *guid)
RegCloseKey
(
key
);
}
static
void
set_stream_volumes
(
ACImpl
*
This
)
{
struct
set_volumes_params
params
;
params
.
stream
=
This
->
stream
;
params
.
master_volume
=
(
This
->
session
->
mute
?
0
.
0
f
:
This
->
session
->
master_vol
);
params
.
volumes
=
This
->
vols
;
params
.
session_volumes
=
This
->
session
->
channel_vols
;
ALSA_CALL
(
set_volumes
,
&
params
);
}
HRESULT
WINAPI
AUDDRV_GetEndpointIDs
(
EDataFlow
flow
,
WCHAR
***
ids_out
,
GUID
**
guids_out
,
UINT
*
num
,
UINT
*
def_index
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment