Class: FMOD::System::StreamBuffer
- Inherits:
-
Struct
- Object
- Struct
- FMOD::System::StreamBuffer
- Defined in:
- lib/fmod/system.rb
Overview
The internal buffer size for streams opened after this call. Larger values will consume more memory, whereas smaller values may cause buffer under-run/starvation/stuttering caused by large delays in disk access (ie net-stream), or CPU usage in slow machines, or by trying to play too many streams at once.
Instance Attribute Summary collapse
-
#size ⇒ Integer
The size of stream file buffer.
-
#type ⇒ Integer
Type of unit for stream file buffer size.
Instance Attribute Details
#size ⇒ Integer
The size of stream file buffer. Default is 16384.
89 90 91 |
# File 'lib/fmod/system.rb', line 89 def size @size end |
#type ⇒ Integer
Type of unit for stream file buffer size.
89 90 91 |
# File 'lib/fmod/system.rb', line 89 def type @type end |