just_audio icon indicating copy to clipboard operation
just_audio copied to clipboard

Enhance LoopingAudioSource behavior inside ConcatenatingAudioSource

Open maknon opened this issue 4 months ago • 0 comments

Is your feature request related to a problem? Please describe. current LoopingAudioSource is just a repeated AudioSource inside the playlist. this causes some strange behavior when the user use seekToNext or seekToPrevious where the user would expect to go to the next LoopingAudioSource in the playlist but this is not the case.

Describe the solution you'd like LoopingAudioSource to be considered as single AudioSource inside the playlist (ConcatenatingAudioSource) so that seekToNext will jump to the next LoopingAudioSource.

in addition, listening to currentIndexStream shall result with the currentIndex of LoopingAudioSource. sequenceState can have the currentIndex within the LoopingAudioSource itself

Describe alternatives you've considered nothing so far

Additional context nothing

maknon avatar Oct 06 '24 16:10 maknon