aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_mix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm_mix.h')
-rw-r--r--src/pcm_mix.h3
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,