Class: FMOD::System::RamUsage

Inherits:
Struct
  • Object
show all
Defined in:
lib/fmod/system.rb

Overview

Contains the amount of dedicated sound ram available if the platform supports it.

Instance Attribute Summary collapse

Instance Attribute Details

#currentInteger

The currently allocated sound RAM memory at time of call.

Returns:

  • (Integer)

    the current value of current



35
36
37
# File 'lib/fmod/system.rb', line 35

def current
  @current
end

#maxInteger

The maximum allocated sound RAM memory since the System was created.

Returns:

  • (Integer)

    the current value of max



35
36
37
# File 'lib/fmod/system.rb', line 35

def max
  @max
end

#totalInteger

The total amount of sound RAM available on this device.

Returns:

  • (Integer)

    the current value of total



35
36
37
# File 'lib/fmod/system.rb', line 35

def total
  @total
end