#include <ArSoundPlayer.h>
Definition at line 55 of file ArSoundPlayer.h.
Static Public Member Functions | |
static ArRetFunctor2< bool, const char *, const char * > * | getPlayWavFileCallback () |
static ArFunctor * | getStopPlayingCallback () |
static bool | playNativeFile (const char *filename, const char *params) |
static bool | playSoundPCM16 (char *data, int numSamples) |
static bool | playWavFile (const char *filename, const char *params) |
static void | stopPlaying () |
Static Protected Attributes | |
static int | myPlayChildPID = -1 |
Only used on Linux. | |
static ArGlobalRetFunctor2< bool, const char *, const char * > | ourPlayWavFileCB |
static ArGlobalFunctor | ourStopPlayingCB |
|
Return the static functor for playWavFile Definition at line 37 of file ArSoundPlayer.cpp. |
|
Return the static functor for stopPlaying(). Definition at line 43 of file ArSoundPlayer.cpp. |
|
Play a file in some native file format for the compilation platform. Definition at line 97 of file ArSoundPlayer.cpp. |
|
Play raw uncompressed PCM16 sound data. The format of this data is numSamples samples of two bytes each. Each byte pair is a signed little endian integer. The sound will be played back at 16kHz, monaurally.
Definition at line 173 of file ArSoundPlayer.cpp. |
|
Play a WAV (Windows RIFF) file
Definition at line 123 of file ArSoundPlayer.cpp. |
|
Cancel (interrupt) any current sound or file playback. Definition at line 162 of file ArSoundPlayer.cpp. |