Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
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
Иван Мажукин
mpd
Commits
d93271e8
Commit
d93271e8
authored
Jul 01, 2016
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mixer/software: use C++11 initializers
parent
4a6df9f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
SoftwareMixerPlugin.cxx
src/mixer/plugins/SoftwareMixerPlugin.cxx
+3
-5
No files found.
src/mixer/plugins/SoftwareMixerPlugin.cxx
View file @
d93271e8
...
...
@@ -47,19 +47,17 @@ class SoftwareMixer final : public Mixer {
* software_mixer_get_filter(); after that, the caller will be
* responsible for the #Filter.
*/
bool
owns_filter
;
bool
owns_filter
=
true
;
/**
* The current volume in percent (0..100).
*/
unsigned
volume
;
unsigned
volume
=
100
;
public
:
SoftwareMixer
(
MixerListener
&
_listener
)
:
Mixer
(
software_mixer_plugin
,
_listener
),
filter
(
CreateVolumeFilter
()),
owns_filter
(
true
),
volume
(
100
)
filter
(
CreateVolumeFilter
())
{
assert
(
filter
!=
nullptr
);
}
...
...
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