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

make [mp3cast~] fully non-blocking #3

Open
reduzent opened this issue Dec 17, 2022 · 0 comments
Open

make [mp3cast~] fully non-blocking #3

reduzent opened this issue Dec 17, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@reduzent
Copy link
Contributor

reduzent commented Dec 17, 2022

Currently, quite a few operations of [mp3cast~] might block Pd and thus cause audio-drop outs. Those drop-outs affect only the local DSP processing, but not the streamed (or much less so), since the buffers of the streaming are comparatively large. In some use cases, the blocking nature of [mp3cast~] doesn't cause much harm. In others, especially when using live input, or when playing sound locally with the same instance of Pd, the drop-outs are noticeable.

There are other means to decouple the Pd process from the streaming, for instance, by routing Pd's audio output through JACK to an Icecast source client, like ffmpeg. It's open for debate how much [mp3cast~] would benefit from being truly non-blocking. I am probably not going to implement it soon, but I'm certainly open for a discussion.

@reduzent reduzent added the enhancement New feature or request label Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant