sfml3.rb

Module: SFML::SoundStatus

Defined in:
ext/audio/audio_enums.c,
ext/audio/audio_enums.c

Overview

Playback state constants returned by SoundSource#status (Sound, Music, SoundStream). Mirrored as symbols (+:stopped+, :paused, :playing) by that method rather than these Integer constants, but both refer to the same underlying values.

Constant Summary collapse

STOPPED =

The source is not playing.

INT2NUM(sfStopped)
PAUSED =

The source is paused; #playing_offset stays where it was paused.

INT2NUM(sfPaused)
PLAYING =

The source is currently playing.

INT2NUM(sfPlaying)