Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
AudioOutput.cpp: In member function ‘bool AudioOutput::mix(void*, unsigned int)’:
AudioOutput.cpp:440:18: error: expected primary-expression before ‘float’
if (std::abs<float>(front[0] * top[0] + front[1] * top[1] + front[2] * top[2]) > 0.01f) {
^~~~~
AudioOutput.cpp:440:18: error: expected ‘)’ before ‘float’
g++ -c -include release/mumble -pipe -fvisibility=hidden -Wall -Wextra -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I../mumble_proto -isystem ../mumble_proto -I../../3rdparty/celt-0.7.0-src/libcelt -isystem ../../3rdparty/celt-0.7.0-src/libcelt -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -std=gnu++1z -pthread -Wall -W -D_REENTRANT -fPIC -DPLUGIN_PATH=/usr/lib/mumble -DRESTRICT=__restrict__ -DMUMBLE_VERSION_STRING=1.3.0 -DMUMBLE -DUSE_MANUAL_PLUGIN -DNO_CRASH_REPORT -DUSE_OPUS -DUSE_NO_TTS -DUSE_ALSA -DUSE_OSS -DUSE_PULSEAUDIO -DUSE_DBUS -DNO_UPDATE_CHECK -D_REENTRANT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -isystem /usr/include/openssl-1.0 -I../../src -I. -I../mumble_proto -I../../3rdparty/arc4random-src -I../../3rdparty/qqbonjour-src -I../../3rdparty/smallft-src -Iwidgets -I../../3rdparty/celt-0.7.0-src/libcelt -I/usr/lib/oss/include -isystem /usr/include/opus -isystem /usr/include/alsa -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtSql -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/qt/mkspecs/linux-g++ -o release/AudioOutputUser.o AudioOutputUser.cpp
g++ -c -include release/mumble -pipe -fvisibility=hidden -Wall -Wextra -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I../mumble_proto -isystem ../mumble_proto -I../../3rdparty/celt-0.7.0-src/libcelt -isystem ../../3rdparty/celt-0.7.0-src/libcelt -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -std=gnu++1z -pthread -Wall -W -D_REENTRANT -fPIC -DPLUGIN_PATH=/usr/lib/mumble -DRESTRICT=__restrict__ -DMUMBLE_VERSION_STRING=1.3.0 -DMUMBLE -DUSE_MANUAL_PLUGIN -DNO_CRASH_REPORT -DUSE_OPUS -DUSE_NO_TTS -DUSE_ALSA -DUSE_OSS -DUSE_PULSEAUDIO -DUSE_DBUS -DNO_UPDATE_CHECK -D_REENTRANT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -isystem /usr/include/openssl-1.0 -I../../src -I. -I../mumble_proto -I../../3rdparty/arc4random-src -I../../3rdparty/qqbonjour-src -I../../3rdparty/smallft-src -Iwidgets -I../../3rdparty/celt-0.7.0-src/libcelt -I/usr/lib/oss/include -isystem /usr/include/opus -isystem /usr/include/alsa -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtSql -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/qt/mkspecs/linux-g++ -o release/main.o main.cpp
make[2]: *** [Makefile.Release:3002: release/AudioOutput.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/brott/Desktop/build/mumble-snapshot-minimal/src/mumble-1.3.0~2586~g894ade2~snapshot/src/mumble'
make[1]: *** [Makefile:40: release] Error 2
make[1]: Leaving directory '/home/brott/Desktop/build/mumble-snapshot-minimal/src/mumble-1.3.0~2586~g894ade2~snapshot/src/mumble'
make: *** [Makefile:631: sub-src-mumble-release_ordered] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.