|
MPD
0.20.15
|
#include <CrossFade.hxx>
Public Member Functions | |
| CrossFadeSettings () | |
| gcc_pure unsigned | Calculate (SignedSongTime total_time, float replay_gain_db, float replay_gain_prev_db, const char *mixramp_start, const char *mixramp_prev_end, AudioFormat af, AudioFormat old_format, unsigned max_chunks) const noexcept |
| Calculate how many music pipe chunks should be used for crossfading. More... | |
Data Fields | |
| float | duration |
| The configured cross fade duration [s]. More... | |
| float | mixramp_db |
| float | mixramp_delay |
| The configured MixRapm delay [s]. More... | |
Definition at line 28 of file CrossFade.hxx.
|
inline |
Definition at line 42 of file CrossFade.hxx.
|
noexcept |
Calculate how many music pipe chunks should be used for crossfading.
| total_time | total_time the duration of the new song |
| replay_gain_db | the ReplayGain adjustment used for this song |
| replay_gain_prev_db | the ReplayGain adjustment used on the last song |
| mixramp_start | the next songs mixramp_start tag |
| mixramp_prev_end | the last songs mixramp_end setting |
| af | the audio format of the new song |
| old_format | the audio format of the current song |
| max_chunks | the maximum number of chunks |
| float CrossFadeSettings::duration |
The configured cross fade duration [s].
Definition at line 32 of file CrossFade.hxx.
| float CrossFadeSettings::mixramp_db |
Definition at line 34 of file CrossFade.hxx.
| float CrossFadeSettings::mixramp_delay |
The configured MixRapm delay [s].
A non-positive value disables MixRamp.
Definition at line 40 of file CrossFade.hxx.
1.8.14