Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
7b61b9a1
Commit
7b61b9a1
authored
Aug 08, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "wasapi: report volume/mute (refs #6880, refs #7203)"
This reverts commit
12627b88
.
parent
0f82e032
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
modules/audio_output/wasapi.c
modules/audio_output/wasapi.c
+0
-4
No files found.
modules/audio_output/wasapi.c
View file @
7b61b9a1
...
@@ -207,8 +207,6 @@ static int SimpleVolumeSet(audio_output_t *aout, float vol)
...
@@ -207,8 +207,6 @@ static int SimpleVolumeSet(audio_output_t *aout, float vol)
hr
=
ISimpleAudioVolume_SetMasterVolume
(
sys
->
volume
.
simple
,
vol
,
NULL
);
hr
=
ISimpleAudioVolume_SetMasterVolume
(
sys
->
volume
.
simple
,
vol
,
NULL
);
if
(
FAILED
(
hr
))
if
(
FAILED
(
hr
))
msg_Warn
(
aout
,
"cannot set session volume (error 0x%lx)"
,
hr
);
msg_Warn
(
aout
,
"cannot set session volume (error 0x%lx)"
,
hr
);
else
/* Hack until volume notifications implemented: */
aout_VolumeReport
(
aout
,
vol
);
Leave
();
Leave
();
return
FAILED
(
hr
)
?
-
1
:
0
;
return
FAILED
(
hr
)
?
-
1
:
0
;
}
}
...
@@ -223,8 +221,6 @@ static int SimpleMuteSet(audio_output_t *aout, bool mute)
...
@@ -223,8 +221,6 @@ static int SimpleMuteSet(audio_output_t *aout, bool mute)
hr
=
ISimpleAudioVolume_SetMute
(
sys
->
volume
.
simple
,
mute
,
NULL
);
hr
=
ISimpleAudioVolume_SetMute
(
sys
->
volume
.
simple
,
mute
,
NULL
);
if
(
FAILED
(
hr
))
if
(
FAILED
(
hr
))
msg_Warn
(
aout
,
"cannot mute session (error 0x%lx)"
,
hr
);
msg_Warn
(
aout
,
"cannot mute session (error 0x%lx)"
,
hr
);
else
/* Hack until volume notifications implemented: */
aout_MuteReport
(
aout
,
mute
);
Leave
();
Leave
();
return
FAILED
(
hr
)
?
-
1
:
0
;
return
FAILED
(
hr
)
?
-
1
:
0
;
}
}
...
...
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