DecoderControl: move code/attributes to new class MixRampInfo
This commit is contained in:
@@ -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)
|
||||
|
@@ -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;
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user