OPaudioEmitter.h

OPaudioEmitter

_____ _ _
/ ____| | | |
| (___ | |_ _ __ _ _ ___| |_ ___
\___ \| __| '__| | | |/ __| __/ __|
____) | |_| | | |_| | (__| |_\__ \
|_____/ \__|_| \__,_|\___|\__|___/

Globals

  • OPaudioEmitter* OPAUD_CURR_EMITTER
_____ _ _ _
/ ____| | | | | |
| | __| | ___ | |__ __ _| |___
| | |_ | |/ _ \| '_ \ / _` | / __|
| |__| | | (_) | |_) | (_| | \__ \
\_____|_|\___/|_.__/ \__,_|_|___/
  • OPentHeap OPAUD_REG_EMITTERS
  • OPthread OPAUD_UPDATE_THREAD

Functions

  • void OPaudInitThread ( OPint maxEmitters )
_ _ ______ _ _ _ ______ _ _
/\ | (_) | ____| (_) | | | | ____| | | (_)
/ \ _ _ __| |_ ___ | |__ _ __ ___ _| |_| |_ ___ _ __ | |__ _ _ _ __ ___| |_ _ ___ _ __ ___
/ /\ \| | | |/ _` | |/ _ \| __| | '_ ` _ \| | __| __/ _ \ '__| | __| | | | '_ \ / __| __| |/ _ \| '_ \/ __|
/ ____ \ |_| | (_| | | (_) | |____| | | | | | | |_| || __/ | | | | |_| | | | | (__| |_| | (_) | | | \__ \
/_/ \_\__,_|\__,_|_|\___/|______|_| |_| |_|_|\__|\__\___|_| |_| \__,_|_| |_|\___|\__|_|\___/|_| |_|___/
  • OPaudioEmitter* OPaudCreateEmitter ( OPaudioSource* src, OPint flags )
  • void OPaudDestroyEmitter ( OPaudioEmitter* emitter )
  • OPaudioEmitter* OPaudGetEmitter ( OPaudioSource* src, OPint flags )
  • void OPaudRecycleEmitter ( OPaudioEmitter* emitter )
  • void OPaudEnqueueBuffer ( ui8* buffer, OPint length )
  • void OPaudPlay ( )
  • void OPaudPause ( )
  • void OPaudStop ( )
  • void OPaudSafePlay ( OPaudioEmitter* emitter )
  • void OPaudSafePause ( OPaudioEmitter* emitter )
  • void OPaudSafeStop ( OPaudioEmitter* emitter )
  • OPint OPaudUpdate ( void() Proc )
  • OPint OPaudSafeUpdate ( OPaudioEmitter* emitter, void() Proc )
  • OPint OPaudProc ( OPaudioEmitter* emitter, void() Proc )
  • void OPaudPosition ( OPaudioEmitter* emitter, OPvec3* position )
  • void OPaudVelocity ( OPaudioEmitter* emitter, OPvec3* velocity )
  • void OPaudVolume ( OPaudioEmitter* emitter, OPfloat gain )
  • void OPaudPitch ( OPaudioEmitter* emitter, OPfloat pitch )
  • void OPaudProcess ( OPaudioEmitter* emit, OPint length )