New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add configure switches for ALSA, JACK and pulseaudio #254
Comments
Adding |
Le Sun, 27 Oct 2019 12:57:47 -0700,
Monocasual Laboratories <notifications@github.com> a écrit :
Cool idea. Could you please make a pull request for this?
I can try when I get some time. For that, I need to know if, with
rtaudio, which is the real giada dependency on linux, we are free to
enable/disable each one of these 3 audio servers independently of the
other ones?
…--
If you have a problem and you are not doing anything to fix it, you are
at the heart of the problem.
|
Sure, actually it's just a matter of defining some preprocessor macros. Specifically: Currently these macros are hardcoded in the Makefile.am. It's just a matter of mapping new flags such as I can take a look at it as soon as all the issues from 0.16.0-beta1 have been closed. |
Postponed to 0.17 as this feature depends on #153 . |
Better wait for #315, if PR thestk/rtaudio#251 will get merged. Moving to 0.18. |
Done in cfcd79c . |
It would be great on linux to have configure options for ALSA, JACK and pulseaudio. The reason is simple: as a musician, linux provide JACK as professional grade sound server and pulseaudio is not even installed into my system. I have to patch Makefile.am in order to remove pulse from the build, and it would be much better if it was enable/disable configure switches for that.
--- giada-0.15.4-src/Makefile.am.orig 2019-03-21 22:43:15.000000000 +0100
+++ giada-0.15.4-src/Makefile.am 2019-07-12 17:32:45.585780900 +0200
@@ -369,11 +369,11 @@
if LINUX
-# Add preprocessor flags to enable ALSA, Pulse and JACK in RtAudio.
-cppFlags += -D__LINUX_ALSA__ -D__LINUX_PULSE__ -D__UNIX_JACK__
+# Add preprocessor flags to enable ALSA and JACK in RtAudio.
+cppFlags += -D__LINUX_ALSA__ -D__UNIX_JACK__
ldAdd += -lsndfile -lfltk -lXext -lX11 -lXft -lXpm -lm -ljack -lasound \
-lfreetype -lfontconfig -lXrender -lXfixes -lXcursor -lXinerama
endif
The text was updated successfully, but these errors were encountered: