mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
LibDSP: Remove Track volume getters and setters
This commit is contained in:
parent
a0b2e8608b
commit
ab2d8edcbb
3 changed files with 1 additions and 25 deletions
|
@ -43,18 +43,6 @@ bool Track::check_processor_chain_valid_with_initial_type(SignalType initial_typ
|
|||
return true;
|
||||
}
|
||||
|
||||
float Track::volume() const
|
||||
{
|
||||
// FIXME: This is a hack until we have a Master processor
|
||||
return 1.0f;
|
||||
}
|
||||
|
||||
void Track::set_volume(float volume) const
|
||||
{
|
||||
// FIXME: This is a hack until we have a Master processor
|
||||
(void)volume;
|
||||
}
|
||||
|
||||
NonnullRefPtr<Synthesizers::Classic> Track::synth()
|
||||
{
|
||||
return static_ptr_cast<Synthesizers::Classic>(m_processor_chain.ptr_at(0));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue