expose pause/play in MixerDeviceSink#847
Conversation
it's on a list somewhere I swear!
My worry is that if we merge something like this as is we will break a lot of systems when we eventually add a proper fix (which we will however span-less Rodio is taking priority the coming months). We can mitigate that by putting it under the |
src/stream.rs
Outdated
| /// | ||
| /// will silenty fail to play audio until play() is called | ||
| /// | ||
| /// [THIS WILL BE REPLACED IN THE FEATURE IN FAVOR OF AUTOMATIC PAUSING](https://github.com/RustAudio/rodio/pull/791) |
There was a problem hiding this comment.
I'd would not mention only the git issue (maybe we find another solution) instead something along the lines of:
This is an experimental API it is likely to removed once a better solution is found without notice or a change log entry
^^ which is also why we do not need a change-log entry
this PR partially addresses long standing issue of the background cpu usage even when nothing is playing
#299
#782
while there was an attempt to make a proper fix #791 it looks like the author gave up after a day