diff options
author | Tim Phipps <mpd@phipps-hutton.freeserve.co.uk> | 2010-03-21 18:21:47 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-03-21 18:21:47 +0100 |
commit | e7a515c8b11c643332406d60a13ab1fe06d2b226 (patch) | |
tree | aa7179b453b6fe7b163d1b4b807157359cb436cf /src/player_control.h | |
parent | e9b75d462c4d0ffee3b3b26582800ec4f657a333 (diff) | |
download | mpd-e7a515c8b11c643332406d60a13ab1fe06d2b226.tar.gz mpd-e7a515c8b11c643332406d60a13ab1fe06d2b226.tar.xz mpd-e7a515c8b11c643332406d60a13ab1fe06d2b226.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | src/player_control.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/player_control.h b/src/player_control.h index 9735b01fd..76c47609a 100644 --- a/src/player_control.h +++ b/src/player_control.h @@ -111,6 +111,8 @@ struct player_control { const struct song *errored_song; double seek_where; float cross_fade_seconds; + float mixramp_db; + float mixramp_delay_seconds; double total_play_time; }; @@ -250,6 +252,18 @@ pc_set_cross_fade(float cross_fade_seconds); float pc_get_cross_fade(void); +void +pc_set_mixramp_db(float mixramp_db); + +float +pc_get_mixramp_db(void); + +void +pc_set_mixramp_delay(float mixramp_delay_seconds); + +float +pc_get_mixramp_delay(void); + double pc_get_total_play_time(void); |