made delay-buffer a simple stereo-buffer instead of surround-frame-buffer, added missing call in constructor to clear newly created delay-buffer - fixes bad distorted sound in various scenarios

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@941 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-04-26 00:05:49 +00:00
parent 557ded6be9
commit 646d06573b
3 changed files with 14 additions and 4 deletions

View File

@@ -1,3 +1,12 @@
2008-04-26 Tobias Dorffel <tobydox/at/users/dot/sourceforge/dot/net>
* plugins/stereo_enhancer/stereo_enhancer.cpp:
* plugins/stereo_enhancer/stereo_enhancer.h:
- made delay-buffer a simple stereo-buffer instead of
surround-frame-buffer
- added missing call in constructor to clear newly created
delay-buffer - fixes bad distorted sound in various scenarios
2008-04-25 Paul Giblock <drfaygo/at/gmail/dot/com>
* plugins/bit_invader/bit_invader.cpp:
@@ -14,7 +23,7 @@
* src/gui/piano_roll.cpp:
- Allow volume bars to be modified by clicking one bar, then
sweeping the mouse
sweeping the mouse
- shade volume bars according to volume
- fixed drawing of background while scrolling
@@ -28,7 +37,7 @@
- Made bank-buttons easier to hit
- Double click on fx-channel LCD in ITW to warp to the proper FX-line
2008-04-20 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
2008-04-20 Tobias Dorffel <tobydox/at/users/dot/sourceforge/dot/net>
* src/gui/widgets/group_box.cpp:
* plugins/sf2_player/sf2_player.cpp:

View File

@@ -55,11 +55,12 @@ stereoEnhancerEffect::stereoEnhancerEffect(
const descriptor::subPluginFeatures::key * _key ) :
effect( &stereoenhancer_plugin_descriptor, _parent, _key ),
m_seFX( effectLib::stereoEnhancer<>( 0.0f ) ),
m_delayBuffer( new surroundSampleFrame[DEFAULT_BUFFER_SIZE] ),
m_delayBuffer( new sampleFrame[DEFAULT_BUFFER_SIZE] ),
m_currFrame( 0 ),
m_bbControls( this )
{
// TODO: Make m_delayBuffer customizable?
clearMyBuffer();
}

View File

@@ -54,7 +54,7 @@ public:
private:
effectLib::stereoEnhancer<> m_seFX;
surroundSampleFrame * m_delayBuffer;
sampleFrame * m_delayBuffer;
int m_currFrame;
stereoEnhancerControls m_bbControls;