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

QOA applications in pipewire #27

Open
amstan opened this issue May 23, 2023 · 0 comments
Open

QOA applications in pipewire #27

amstan opened this issue May 23, 2023 · 0 comments

Comments

@amstan
Copy link

amstan commented May 23, 2023

Not really an issue, more of a discussion and sharing of my ideas.

I've been wondering if QOA might be a good codec for implementing pulseaudio/pipewire's audio over the network. I've played with those in the past, but once you get to 6 channels over wifi it gets laggy. Maybe a more efficient codec like QOA would help.

Before I try to convince any pipewire folks that we should use a lossy codec, I wanted to see what it would sound like. For this I created a jack client that takes its inputs and sends it to the outputs (so i can use it between any of my apps and physical speakers) but with the slight difference that it encodes stuff to QOA then immediatelly decodes it. If there are any artifacts one should be able to hear it, live, using this qoa_quality_test jack client. If nothing more, this is a pretty simple example on how to hookup qoa to a jack client.

Since this is streaming audio, I'm using only the lower level functions (eg: only qoa_{encode_decode}_frame functions without using qoa_{encode,decode}). I think it might be useful to have the default qoa lms initing in some kind of common function so other users can call them too (just like me).

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

No branches or pull requests

1 participant