#include <sample.h>
Public Methods | |
Sample () | |
Sample (string fileName, int chan=-1) | |
~Sample () | |
bool | Play (int loops) |
int | GetChannel () |
bool | SetChannel (int channel) |
bool | isPlaying () |
Private Attributes | |
string | name |
Mix_Chunk * | sample |
int | channel |
|
Definition at line 8 of file sample.cpp. |
|
Definition at line 11 of file sample.cpp. |
|
Definition at line 20 of file sample.cpp. |
|
Definition at line 27 of file sample.cpp. References channel. |
|
Definition at line 50 of file sample.cpp. References channel. |
|
Definition at line 38 of file sample.cpp. |
|
Definition at line 32 of file sample.cpp. References channel. |
|
Definition at line 21 of file sample.h. Referenced by GetChannel(), isPlaying(), Play(), Sample(), SetChannel(), and ~Sample(). |
|
|
|
|