fixed potential segfault and small GUI-improvement
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@567 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -188,9 +188,9 @@ public:
|
||||
return( m_framesPerPeriod );
|
||||
}
|
||||
|
||||
inline const surroundSampleFrame * currentAudioBuffer( void ) const
|
||||
inline const surroundSampleFrame * currentReadBuffer( void ) const
|
||||
{
|
||||
return( m_writeBuf );
|
||||
return( m_readBuf );
|
||||
}
|
||||
|
||||
|
||||
@@ -298,7 +298,7 @@ public slots:
|
||||
|
||||
signals:
|
||||
void sampleRateChanged( void );
|
||||
void nextAudioBuffer( const surroundSampleFrame *, int _frames );
|
||||
void nextAudioBuffer( void );
|
||||
|
||||
|
||||
private:
|
||||
|
||||
@@ -54,7 +54,7 @@ protected:
|
||||
|
||||
|
||||
protected slots:
|
||||
void setAudioBuffer( const surroundSampleFrame * _ab, int _frames );
|
||||
void updateAudioBuffer( void );
|
||||
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user