BAPS3 Specification

Feature: End

Provides the END response, sent when an audio source ends of its own accord.

This feature mainly exists to enable other features, such as Playlist.AutoAdvance.

Dependencies

End has no dependencies.

Conflicts

End has no conflicts.

Requests

End provides no requests.

Responses

END — audio ended

Synopsis

END

Description

END should be sent when:

  • The current state is Playing; and

  • The current audio source (stream or file) has reached its end; and

  • The audio end is not due to any request from upstream (the end was not caused by a stop, eject, or quit request, for instance).

END may be used as a signal to perform some action on the end of an audio source. For example, implementations of AutoAdvance should use END as a trigger to set up the auto-advance.