Bugfixes in BitInvader and AudioFileProcessor

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@57 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2006-01-23 12:50:07 +00:00
parent b762ad706f
commit 2f4059ed15
2 changed files with 1 additions and 8 deletions

View File

@@ -42,9 +42,6 @@
#include <qdom.h>
#include <qfileinfo.h>
#define isChecked isOn
#define setChecked setOn
#endif
@@ -682,9 +679,5 @@ plugin * lmms_plugin_main( void * _data )
}
#undef isChecked
#undef isOn
#include "audio_file_processor.moc"

View File

@@ -547,7 +547,7 @@ void bitInvader::smoothClicked( void )
// Smoothing
sample_shape[0] = temp[0]+temp[sample_length-1] * 0.5f;
sample_shape[0] = ( temp[0]+temp[sample_length-1] ) * 0.5f;
for ( int i=1; i < sample_length; i++)
{
sample_shape[i] = (temp[i-1] + temp[i]) * 0.5f;