ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
|
The SoundStage type. More...
#include <SoundStage.h>
Public Member Functions | |
Class * | _SoundStage (void) |
The SoundStage archetype. More... | |
SoundStage * | init (SoundStage *self) |
Initializes this SoundStage with the default device and configuration. More... | |
void | play (const SoundStage *self, const char *sound) |
Enqueues the given Sound for playback. More... | |
void | playResourceName (const SoundStage *, const Sound *sound) |
Data Fields | |
Object | object |
The superclass. More... | |
Protected Attributes | |
SoundStageInterface * | interface |
The interface. More... | |
The SoundStage type.
Definition at line 40 of file SoundStage.h.
Class * _SoundStage | ( | void | ) |
The SoundStage archetype.
Definition at line 120 of file SoundStage.c.
SoundStage * init | ( | SoundStage * | self | ) |
Initializes this SoundStage with the default device and configuration.
self | The SoundStage. |
NULL
on error. Definition at line 55 of file SoundStage.c.
void play | ( | const SoundStage * | self, |
const char * | sound | ||
) |
Enqueues the given Sound for playback.
self | The SoundStage. |
sound | The Sound. |
void playResourceName | ( | const SoundStage * | , |
const Sound * | sound | ||
) |
|
protected |
The interface.
Definition at line 51 of file SoundStage.h.
Object SoundStage::object |
The superclass.
Definition at line 45 of file SoundStage.h.