Closed ghost closed 3 years ago
I feel like I might have done this intentionally, but thinking about it now, I don't know why. I'll call this worth fixing.
Can you confirm whether the behaviour described by OP is still what's happening under the hood? I came across this while writing a trackable AudioSource
wrapper - I noticed a high number of Some(0)
at the end of any source, but as far as I could tell from here there must be a None
to reset the audio source?
As I was implementing a struct to buffer the Youtube stream I realized that the
AudioSource
s created by the predefined functions don't returnNone
when finished, onlySome(0)
.https://github.com/SpaceManiac/discord-rs/blob/master/src/voice.rs#L265
I think it should rather return
None
, since the docs say: