> sound indicator couldn't possibly cover all scenarios why music has stopped playing
It can easily do so. It can become red when the amplitude of the output waveform is non-zero and volume is muted, and go back to normal when either the amplitude of the output goes to zero or the volume is unmuted. THAT is the expected behavior.
Or, if the expected behavior was really the one you describe (only go back to normal when unmuted), which would be pretty useless, then it does not work either, because, as I said, it behaves randomly.
> sound indicator couldn't possibly cover all scenarios why music has stopped playing
It can easily do so. It can become red when the amplitude of the output waveform is non-zero and volume is muted, and go back to normal when either the amplitude of the output goes to zero or the volume is unmuted. THAT is the expected behavior.
Or, if the expected behavior was really the one you describe (only go back to normal when unmuted), which would be pretty useless, then it does not work either, because, as I said, it behaves randomly.