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

Getting uninterrupted audio samples from PipeWire #4

Open
nots1dd opened this issue Oct 5, 2024 · 0 comments
Open

Getting uninterrupted audio samples from PipeWire #4

nots1dd opened this issue Oct 5, 2024 · 0 comments
Labels
enhancement New feature or request hacktoberfest Issues for hacktoberfest2024

Comments

@nots1dd
Copy link
Owner

nots1dd commented Oct 5, 2024

Basic boilerplate of becoming a client of PipeWire and getting access to its audio stream input is simple enough

However, there are a few issues that I have tackled when learning its API (and looking at other refs)

Refs:

a. pipewire API

b. cava

  1. Ensure that the changing of audio device does not change the pipewire stream (both refs dont mention it or am just dumb)
  2. When there are multiple running clients of pipewire, and one of them is us, we are not able to maintain the stream of samples and instead get garbage values.

For example, try running any boilerplate pipewire audio capture code and CAVA simultaneously.
The stream of our PW input changes drastically and does not make sense anymore

These are the biggest issues I have faced and it would be great to have this issue resolved.

@nots1dd nots1dd added enhancement New feature or request hacktoberfest Issues for hacktoberfest2024 labels Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest Issues for hacktoberfest2024
Projects
None yet
Development

No branches or pull requests

1 participant