mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:07:34 +00:00
Userland: Prefer _string
over _short_string
As `_string` can't fail anymore (since 3434412
), there are no real
benefits to use the short variant in most cases.
This commit is contained in:
parent
a5edc9cdfc
commit
3f35ffb648
198 changed files with 684 additions and 684 deletions
|
@ -20,10 +20,10 @@ namespace DSP::Synthesizers {
|
|||
Classic::Classic(NonnullRefPtr<Transport> transport)
|
||||
: DSP::SynthesizerProcessor(move(transport))
|
||||
, m_waveform("Waveform"_string, Waveform::Saw)
|
||||
, m_attack("Attack"_short_string, 0.01, 2000, 5, Logarithmic::Yes)
|
||||
, m_decay("Decay"_short_string, 0.01, 20'000, 80, Logarithmic::Yes)
|
||||
, m_sustain("Sustain"_short_string, 0.001, 1, 0.725, Logarithmic::No)
|
||||
, m_release("Release"_short_string, 0.01, 6'000, 120, Logarithmic::Yes)
|
||||
, m_attack("Attack"_string, 0.01, 2000, 5, Logarithmic::Yes)
|
||||
, m_decay("Decay"_string, 0.01, 20'000, 80, Logarithmic::Yes)
|
||||
, m_sustain("Sustain"_string, 0.001, 1, 0.725, Logarithmic::No)
|
||||
, m_release("Release"_string, 0.01, 6'000, 120, Logarithmic::Yes)
|
||||
{
|
||||
m_parameters.append(m_waveform);
|
||||
m_parameters.append(m_attack);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue