diff options
Diffstat (limited to 'lib/dtas/rg_state.rb')
-rw-r--r-- | lib/dtas/rg_state.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/dtas/rg_state.rb b/lib/dtas/rg_state.rb index 18f4429..caf1cc7 100644 --- a/lib/dtas/rg_state.rb +++ b/lib/dtas/rg_state.rb @@ -1,5 +1,6 @@ # Copyright (C) 2013-2015 all contributors <dtas-all@nongnu.org> -# License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt) +# License: GPL-3.0+ (https://www.gnu.org/licenses/gpl-3.0.txt) +# frozen_string_literal: true # # provides support for generating appropriate effects for ReplayGain # MAYBE: account for non-standard reference loudness (89.0 dB is standard) @@ -72,7 +73,7 @@ class DTAS::RGState # :nodoc: when -1 then return 'gain -192' when 1 then return 'gain 192' else - sprintf('gain %0.8g', val) + sprintf('gain %0.8g', val).freeze end end |