aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-26 14:19:34 +0200
committerMax Kellermann <max@duempel.org>2013-10-26 14:19:34 +0200
commit85ae7e9c9a8e31359834b3b4da3c358b941e8012 (patch)
treecadafa466a385107ba43f4c60664a064c7617550 /test
parent2098b94b47a60f6265dd5afb61757e9f6b7f9a6e (diff)
downloadmpd-85ae7e9c9a8e31359834b3b4da3c358b941e8012.tar.gz
mpd-85ae7e9c9a8e31359834b3b4da3c358b941e8012.tar.xz
mpd-85ae7e9c9a8e31359834b3b4da3c358b941e8012.zip
DecoderControl: move code/attributes to new class MixRampInfo
Diffstat (limited to '')
-rw-r--r--test/dump_playlist.cxx5
-rw-r--r--test/read_tags.cxx5
-rw-r--r--test/run_decoder.cxx5
3 files changed, 3 insertions, 12 deletions
diff --git a/test/dump_playlist.cxx b/test/dump_playlist.cxx
index d8a8084b0..d11562930 100644
--- a/test/dump_playlist.cxx
+++ b/test/dump_playlist.cxx
@@ -131,11 +131,8 @@ decoder_replay_gain(gcc_unused Decoder &decoder,
}
void
-decoder_mixramp(gcc_unused Decoder &decoder,
- char *mixramp_start, char *mixramp_end)
+decoder_mixramp(gcc_unused Decoder &decoder, gcc_unused MixRampInfo &&mix_ramp)
{
- g_free(mixramp_start);
- g_free(mixramp_end);
}
int main(int argc, char **argv)
diff --git a/test/read_tags.cxx b/test/read_tags.cxx
index 12cc93aa6..2d25041f5 100644
--- a/test/read_tags.cxx
+++ b/test/read_tags.cxx
@@ -110,11 +110,8 @@ decoder_replay_gain(gcc_unused Decoder &decoder,
}
void
-decoder_mixramp(gcc_unused Decoder &decoder,
- char *mixramp_start, char *mixramp_end)
+decoder_mixramp(gcc_unused Decoder &decoder, gcc_unused MixRampInfo &&mix_ramp)
{
- g_free(mixramp_start);
- g_free(mixramp_end);
}
static bool empty = true;
diff --git a/test/run_decoder.cxx b/test/run_decoder.cxx
index f4662e8af..2f7330a1d 100644
--- a/test/run_decoder.cxx
+++ b/test/run_decoder.cxx
@@ -141,11 +141,8 @@ decoder_replay_gain(gcc_unused Decoder &decoder,
}
void
-decoder_mixramp(gcc_unused Decoder &decoder,
- char *mixramp_start, char *mixramp_end)
+decoder_mixramp(gcc_unused Decoder &decoder, gcc_unused MixRampInfo &&mix_ramp)
{
- g_free(mixramp_start);
- g_free(mixramp_end);
}
int main(int argc, char **argv)