Class: SDC::SoundBuffer
- Inherits:
-
Object
- Object
- SDC::SoundBuffer
- Defined in:
- engine_docs/automatic_doc_SoundBuffer.rb,
engine_docs/automatic_doc_SoundBuffer.rb
Overview
Class for buffered sounds
Instance Method Summary collapse
-
#initialize ⇒ Sound
constructor
Creates a sound buffer (without content).
-
#load_from_file(filename) ⇒ Boolean
Loads a sound from the file, returning true if loading was successful, else false.
Constructor Details
#initialize ⇒ Sound
Creates a sound buffer (without content)
|
# File 'engine_docs/automatic_doc_SoundBuffer.rb', line 9
|
Instance Method Details
#load_from_file(filename) ⇒ Boolean
Loads a sound from the file, returning true if loading was successful, else false.
|
# File 'engine_docs/automatic_doc_SoundBuffer.rb', line 14
|