Module: Seal::Source::State

Defined in:
src/rubyext.c,
src/rubyext.c

Overview

A collection of Source states.

A just-initialized source is in the INITIAL state. After a call to play, the source will enter the PLAYING state. After a call to pause, the source will enter the PAUSED state. After a call to stop, the source will enter the STOPPED state.

Constant Summary collapse

INITIAL =

Indicates a source is in initial state.

name2sym(INITIAL_SYM)
PLAYING =

Indicates a source is playing.

name2sym(PLAYING_SYM)
PAUSED =

Indicates a source is paused from playing.

name2sym(PAUSED_SYM)
STOPPED =

Indicates a source is stopped from playing.

name2sym(STOPPED_SYM)