diff options
author | Max Kellermann <max@musicpd.org> | 2016-11-18 08:15:07 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2016-11-18 09:03:42 +0100 |
commit | 47a0f46ce8c71a78fdb8fa6feaae0ffeb44a7dc2 (patch) | |
tree | a07427bbd93b14d56826043791a9d2779e24bb68 /test/FakeDecoderAPI.cxx | |
parent | 66fb352ccaac94a1ca5b6ac261ea15e790217f16 (diff) |
decoder/Client: add DecoderCommand/seek virtual methods
Diffstat (limited to 'test/FakeDecoderAPI.cxx')
-rw-r--r-- | test/FakeDecoderAPI.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/FakeDecoderAPI.cxx b/test/FakeDecoderAPI.cxx index 8b61ca5d3..ad3d37071 100644 --- a/test/FakeDecoderAPI.cxx +++ b/test/FakeDecoderAPI.cxx @@ -46,30 +46,30 @@ FakeDecoder::Ready(const AudioFormat audio_format, } DecoderCommand -decoder_get_command(gcc_unused DecoderClient &client) +FakeDecoder::GetCommand() { return DecoderCommand::NONE; } void -decoder_command_finished(gcc_unused DecoderClient &client) +FakeDecoder::CommandFinished() { } SongTime -decoder_seek_time(gcc_unused DecoderClient &client) +FakeDecoder::GetSeekTime() { return SongTime(); } uint64_t -decoder_seek_where_frame(gcc_unused DecoderClient &client) +FakeDecoder::GetSeekFrame() { return 1; } void -decoder_seek_error(gcc_unused DecoderClient &client) +FakeDecoder::SeekError() { } |