Engine::Audio Namespace Reference
Name | |
---|---|
class | Engine::Audio::AudioBuffer _A simple audio buffer to hold PCM samples_ |
class | Engine::Audio::AudioManager An audio manager that accepts multiple Audio::AudioBuffer instances. |
Name | |
---|---|
typedef int(*)(AudioBuffer &buffer, size_t offset) | Callback Some callback function pointer type definition. |
using int(*)(AudioBuffer &buffer, size_t offset, void *user) | Callback2 Some callback function pointer type definition. |
Name | |
---|---|
void | doSomething(AudioBuffer & buffer)Do something with the buffer. |
typedef int(* Engine::Audio::Callback) (AudioBuffer &buffer, size_t offset);
Some callback function pointer type definition.
Parameters:
Deprecated:
Use the Audio::Callback2 instead
using Engine::Audio::Callback2 = typedef int (*)(AudioBuffer& buffer, size_t offset, void* user);
Some callback function pointer type definition.
Parameters:
void doSomething(
AudioBuffer & buffer
)
Do something with the buffer.
Updated on 2022-10-19 at 22:22:02 +0000