SoundManager.cc File Reference
Implements SoundManager, which provides sound effects and caching services, as well as mixing buffers for the SoundPlay process.
More...
#include "Shared/Config.h"
#include "Shared/debuget.h"
#include "Shared/MarkScope.h"
#include "Events/EventRouter.h"
#include "SoundManager.h"
#include "WAV.h"
#include "Shared/ODataFormats.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <fstream>
#include <stdexcept>
#include "MaryClient.h"
Go to the source code of this file.
Typedefs |
typedef MarkScope | 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!
|
Detailed Description
Implements SoundManager, which provides sound effects and caching services, as well as mixing buffers for the SoundPlay process.
- Author:
- ejt (Creator)
Definition in file SoundManager.cc.
Typedef Documentation
for convenience when locking each of the functions
Definition at line 77 of file SoundManager.cc.
Variable Documentation
lets you play a sound from anywhere in your code - just a one liner!
Definition at line 74 of file SoundManager.cc.
Referenced by ControlBase::doCancel(), FlashIPAddrBehavior::doEvent(), CameraBehavior::doEvent(), Transition::doFire(), ControlBase::doNextItem(), ControlBase::doPrevItem(), ControlBase::doReadStdIn(), WaypointWalkControl::WaypointEditControl::doSelect(), WaypointWalkControl::doSelect(), WalkCalibration::doSelect(), SensorObserverControl::doSelect(), EventLogger::doSelect(), ControlBase::doSelect(), Controller::doStart(), CameraBehavior::doStart(), Controller::doStop(), CameraBehavior::doStop(), WalkCalibration::err(), RandomTrans::fire(), FlashIPAddrBehavior::loadSounds(), CameraBehavior::openNextFile(), SpeechNode::postStart(), WalkCalibration::processEvent(), TorqueCalibrate::record(), FlashIPAddrBehavior::releaseSounds(), RunSequenceControl< SequenceSize >::selectedFile(), PlaySoundControl::selectedFile(), LoadPostureControl::selectedFile(), ControlBase::setHilights(), EmergencyStopMC::setStopped(), StateNode::start(), SoundNode::startPlaying(), BatteryMonitorBehavior::startWarning(), SpeechNode::stopPlay(), SoundNode::stopPlay(), WalkCalibration::takeInput(), TorqueCalibrate::TakeMeasurementControl::takeInput(), and TorqueCalibrate::TakeMeasurementControl::transition().