Add safeguard for beat pattern wheelevent
Fix #963
Merge pull request #988 from diizy/stable-1.1

Add safeguard for beat pattern wheelevent
InstrumentSoundShaping: ensure that release time is never longer than the volume envelope, if volume envelope is active
This saves CPU on certain instruments, like Monstro.
There's no point in running the note beyond the end of the volume envelope, ever, so let's not do that.
Merge pull request #990 from diizy/stable-1.1

InstrumentSoundShaping: ensure that release time is never longer than th...
Mixer: optimize peak value measuring functions
Merge pull request #991 from diizy/stable-1.1

Mixer: optimize peak value measuring functions
Merge pull request #992 from LMMS/stable-1.1

sync
Merge pull request #993 from diizy/master

NPH fix: prevent offsets from going over period limit
SamplePlayHandle: increment the right buffer
SamplePlayHandle: clear unused frames from buffer
Merge pull request #994 from grejppi/master-sampletrack

SamplePlayHandle: increment the right buffer
Update bode_shifter_cv_1432.c
Update surround_encoder_1401.c
Merge pull request #996 from ruggiero/stable-1.1

Bug that prevented compilation in Debian testing (jessie)
ZynAddSubFX: imported current head

Imported current head of LMMS-specific ZynAddSubFX source code.

The current code is based on version 2.4.4 of ZynAddSubFX.

HEAD: 9a993c4936ce987bb30f93eee2a573466ece3712
Pattern: add undo/redo support for "Clear all notes" operation in context menu

Simply add a journal checkpoint before clearing pattern.
Improve performance of effect processing, fix autoquit bugs
Also a slight NPH tweak
Merge pull request #997 from diizy/mixer-opt2

Improve performance of effect processing, fix autoquit bugs
Merge branch 'stable-1.1'

Conflicts:
	src/core/NotePlayHandle.cpp