PlayerControl: make settings "const"
This commit is contained in:
parent
ce42d53a09
commit
e10c287c93
@ -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.
|
||||
|
@ -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 *
|
||||
|
Loading…
x
Reference in New Issue
Block a user