diff options
author | Tim Phipps <mpd@phipps-hutton.freeserve.co.uk> | 2010-05-08 00:21:15 -0700 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-05-08 09:28:06 +0200 |
commit | 136759a298606b9f0c83763962e9d7819ba120c6 (patch) | |
tree | f4d7df20757d9f36efc2d0528f7310d0d0954a54 /src/pcm_mix.h | |
parent | 0ac5b6e613777bab093d1dbca1f3d6c80c48ca52 (diff) | |
download | mpd-136759a298606b9f0c83763962e9d7819ba120c6.tar.gz mpd-136759a298606b9f0c83763962e9d7819ba120c6.tar.xz mpd-136759a298606b9f0c83763962e9d7819ba120c6.zip |
mixramp: Remove maths from pcm_mix when using MixRamp overlaps.
Diffstat (limited to 'src/pcm_mix.h')
-rw-r--r-- | src/pcm_mix.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pcm_mix.h b/src/pcm_mix.h index 5134bf071..086d5501e 100644 --- a/src/pcm_mix.h +++ b/src/pcm_mix.h @@ -35,7 +35,8 @@ struct audio_format; * @param size the size of both buffers in bytes * @param format the audio format of both buffers * @param portion1 a number between 0.0 and 1.0 specifying the portion - * of the first buffer in the mix; portion2 = (1.0 - portion1) + * of the first buffer in the mix; portion2 = (1.0 - portion1). The value + * NaN is used by the MixRamp code to specify that simple addition is required. */ void pcm_mix(void *buffer1, const void *buffer2, size_t size, |