1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-17 06:29:28 +00:00

Remove default set_sample_volume_range implementation too.

This commit is contained in:
Thomas Harte 2024-02-12 14:00:08 -05:00
parent 1895b4ee5d
commit 3d2d9ac45e

View File

@ -69,7 +69,7 @@ class BufferSource {
No default implementation is provided.
*/
template <Action action>
void apply_samples([[maybe_unused]] std::size_t number_of_samples, [[maybe_unused]] typename SampleT<stereo>::type *target);
void apply_samples(std::size_t number_of_samples, typename SampleT<stereo>::type *target);
/*!
@returns @c true if it is trivially true that a call to get_samples would just
@ -82,7 +82,7 @@ class BufferSource {
Sets the proper output range for this sample source; it should write values
between 0 and volume.
*/
void set_sample_volume_range([[maybe_unused]] std::int16_t volume) {}
void set_sample_volume_range(std::int16_t volume);
/*!
Permits a sample source to declare that, averaged over time, it will use only