mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-19 12:16:16 -04:00
fixed volume-scaling for IPH-based but not MIDI-based instruments
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1729 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -168,7 +168,8 @@ void instrumentTrack::processAudioBuffer( sampleFrame * _buf,
|
||||
}
|
||||
else
|
||||
{
|
||||
if( getVolume() < DefaultVolume )
|
||||
if( getVolume() < DefaultVolume &&
|
||||
m_instrument->isMidiBased() )
|
||||
{
|
||||
v_scale = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user