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:
Tobias Doerffel
2008-10-02 23:01:53 +00:00
parent b822c49af8
commit 80b4da1e3f

View File

@@ -168,7 +168,8 @@ void instrumentTrack::processAudioBuffer( sampleFrame * _buf,
}
else
{
if( getVolume() < DefaultVolume )
if( getVolume() < DefaultVolume &&
m_instrument->isMidiBased() )
{
v_scale = 1;
}