diff options
Diffstat (limited to 'src/pcm/PcmVolume.cxx')
-rw-r--r-- | src/pcm/PcmVolume.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pcm/PcmVolume.cxx b/src/pcm/PcmVolume.cxx index fafec2d60..8426fd57b 100644 --- a/src/pcm/PcmVolume.cxx +++ b/src/pcm/PcmVolume.cxx @@ -39,9 +39,7 @@ pcm_volume_change(typename Traits::pointer_type buffer, PCM_VOLUME_1 / 2) / PCM_VOLUME_1; - *buffer++ = PcmClamp<typename Traits::value_type, - typename Traits::long_type, - Traits::BITS>(sample); + *buffer++ = PcmClamp<F, Traits>(sample); } } |