#include <audio.h>
|
| | Mixer (int rate) |
| int | play (const SoundPatch &patch, const std::vector< std::shared_ptr< const Wav > > &wavs, const float pos[3], float control=0) |
| void | update (int handle, const float pos[3], float control, float speed=0, float accel=0) |
| void | release (int handle) |
| void | mix (float *out, int frames, const Listener &l) |
| void | listen (const Listener &l) |
| void | mix (float *out, int frames) |
| size_t | voices () const |
◆ Mixer()
| obf::Mixer::Mixer |
( |
int | rate | ) |
|
|
inlineexplicit |
◆ listen()
| void obf::Mixer::listen |
( |
const Listener & | l | ) |
|
◆ mix() [1/2]
| void obf::Mixer::mix |
( |
float * | out, |
|
|
int | frames ) |
◆ mix() [2/2]
| void obf::Mixer::mix |
( |
float * | out, |
|
|
int | frames, |
|
|
const Listener & | l ) |
◆ play()
| int obf::Mixer::play |
( |
const SoundPatch & | patch, |
|
|
const std::vector< std::shared_ptr< const Wav > > & | wavs, |
|
|
const float | pos[3], |
|
|
float | control = 0 ) |
◆ release()
| void obf::Mixer::release |
( |
int | handle | ) |
|
◆ update()
| void obf::Mixer::update |
( |
int | handle, |
|
|
const float | pos[3], |
|
|
float | control, |
|
|
float | speed = 0, |
|
|
float | accel = 0 ) |
◆ voices()
| size_t obf::Mixer::voices |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: