made AudioFileProcessor work with M/V-architecture

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@639 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-01-04 00:18:14 +00:00
parent ea467f92b7
commit 8c1715cc26
6 changed files with 355 additions and 275 deletions

View File

@@ -101,19 +101,19 @@ public:
static float framesPerTact64th( void )
{
return( s_frames_per_tact64th );
return( s_framesPerTact64th );
}
static void updateFramesPerTact64th( void );
static const QMap<QString, QString> & sampleExtensions( void )
{
return( s_sample_extensions );
return( s_sampleExtensions );
}
private:
static bool s_hasGUI;
static float s_frames_per_tact64th;
static float s_framesPerTact64th;
static mixer * s_mixer;
static mainWindow * s_mainWindow;
@@ -125,9 +125,9 @@ private:
static projectJournal * s_projectJournal;
static ladspa2LMMS * s_ladspaManager;
static QMap<QString, QString> s_sample_extensions;
static QMap<QString, QString> s_sampleExtensions;
static void load_extensions( void );
static void loadExtensions( void );
} ;

View File

@@ -91,7 +91,8 @@ public:
desc( NULL )
{
const QList<QVariant> l =
base64::decode( _dump_data, QVariant::List ).
base64::decode( _dump_data,
QVariant::List ).
toList();
if( l.empty() )
{