-
Notifications
You must be signed in to change notification settings - Fork 91
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
Does not appear to work with PipeWire #44
Comments
Hi Alexander :) I'm not too familiar with Linux audio but maybe I can help. Otherwise you could check in with the developers of the real PortAudio library (around which this package a just a wrapper). I don't see anything in the output to indicate that sigourney is failing to open a device. I see that sigourney is opening the default device. You could try modifying it (or perhaps easier, modifying one of the examples in this repo) to explicitly open the device of interest, in case the default device is not what you expect. Something like:
Does that make any difference? |
Just a very simple C program shows that the error is likely somewhere with PortAudio and PipeWire. #include "stdio.h"
#include "stdlib.h"
#include "portaudio.h"
// gcc main.c -lportaudio -lrt -lm -lasound -ljack -pthread -o pa_out_index
int main() {
PaError err;
err = Pa_Initialize();
PaDeviceIndex default_output = Pa_GetDefaultOutputDevice();
printf("default output device index %d", default_output);
return EXIT_SUCCESS;
} which returns
|
Thanks @bderrly. I'll close this issue, then. |
Hi Gordon,
On my Arch Linux installation I use the latest version of PipeWire (0.3.32).
Pipewire provides supports for (at least) Jack and PulseAudio.
This works great with Firefox, SDL2, and Jack-related applications in general, but it fails when I run sigourney (which uses this portaudio package). I get:
When starting Jack with
qjackctl
first (which I believe uses PipeWire), I get a somewhat briefer error message:But the application does not appear to get an audio device (unless I am testing this incorrectly).
Any advice on this is appreciated.
And thanks for creating the portaudio package!
Cheers,
Alexander F. Rødseth
The text was updated successfully, but these errors were encountered: