Пример #1
0
void
decoder_mixramp(struct decoder *decoder,
		char *mixramp_start, char *mixramp_end)
{
	assert(decoder != NULL);
	struct decoder_control *dc = decoder->dc;
	assert(dc != NULL);

	dc_mixramp_start(dc, mixramp_start);
	dc_mixramp_end(dc, mixramp_end);
}
Пример #2
0
void
decoder_mixramp(struct decoder *decoder, float replay_gain_db,
		char *mixramp_start, char *mixramp_end)
{
	assert(decoder != NULL);
	struct decoder_control *dc = decoder->dc;
	assert(dc != NULL);

	dc->replay_gain_db = replay_gain_db;
	dc_mixramp_start(dc, mixramp_start);
	dc_mixramp_end(dc, mixramp_end);
}