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:
@@ -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"
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user