#include <sound.hh>
Inheritance diagram for Sound:
This object type contains sound data and information regarding playback of the sound effect or stream, and sends and receives messages to control playback of the associated sounds. It may be combined with other object types to place the sound in a particular context, for example, in a 3D space using object3d. The behavior of remote and local objects is different: remote objects recieve updates from the local object, and should perform the acctual sound playback (on their local host). The local sound may (optinally) accept the same messages from remote objects, and just forward the message to all local objects (allowing remote objects to control the sound as heard by all remote instances).
Definition at line 44 of file sound.hh.
|
Constructor.
|
|
Get the value of sound:immediate property ( If this value is true, then the sound should be played as soon as the "sound" property changes, or is first recieved (that is, when a "property-update" message is recieved for "sound"). ). |
|
Get the value of sound:loop property ( If this value is true, then playback of the sound should loop; that is, when the end of the sound is reached, it should begin again. ). |
|
Get the value of sound property ( The sound data. Recommended types to support are the various MOD formats (sound/x-mod, sound/x-s3m, sound/x-xm, sound/x-it), raw wave samples (sound/wav, sound/aiff), Ogg Vorbis (sound/x-ogg), and MP3 (sound/mp3), and URL to Ogg or MP3 ("Shoutcast") stream (sound/x-mp3-stream? sound/x-ogg-stream?). ). |
|
Get the datatype of sound property.
|
|
Get the length of the sound.
|
|
Return type string ("sound").
|
|
Register Extenders.
|
|
Set sound:immediate property.
|
|
Set sound:loop property.
|
|
Set sound property.
Definition at line 99 of file sound.cc. Referenced by LocalSound::initialize(). |