Class: FMOD::Core::AdvancedSettings

Inherits:
Structure
  • Object
show all
Defined in:
lib/fmod/core/advanced_settings.rb

Instance Method Summary collapse

Methods inherited from Structure

#inspect, #names, #values

Constructor Details

#initialize(address = nil) ⇒ AdvancedSettings

Returns a new instance of AdvancedSettings.



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/fmod/core/advanced_settings.rb', line 5

def initialize(address = nil)
  types = Array.new(9, TYPE_INT) + [TYPE_VOIDP, TYPE_VOIDP] + Array.new(4,
          TYPE_FLOAT) + [TYPE_INT, TYPE_SHORT, TYPE_INT, TYPE_FLOAT] +
          Array.new(8, TYPE_INT)
  members = [ :cb_ize, :max_MPEG_codecs, :max_ADPCM_codecs,
              :max_XMA_codecs, :max_Vorbis_codecs, :max_AT9_codecs,
              :max_FADPCM_codecs, :max_PCM_codecs, :ASIO_channels,
              :ASI_channel_list, :ASIO_speaker_list, :HRTF_min_angle,
              :HRTF_max_angle, :HRTF_freq, :vol0_virtual_vol,
              :default_decode_buffer_size, :profile_port,
              :geometry_max_fade_time, :distance_filter_center_freq,
              :reverb3D_instance, :dsp_buffer_pool_size,
              :stack_size_stream, :stack_size_non_blocking,
              :stack_size_mixer, :resampler_method, :command_queue_size,
              :random_seed]
  super(address, types, members)
end