Skip to content

Commit

Permalink
Simplify Component::GetBufferCount()
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusTomlinson committed Aug 21, 2024
1 parent bcffdc2 commit f49d770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/dspatch/Component.h
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ inline void Component::SetBufferCount( int bufferCount, int startBuffer )

inline int Component::GetBufferCount() const
{
return (int)_inputBuses.size();
return _bufferCount;
}

inline void Component::Tick( int bufferNo )
Expand Down

0 comments on commit f49d770

Please sign in to comment.