-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
pipewire pulseaudio: callback only getting called couple of times #877
Comments
This is a strange one. I'm at a loss on this. Just for completeness sake, can you post the output when you've commented out the line just so I can see that everything is indeed the same? |
With no requested period size
... and goes on fine and setting 512 (truncated output)
and goes on again as expected |
Oh, and to add to the weirdness I just noticed the following:
Don't know how also I can help out.. |
This is the backtrace of where it's stuck.
|
I'm suspecting this issue might be related to this: #881. Although the deadlock is happening in different circumstances, both are getting stuck in |
Unfortunately the change I was hoping would fix this introduces bad glitching on my computer so I can't be enabling it by default. In any case, if you were interested in trying it yourself, you can add this to the device config: I copied your program exactly and ran it. This is my output:
The callback printf continues running like normally. From what I can tell, the info looks identical to yours with the exception of the device name. I tried this repeatedly and was never able to replicate the deadlock. For what it's worth, I'm using PipeWire version 1.2.2:
My instinct is that this is a PipeWire bug, or a hardware specific bug, but I'm not 100% sure. I don't know what else I can do to work around this one. |
Hm, just tried this and I'm getting exactly the same |
I'm noticing a weird issue in my linux setup. If I request a certain
periodSizeInFrames
, the audio callback gets called 1-3 times, and then no more! Getting this both in master & in dev.Here's the sample program
And the output: The callback got called 3 times & then nothing, so I just terminated it.
The text was updated successfully, but these errors were encountered: