sfml3.rb

Module: SFML::SoundChannel

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

Overview

Speaker position constants used in a channel map (SoundBuffer#channel_map, Music#channel_map, SoundStream#channel_map, SoundRecorder#channel_map), mirrored as symbols (e.g. :front_left) rather than these Integer constants in those methods.

Constant Summary collapse

UNSPECIFIED =

No channel position specified.

INT2NUM(sfSoundChannelUnspecified)
MONO =

A single, centered channel.

INT2NUM(sfSoundChannelMono)
FRONT_LEFT =

Front left speaker.

INT2NUM(sfSoundChannelFrontLeft)
FRONT_RIGHT =

Front right speaker.

INT2NUM(sfSoundChannelFrontRight)
FRONT_CENTER =

Front center speaker.

INT2NUM(sfSoundChannelFrontCenter)
FRONT_LEFT_OF_CENTER =

Front left-of-center speaker.

INT2NUM(sfSoundChannelFrontLeftOfCenter)
FRONT_RIGHT_OF_CENTER =

Front right-of-center speaker.

INT2NUM(sfSoundChannelFrontRightOfCenter)
LOW_FREQUENCY_EFFECTS =

Low-frequency effects (subwoofer) channel.

INT2NUM(sfSoundChannelLowFrequencyEffects)
BACK_LEFT =

Back left speaker.

INT2NUM(sfSoundChannelBackLeft)
BACK_RIGHT =

Back right speaker.

INT2NUM(sfSoundChannelBackRight)
BACK_CENTER =

Back center speaker.

INT2NUM(sfSoundChannelBackCenter)
SIDE_LEFT =

Side left speaker.

INT2NUM(sfSoundChannelSideLeft)
SIDE_RIGHT =

Side right speaker.

INT2NUM(sfSoundChannelSideRight)
TOP_CENTER =

Top center speaker.

INT2NUM(sfSoundChannelTopCenter)
TOP_FRONT_LEFT =

Top front left speaker.

INT2NUM(sfSoundChannelTopFrontLeft)
TOP_FRONT_RIGHT =

Top front right speaker.

INT2NUM(sfSoundChannelTopFrontRight)
TOP_FRONT_CENTER =

Top front center speaker.

INT2NUM(sfSoundChannelTopFrontCenter)
TOP_BACK_LEFT =

Top back left speaker.

INT2NUM(sfSoundChannelTopBackLeft)
TOP_BACK_RIGHT =

Top back right speaker.

INT2NUM(sfSoundChannelTopBackRight)
TOP_BACK_CENTER =

Top back center speaker.

INT2NUM(sfSoundChannelTopBackCenter)