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

Add a len() method to Sink for some insight into the queue state. #220

Merged
merged 1 commit into from
Mar 4, 2019

Conversation

willstott101
Copy link
Contributor

This seems like a natural addition to the Sink API.

Actually stems from me struggling to get librespot integration working properly. The decoding thread depends on a the audio backend to control it's execution rate.

I tried creating a new source iterator with a sync_channel to the the Librespot Sink but I couldn't get it to work. And it was far more complicated than I would have liked. If this doesn't get accepted I'll take another look at a route like that (a blocking buffer Source which can be written to once it's already playing).

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.

2 participants