From c41028cdc731bfbbaea82f6c36b9905b9930d3d9 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 10 May 2020 00:44:03 -0400 Subject: [PATCH] Adds further exposition. --- Outputs/Speaker/Implementation/SampleSource.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Outputs/Speaker/Implementation/SampleSource.hpp b/Outputs/Speaker/Implementation/SampleSource.hpp index c0742e0e5..17a2e6a5d 100644 --- a/Outputs/Speaker/Implementation/SampleSource.hpp +++ b/Outputs/Speaker/Implementation/SampleSource.hpp @@ -63,6 +63,10 @@ class SampleSource { a certain proportion of the allocated volume range. This commonly happens in sample sources that use a time-multiplexed sound output — for example, if one were to output only every other sample then it would return 0.5. + + This is permitted to vary over time but there is no contract as to when it will be + used by a speaker. If it varies, it should do so very infrequently and only to + represent changes in hardware configuration. */ double get_average_output_peak() const { return 1.0; } };