Class: FMOD::System::DspBuffer

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

Overview

The buffer size settings for the FMOD software mixing engine.

Instance Attribute Summary collapse

Instance Attribute Details

#countInteger

The mixer engine number of buffers used. Default is

  1. To get the total buffer size multiply the buffer length by the number

of buffers. By default this would be 4*1024.

Returns:

  • (Integer)

    the current value of count



78
79
80
# File 'lib/fmod/system.rb', line 78

def count
  @count
end

#sizeInteger

The mixer engine block size in samples. Default is

  1. (milliseconds = 1024 at 48khz = 1024 / 48000 * 1000 = 10.66ms).

Returns:

  • (Integer)

    the current value of size



78
79
80
# File 'lib/fmod/system.rb', line 78

def size
  @size
end