aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/PlayerControl.hxx4
-rw-r--r--test/run_output.cxx8
2 files changed, 7 insertions, 5 deletions
diff --git a/src/PlayerControl.hxx b/src/PlayerControl.hxx
index 2487eacff..4d06a1827 100644
--- a/src/PlayerControl.hxx
+++ b/src/PlayerControl.hxx
@@ -98,9 +98,9 @@ struct PlayerControl {
MultipleOutputs &outputs;
- unsigned buffer_chunks;
+ const unsigned buffer_chunks;
- unsigned int buffered_before_play;
+ const unsigned buffered_before_play;
/**
* The handle of the player thread.
diff --git a/test/run_output.cxx b/test/run_output.cxx
index 15383fd2a..e6c11669d 100644
--- a/test/run_output.cxx
+++ b/test/run_output.cxx
@@ -55,9 +55,11 @@ filter_plugin_by_name(gcc_unused const char *name)
PlayerControl::PlayerControl(PlayerListener &_listener,
MultipleOutputs &_outputs,
- gcc_unused unsigned _buffer_chunks,
- gcc_unused unsigned _buffered_before_play)
- :listener(_listener), outputs(_outputs) {}
+ unsigned _buffer_chunks,
+ unsigned _buffered_before_play)
+ :listener(_listener), outputs(_outputs),
+ buffer_chunks(_buffer_chunks),
+ buffered_before_play(_buffered_before_play) {}
PlayerControl::~PlayerControl() {}
static AudioOutput *