fixed crash in processAudioBuffer when notePlayHandle was NULL (crashed certain instruments like sf2)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1936 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -180,7 +180,8 @@ void instrumentTrack::processAudioBuffer( sampleFrame * _buf,
|
||||
_frames,
|
||||
( _n != NULL ) ? _n->offset() : 0,
|
||||
panningToVolumeVector(
|
||||
(int) m_panningModel.value() + _n->getPanning(),
|
||||
(int) m_panningModel.value() +
|
||||
( _n != NULL ) ? _n->getPanning() : 0,
|
||||
v_scale ),
|
||||
&m_audioPort );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user