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