AudioProcessingState documentation
To which pages does your suggestion apply?
if we take an example and not use ConcatenatingAudioSource and apply the processing state as shown in the example, i.e
https://github.com/ryanheise/audio_service/blob/1591871aa7fe440f9c6cf1fd3bb84c6af0880aef/audio_service/example/lib/main.dart#L755-L760
there's no problem
however if do the same with any other resource, for example asset from https://github.com/ryanheise/audio_service/issues/654, it makes to reappear each time the player goes to idle state
(see the video)
Quote the sentences(s) from the documentation to be improved (if any) n/a
Describe your suggestion
- document better on what
AudioProcessingStateaffects - remove the map from the example and/or add a comment directly to the example about this behavior
https://user-images.githubusercontent.com/39104740/114426378-b2c2be80-9bc2-11eb-98a0-2361054b680f.mp4
This sounds like it is an issue with just_audio asset loading. We should not expect the processing state to change to idle for a valid asset.
FYI this happens to local files as well
That would also be an issue with just_audio. Can you make an issue on that project?
According to this diagram this is intended https://github.com/ryanheise/just_audio/tree/master/just_audio#the-state-model Do we want to change this model?
UPD: I filed an issue, let's discuss this there UPD2: oh, actually this is not intended, I see
