Class: SDC::SoundBuffer

Inherits:
Object
  • Object
show all
Defined in:
engine_docs/automatic_doc_SoundBuffer.rb,
engine_docs/automatic_doc_SoundBuffer.rb

Overview

Class for buffered sounds

Instance Method Summary collapse

Constructor Details

#initializeSound

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.

Parameters:

  • filename (String)

Returns:

  • (Boolean)


# File 'engine_docs/automatic_doc_SoundBuffer.rb', line 14