#include <audio.hpp>
Inheritance diagram for Audio:
Public Member Functions | |
Audio () | |
Constructor. | |
~Audio () | |
Destructor. | |
int | addSample (char *) |
Add an audio sample to the list of playable samples. | |
void | playSample (int) |
Play a Sample. |
This library will be able to do the audio stuff for the tests
Definition at line 30 of file audio.hpp.
|
Constructor. Definition at line 25 of file audio.cpp. References ERROR, PtfCore::getMessageLog(), Singleton< PtfCore >::getSingleton(), and MESSAGE. Here is the call graph for this function: ![]() |
|
Destructor. |
|
Add an audio sample to the list of playable samples. The audio sample is a wave file.
References PtfCore::getMessageLog(), and Singleton< PtfCore >::getSingleton(). Here is the call graph for this function: ![]() |
|
Play a Sample. The sample has to be loaded with the addSample() method.
References PtfCore::getMessageLog(), and Singleton< PtfCore >::getSingleton(). Here is the call graph for this function: ![]() |