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

pipewire: Revise plugin code. Closes: #1401 #176

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

radioactiveman
Copy link
Member

  • Use RingBuf from audcore
  • Respect output_buffer_size setting
  • Improve get_delay() and drain() functions
  • Add support for 5 and 7 channels

@radioactiveman
Copy link
Member Author

radioactiveman commented Nov 29, 2024

@jlindgren90: Is this looking good for you? Especially the implementation of get_delay()? SDL and qtaudio for example store a paused flag and use it there. Should we do the same for PipeWire?

@maris-ab: I have found https://docs.pipewire.org/structpw__time.html in the PipeWire docs. I'm not sure though if/how this could be used to determine the delay. Maybe @wtay as PipeWire author can support here?

src/pipewire/pipewire.cc Outdated Show resolved Hide resolved
src/pipewire/pipewire.cc Outdated Show resolved Hide resolved
src/pipewire/pipewire.cc Show resolved Hide resolved
src/pipewire/pipewire.cc Outdated Show resolved Hide resolved
@radioactiveman radioactiveman force-pushed the master branch 2 times, most recently from 185ddd3 to f14fe1e Compare December 1, 2024 22:44
- Use RingBuf from audcore
- Respect output_buffer_size setting
- Improve get_delay() and drain() functions
- Add support for 5 and 7 channels

Co-authored-by: Thomas Lange <[email protected]>
@jlindgren90
Copy link
Member

Looking very nice. @radioactiveman any idea why the CI build fails on Ubuntu 22.04?

@radioactiveman
Copy link
Member Author

Looking very nice. @radioactiveman any idea why the CI build fails on Ubuntu 22.04?

The pipeline is green now. I needed to add version checks and fallback methods for Ubuntu 22.04.
Thanks again @maris-ab for your patches. 👍

@radioactiveman radioactiveman merged commit fedb27c into audacious-media-player:master Dec 2, 2024
10 checks passed
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 this pull request may close these issues.

3 participants