Skip to content
Browse files

Hopefully enable builds on platforms with older jack libraries

  • Loading branch information...
1 parent 78dcde9 commit ce57c54a43330836d7a3aada9b77835e5000edbd @laudrup committed Jun 23, 2011
Showing with 10 additions and 0 deletions.
  1. +5 −0 creox/audioprefs.cpp
  2. +5 −0 creox/dsp_flow/threadeffector.cpp
View
5 creox/audioprefs.cpp
@@ -21,6 +21,11 @@
#include "settings.h"
#include <QStringList>
+// Hack for older jack versions
+#ifndef jack_free
+# define jack_free(p) free(p)
+#endif
+
AudioPrefs::AudioPrefs(QWidget* parent)
: QWidget(parent)
{
View
5 creox/dsp_flow/threadeffector.cpp
@@ -35,6 +35,11 @@
#include <QDebug>
+// Hack for older jack versions
+#ifndef jack_free
+# define jack_free(p) free(p)
+#endif
+
const int ThreadEffector::s_maxProcessors;
std::string ThreadEffector::s_sErrorMessageString;

0 comments on commit ce57c54

Please sign in to comment.
Something went wrong with that request. Please try again.