Commit e10c287c authored by Max Kellermann's avatar Max Kellermann

PlayerControl: make settings "const"

parent ce42d53a
...@@ -98,9 +98,9 @@ struct PlayerControl { ...@@ -98,9 +98,9 @@ struct PlayerControl {
MultipleOutputs &outputs; 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. * The handle of the player thread.
......
...@@ -55,9 +55,11 @@ filter_plugin_by_name(gcc_unused const char *name) ...@@ -55,9 +55,11 @@ filter_plugin_by_name(gcc_unused const char *name)
PlayerControl::PlayerControl(PlayerListener &_listener, PlayerControl::PlayerControl(PlayerListener &_listener,
MultipleOutputs &_outputs, MultipleOutputs &_outputs,
gcc_unused unsigned _buffer_chunks, unsigned _buffer_chunks,
gcc_unused unsigned _buffered_before_play) unsigned _buffered_before_play)
:listener(_listener), outputs(_outputs) {} :listener(_listener), outputs(_outputs),
buffer_chunks(_buffer_chunks),
buffered_before_play(_buffered_before_play) {}
PlayerControl::~PlayerControl() {} PlayerControl::~PlayerControl() {}
static AudioOutput * static AudioOutput *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment