Add support for MixRamp tags
Adds mixrampdb and mixrampdelay commands. Reads MIXRAP_START and MIXRAMP_END tags from FLAC files and overlaps instead of crossfading.
This commit is contained in:
committed by
Max Kellermann
parent
e9b75d462c
commit
e7a515c8b1
@@ -89,6 +89,10 @@ struct decoder_control {
|
||||
* owns this object, and is responsible for freeing it.
|
||||
*/
|
||||
struct music_pipe *pipe;
|
||||
|
||||
char *mixramp_start;
|
||||
char *mixramp_end;
|
||||
char *mixramp_prev_end;
|
||||
};
|
||||
|
||||
void
|
||||
@@ -235,4 +239,13 @@ dc_seek(struct decoder_control *dc, double where);
|
||||
void
|
||||
dc_quit(struct decoder_control *dc);
|
||||
|
||||
void
|
||||
dc_mixramp_start(struct decoder_control *dc, char *mixramp_start);
|
||||
|
||||
void
|
||||
dc_mixramp_end(struct decoder_control *dc, char *mixramp_end);
|
||||
|
||||
void
|
||||
dc_mixramp_prev_end(struct decoder_control *dc, char *mixramp_prev_end);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user