backend documentation? #1577
michaelherger
started this conversation in
General
Replies: 1 comment 2 replies
-
What would the documentation describe? All backends fundamentally work the same. Librespot pushes/writes data into the backend as fast as it is allowed to i.e. as fast as Linux pipes are effectively queues. You can set the size, and you control the rate you read from them in order to control the rate data is written into them. Does that help? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there
Is there any documentation available about the backend implementations? I'm currently using pipe to send the data to my own application. Alas, as it would buffer a ton of data, I'd have received multiple tracks already when the first track actually finishes. Therefore I was wondering how to go about this, whether it was possible to define a maximum buffer or something in the pipe. Or rate limit what it's sending out etc.
I could even imagine implementing an interaction with my application where librespot would allow it to buffer stuff, but be able to tell it "hey, change of track - get rid of buffered data!" etc. I would imagine that this is something which must have been implemented with most backends, but I don't get it...
Beta Was this translation helpful? Give feedback.
All reactions