|
Module
|
#include <SoundClip.hpp>
Public Member Functions | |
| const std::string & | getName () const |
| unsigned int | getFrequency () const |
| uint16_t | getNextUID () |
| void | setFrequency (const unsigned int f) |
Protected Member Functions | |
| SoundClip (std::string n, AudioInterface *aI) | |
| SoundClip () | |
Protected Attributes | |
| std::string | name |
| uint16_t | numInstances |
| AudioInterface * | audio |
| unsigned int | frequency |
Friends | |
| class | AudioInterface |
| class | Book< SoundClip > |
The SoundClip represents a single sound's data, which is stored in the AudioInterface, and which is read from by SoundInstances, which represent the actual playing of sounds.
|
inlineprotected |
|
inlineprotected |
| unsigned int SoundClip::getFrequency | ( | ) | const |
Gets the frequecy of this SoundClip, in Hertz.
| const std::string & SoundClip::getName | ( | ) | const |
| uint16_t SoundClip::getNextUID | ( | ) |
Gets the next unique ID for a SoundClip.
|
inline |
|
friend |
|
protected |
The audioInterface that created this SoundClip
|
protected |
The frequency, in Hertz, of this SoundClip
|
protected |
The name of this SoundClip
|
protected |
The number of instances (Sounds) of this SoundClip
1.8.10