Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
71da61e0
Commit
71da61e0
authored
Apr 07, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove write-only aout_output_t.i_volume
parent
164c18c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
include/vlc_aout.h
include/vlc_aout.h
+0
-4
src/audio_output/intf.c
src/audio_output/intf.c
+0
-1
No files found.
include/vlc_aout.h
View file @
71da61e0
...
@@ -201,10 +201,6 @@ typedef struct aout_output_t
...
@@ -201,10 +201,6 @@ typedef struct aout_output_t
int
(
*
pf_volume_set
)(
aout_instance_t
*
,
audio_volume_t
,
bool
);
int
(
*
pf_volume_set
)(
aout_instance_t
*
,
audio_volume_t
,
bool
);
int
i_nb_samples
;
int
i_nb_samples
;
/* Current volume for the output - it's just a placeholder, the plug-in
* may or may not use it. */
audio_volume_t
i_volume
;
/* If b_error == 1, there is no audio output pipeline. */
/* If b_error == 1, there is no audio output pipeline. */
bool
b_error
;
bool
b_error
;
}
aout_output_t
;
}
aout_output_t
;
...
...
src/audio_output/intf.c
View file @
71da61e0
...
@@ -244,7 +244,6 @@ static int aout_VolumeSoftSet (aout_instance_t *aout, audio_volume_t volume,
...
@@ -244,7 +244,6 @@ static int aout_VolumeSoftSet (aout_instance_t *aout, audio_volume_t volume,
{
{
float
f
=
mute
?
0
.
:
(
volume
/
(
float
)
AOUT_VOLUME_DEFAULT
);
float
f
=
mute
?
0
.
:
(
volume
/
(
float
)
AOUT_VOLUME_DEFAULT
);
aout_MixerMultiplierSet
(
aout
,
f
);
aout_MixerMultiplierSet
(
aout
,
f
);
aout
->
output
.
i_volume
=
volume
;
return
0
;
return
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