diff options
author | Max Kellermann <max@musicpd.org> | 2016-12-03 14:12:08 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2016-12-03 14:12:08 +0100 |
commit | 9fb7cc796b34f9faf8fa50354102a875e73fa476 (patch) | |
tree | 6e0bf5af8aa32fecfcc6b383bda35484e55d0e81 /test | |
parent | 3472208c054507e2fd6616268570121579b5fcdb (diff) |
decoder/Control: add attribute configured_audio_format
Obsoletes the same variable from AudioConfig.cxx.
Diffstat (limited to 'test')
-rw-r--r-- | test/run_output.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/run_output.cxx b/test/run_output.cxx index d79ec8ff1..cd19f7bf3 100644 --- a/test/run_output.cxx +++ b/test/run_output.cxx @@ -54,10 +54,12 @@ PlayerControl::PlayerControl(PlayerListener &_listener, MultipleOutputs &_outputs, unsigned _buffer_chunks, unsigned _buffered_before_play, + AudioFormat _configured_audio_format, const ReplayGainConfig &_replay_gain_config) :listener(_listener), outputs(_outputs), buffer_chunks(_buffer_chunks), buffered_before_play(_buffered_before_play), + configured_audio_format(_configured_audio_format), replay_gain_config(_replay_gain_config) {} PlayerControl::~PlayerControl() {} @@ -73,6 +75,7 @@ load_audio_output(EventLoop &event_loop, const char *name) static struct PlayerControl dummy_player_control(*(PlayerListener *)nullptr, *(MultipleOutputs *)nullptr, 32, 4, + AudioFormat::Undefined(), ReplayGainConfig()); return audio_output_new(event_loop, ReplayGainConfig(), *param, |