OSDN Git Service

Updated Opus encoder/decoder libraries to v1.1.x and Opus-Tools to v0.1.6 (2013-01...
[lamexp/LameXP.git] / src / Thread_Initialization.h
index 8a1dcb5..9758650 100644 (file)
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
 // LameXP - Audio Encoder Front-End
-// Copyright (C) 2004-2010 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2012 LoRd_MuldeR <MuldeR2@GMX.de>
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -21,6 +21,7 @@
 
 #pragma once
 
+#include "Global.h"
 #include <QThread>
 
 ////////////////////////////////////////////////////////////
@@ -32,14 +33,21 @@ class InitializationThread: public QThread
        Q_OBJECT
 
 public:
-       InitializationThread(void);
+       InitializationThread(const lamexp_cpu_t *cpuFeatures);
        void run();
        bool getSuccess(void) { return !isRunning() && m_bSuccess; }
+       bool getSlowIndicator(void) { return m_slowIndicator; }
+
+       static void selfTest(void);
 
 private:
        void delay(void);
+       void initTranslations(void);
        void initNeroAac(void);
-       void initWmaDec(void);
+       void initFhgAac(void);
+       void initQAac(void);
 
        bool m_bSuccess;
+       lamexp_cpu_t m_cpuFeatures;
+       bool m_slowIndicator;
 };