Module: FMOD

Defined in:
lib/fmod.rb,
lib/fmod/enums.rb,
lib/fmod/sound.rb,
lib/fmod/system.rb,
lib/fmod/channel.rb,
lib/fmod/convert.rb,
lib/fmod/constants.rb,
lib/fmod/functions.rb

Defined Under Namespace

Modules: Constants, Convert, Enums, Functions Classes: Channel, Error, Sound, System

Class Method Summary collapse

Class Method Details

.init(*args) ⇒ Object



16
17
18
# File 'lib/fmod.rb', line 16

def self.init(*args)
  @system = System.new(*args)
end

.systemObject

Ruby version of the system



21
22
23
# File 'lib/fmod.rb', line 21

def self.system
  @system
end

.system_pointerObject

This pointer is used by many of the sound functions



26
27
28
# File 'lib/fmod.rb', line 26

def self.system_pointer
  @system.pointer
end