Skip to content
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

Compile without audio #1356

Open
xaratustrah opened this issue Jun 11, 2024 · 3 comments · May be fixed by #1357
Open

Compile without audio #1356

xaratustrah opened this issue Jun 11, 2024 · 3 comments · May be fixed by #1357

Comments

@xaratustrah
Copy link

If audio is not needed, I was wondering if it is possible to compile gqrx without audio support? Maybe similar to #258 (comment) by passing an argument to cmake but this time in order to turn off all audio dependencies / features?

@willcode willcode linked a pull request Jun 11, 2024 that will close this issue
@kgarrels
Copy link

I did the cmake approach, see here:
kgarrels@a06c636?diff=split&w=0

@xaratustrah
Copy link
Author

Thanks. I just cloned your version from here, in the build directory I run::

cmake -DLINUX_AUDIO_BACKEND=Null-audio ..

I still get:

CMake Error at CMakeLists.txt:198 (message):
  Invalid audio backend: should be either Pulseaudio, Portaudio, Null-audio,
  or Gr-audio

maybe I should invoke it differently?

@kgarrels
Copy link

I implemented this only for Darwin (macos).
I tried to fix it, but I cannot currently test it.

Please pull and try again.

PS: my fork has many other changes vs. master , maybe you should try to just apply that commit to master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants