rodio icon indicating copy to clipboard operation
rodio copied to clipboard

Remove the need to keep the stream around

Open dvdsk opened this issue 5 months ago • 4 comments

Its a common footgun in using rodio. It should be possible to store the stream in the sink.

Remaining questions, does the stream need to be accessible when a sink is used? If so how? Does sink get a method to get the stream?

Implementation wise it seems like storing the stream in an Arc will work.

dvdsk avatar Sep 16 '24 14:09 dvdsk