Mixxx 1. 11 0
We're always looking for new contributors who are interested in working on Mixxx.If you're a hacker or artist and want to work with a creative, enthusiastic team, hop on our IRC channel (#mixxx on Freenode) or sign up for our developer mailing list.
Mixxx 1. 11 0
On GNU/Linux, running Mixxx from a GUI menu or from the launcher iconautomatically suspends PulseAudio while Mixxx is running so Mixxx canuse your sound card with ALSA directly. To keep other programs playingsound, either they all need to use JACK, or you can try using the"pulse" virtual ALSA device with Mixxx when running Mixxx on the commandline without pasuspender. Refer to the Mixxx manual for more informationabout soundAPIs.If you use JACK and do not want Mixxx to pause PulseAudio, you can edit/usr/share/applications/mixxx.desktop to change the line:
If you are starting Mixxx from a command line on GNU/Linux, you probablyneed to suspend or disable PulseAudio. On most GNU/Linux distributionstoday, the PulseAudio sound server is automatically started upon loggingin. PulseAudio is convenient for most desktop audio use, but it is notgood for audio use that requires low latency like Mixxx. The PulseAudiodaemon occupies the ALSA device while it is running. To temporarilydisable PulseAudio while Mixxx is running, start it with pasuspender mixxx. The .desktop launcher icon for Mixxx does this automatically. Torun Mixxx with command line options, such as--mididebug, put -- between pasuspender and the rest of thecommand. For example, run pasuspender -- mixxx --mididebug
If you did not install Mixxx from the Ubuntu PPA or RPMFusion, you mayneed to save save thisfileto /etc/udev/rules.d/mixxx-usb-uaccess.rules. You will need rootprivileges (use sudo or su) to copy the file to that location. Then,restart your computer.
If that doesn't help and you're on Linux, try opening a console andrunning export PA_ALSA_PLUGHW=1 before running mixxx (orpasuspender mixxx, see above). To avoid having to do this every timeyou run Mixxx, add export PA_ALSA_PLUGHW=1 to the end of /etc/profileor /.bashrc, log out, and log back in. This will tell PortAudio, thelibrary Mixxx uses to interact with sound hardware on multiple operatingsystems, to use ALSA's plughw devices rather than hw. plughwautomatically converts audio streams to a sample format supported by thesound card.
Could not open xml file: "/usr/local/share/mixxx/schema.xml"happens to people that have built Mixxx from source but didn't do theinstall step. You can either do that (with sudo scons install) orexplicitly tell Mixxx where to look for resources with the-``-resourcePath command line parameter, like so: ./mixxx -``-resourcePath res/
Start mixxx and under settings change your music folder to the newone. If you want you can do a rescan to check that the music filesdo not turn up twice suddenly (if you are on linux, do especiallycheck music files which where in symbolically linked directory).Check if bpm and other meta infomation like cue points are stillstored with the files.
The compilation fails with:```In file included from src/analyzer/analyzerqueue.cpp:22:0:src/util/logger.h: In member function 'QDebug mixxx::Logger::trace() const':src/util/logger.h:27:20: error: expected primary-expression before 'while' return log(qDebug()); ^src/util/logger.h: In member function 'QDebug mixxx::Logger::debug() const':src/util/logger.h:50:20: error: expected primary-expression before 'while' return log(qDebug()); ^scons: *** [lin64_build/analyzer/analyzerqueue.o] Error 1```
Got a better error message:---------x86_64-pc-linux-gnu-g++ -o lin64_build/analyzer/analyzerwaveform.o -c -O2 -std=c++11 -std=c++11 -pipe -Wall -Wextra -g -fPIC -pthread -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -Dx86_64 -DMIXXX_BUILD_DEBUG -D__LINUX__ -D__UNIX__ -DSETTINGS_PATH=\".mixxx/\" -DSETTINGS_FILE=\"mixxx.cfg\" -DUNIX_SHARE_PATH=\"/usr/share/mixxx\" -DUNIX_LIB_PATH=\"/usr/lib64/mixxx\" -D__PORTAUDIO__ -DQT_TABLET_SUPPORT -DQT_SHARED -DQT_DISABLE_DEPRECATED_BEFORE -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_SCRIPT_LIB -DQT_NETWORK_LIB -DQT_WIDGETS_LIB -D__SNDFILE__ -DSFC_SUPPORTS_SET_COMPRESSION_LEVEL -D__MAD__ -D__HID__ -D__BULK__ -D__VINYLCONTROL__ -D__BROADCAST__ -D__OPUS__ -DQT_NO_DEBUG_OUTPUT -D__VAMP__ -Dkiss_fft_scalar=double -DHAVE_FFTW3 -D__SQLITE3__ -D__BATTERY__ -D__FFMPEGFILE__ -Ilin64_build -Isrc -I/usr/include/soundtouch -Ilib/replaygain -Ilib/libebur128-1.2.3/ebur128 -I/usr/include/qt5/Qt5DBus -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5 -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtSvg -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtTest -I/usr/include/qt5/QtScriptTools -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtDBus -I/usr/include/qt5/QtCore -Ilib/gtest-1.7.0/include -Ilib/fidlib-0.9.10 -I/usr/include/taglib -Ilib/qtscript-bytearray -Ilib/reverb -Ilib/portaudio -I/usr/include/hidapi -I/usr/include/libusb-1.0 -Ilib/xwax -Ilib/scratchlib -I/usr/include/opus -I/usr/include/libupower-glib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include src/analyzer/analyzerwaveform.cppIn file included from /usr/include/qt5/QtCore/qglobal.h:1154:0, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtGui/qimage.h:43, from /usr/include/qt5/QtGui/QImage:1, from src/analyzer/analyzerwaveform.h:4, from src/analyzer/analyzerwaveform.cpp:1:src/util/logger.h: In member function 'QDebug mixxx::Logger::trace() const':/usr/include/qt5/QtCore/qlogging.h:164:28: error: expected primary-expression before 'while' #define QT_NO_QDEBUG_MACRO while (false) QMessageLogger().noDebug ^/usr/include/qt5/QtCore/qlogging.h:168:18: note: in expansion of macro 'QT_NO_QDEBUG_MACRO' # define qDebug QT_NO_QDEBUG_MACRO ^src/util/logger.h:27:20: note: in expansion of macro 'qDebug' return log(qDebug()); ^src/util/logger.h: In member function 'QDebug mixxx::Logger::debug() const':/usr/include/qt5/QtCore/qlogging.h:164:28: error: expected primary-expression before 'while' #define QT_NO_QDEBUG_MACRO while (false) QMessageLogger().noDebug ^/usr/include/qt5/QtCore/qlogging.h:168:18: note: in expansion of macro 'QT_NO_QDEBUG_MACRO' # define qDebug QT_NO_QDEBUG_MACRO ^src/util/logger.h:50:20: note: in expansion of macro 'qDebug' return log(qDebug());----------
@Gimeapill: The PR has been merged (to the 2.3 branch, we'll take care of merging it into the main branch soon). It will allow you to use -DCMAKE_INSTALL_PREFIX=/usr again. The udev rules will be installed to /usr/share/mixxx/udev now, so either print a message to symlink it manuall or use install -Dm644 to install it to /usr/lib/udev/rules.d automatically.