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:
@@ -15,6 +15,10 @@
|
||||
- shift drag on an unselected note didn't work (FIXED)
|
||||
- added a note detuning tool
|
||||
- fixed mouse cursor glitch when mousing over notes
|
||||
|
||||
* src/tracks/instrument_track.cpp:
|
||||
fixed crash in processAudioBuffer when notePlayHandle was NULL
|
||||
(crashed certain instruments like sf2)
|
||||
|
||||
2008-12-14 Andrew Kelley <superjoe30/at/gmail/dot/com>
|
||||
|
||||
|
||||
@@ -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