SoundManager.cc File Reference
Detailed Description
Implements SoundManager, which provides sound effects and caching services, as well as mixing buffers for the SoundPlay process.
- Author:
- ejt (Creator)
- Author
- ejt
- Name
- tekkotsu-2_4_1
- Revision
- 1.2
- State
- Exp
- Date
- 2005/06/01 05:47:53
Definition in file SoundManager.cc.
#include "Shared/Config.h"
#include "SoundManager.h"
#include "IPC/LockScope.h"
#include "WAV.h"
#include "Events/EventRouter.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fstream>
#include <OPENR/OSubject.h>
#include <OPENR/ObjcommEvent.h>
Include dependency graph for SoundManager.cc:
Go to the source code of this file.
|
Typedefs |
typedef LockScope< ProcessID::NumProcesses > | AutoLock |
| for convenience when locking each of the functions
|
Variables |
SoundManager * | sndman = NULL |
| lets you play a sound from anywhere in your code - just a one liner!
|
Typedef Documentation
|
for convenience when locking each of the functions
Definition at line 20 of file SoundManager.cc. |
Variable Documentation
|
lets you play a sound from anywhere in your code - just a one liner!
Definition at line 17 of file SoundManager.cc.
Referenced by ControlBase::doCancel(), ControlBase::doNextItem(), ControlBase::doPrevItem(), ControlBase::doReadStdIn(), WaypointWalkControl::WaypointEditControl::doSelect(), WaypointWalkControl::doSelect(), WalkCalibration::doSelect(), SensorObserverControl::doSelect(), EventLogger::doSelect(), ControlBase::doSelect(), SoundTestBehavior::DoStart(), SoundNode::DoStart(), Controller::DoStart(), CameraBehavior::DoStart(), SpeakerServer::DoStop(), SoundTestBehavior::DoStop(), Controller::DoStop(), CameraBehavior::DoStop(), WalkCalibration::err(), Transition::fire(), RandomTrans::fire(), FlashIPAddrBehavior::loadSounds(), CameraBehavior::openNextFile(), SoundTestBehavior::play(), WalkCalibration::processEvent(), SoundTestBehavior::processEvent(), FlashIPAddrBehavior::processEvent(), CameraBehavior::processEvent(), BanditMachine::WaitNode::processEvent(), AutoGetupBehavior::processEvent(), SpeakerServer::QueueFrame(), FlashIPAddrBehavior::releaseSounds(), WalkControllerBehavior::runCommand(), UPennWalkControllerBehavior::runCommand(), RunSequenceControl< SequenceSize >::selectedFile(), PlaySoundControl::selectedFile(), LoadPostureControl::selectedFile(), ControlBase::setHilights(), EmergencyStopMC::setStopped(), PaceTargetsMachine::setup(), SoundNode::StopPlay(), WalkCalibration::takeInput(), and PaceTargetsMachine::teardown(). |
|