LibDSP: Remove Track volume getters and setters

This commit is contained in:
kleines Filmröllchen 2022-07-23 15:50:25 +02:00 committed by Andreas Kling
commit ab2d8edcbb
Notes: sideshowbarker 2024-07-17 20:33:50 +09:00
3 changed files with 1 additions and 25 deletions

View file

@ -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));