Class: FMOD::System::DspBuffer
- Inherits:
-
Struct
- Object
- Struct
- FMOD::System::DspBuffer
- Defined in:
- lib/fmod/system.rb
Overview
The buffer size settings for the FMOD software mixing engine.
Instance Attribute Summary collapse
-
#count ⇒ Integer
The mixer engine number of buffers used.
-
#size ⇒ Integer
The mixer engine block size in samples.
Instance Attribute Details
#count ⇒ Integer
The mixer engine number of buffers used. Default is
-
To get the total buffer size multiply the buffer length by the number
of buffers. By default this would be 4*1024.
78 79 80 |
# File 'lib/fmod/system.rb', line 78 def count @count end |
#size ⇒ Integer
The mixer engine block size in samples. Default is
-
(milliseconds = 1024 at 48khz = 1024 / 48000 * 1000 = 10.66ms).
78 79 80 |
# File 'lib/fmod/system.rb', line 78 def size @size end |