Improve mono compatibility with LADSPA plugins (#7674)
This commit is contained in:
@@ -65,7 +65,6 @@ public:
|
||||
virtual void unregisterPort( AudioPort * _port );
|
||||
virtual void renamePort( AudioPort * _port );
|
||||
|
||||
|
||||
inline bool supportsCapture() const
|
||||
{
|
||||
return m_supportsCapture;
|
||||
@@ -76,11 +75,6 @@ public:
|
||||
return m_sampleRate;
|
||||
}
|
||||
|
||||
ch_cnt_t channels() const
|
||||
{
|
||||
return m_channels;
|
||||
}
|
||||
|
||||
void processNextBuffer();
|
||||
|
||||
virtual void startProcessing()
|
||||
@@ -109,6 +103,11 @@ protected:
|
||||
void clearS16Buffer( int_sample_t * _outbuf,
|
||||
const fpp_t _frames );
|
||||
|
||||
ch_cnt_t channels() const
|
||||
{
|
||||
return m_channels;
|
||||
}
|
||||
|
||||
inline void setSampleRate( const sample_rate_t _new_sr )
|
||||
{
|
||||
m_sampleRate = _new_sr;
|
||||
|
||||
Reference in New Issue
Block a user