Refactor Audio Backend to support single listener only
This commit is contained in:
@@ -5,16 +5,7 @@
|
||||
#include "Engine/Core/Config.h"
|
||||
|
||||
// The maximum amount of listeners used at once
|
||||
#define AUDIO_MAX_LISTENERS 8
|
||||
#define AUDIO_MAX_LISTENERS 1
|
||||
|
||||
// The maximum amount of audio emitter buffers
|
||||
#define AUDIO_MAX_SOURCE_BUFFERS (ASSET_FILE_DATA_CHUNKS)
|
||||
|
||||
// The type of the audio source IDs used to identify it (per listener)
|
||||
#define AUDIO_SOURCE_ID_TYPE uint32
|
||||
|
||||
// The type of the audio buffer IDs used to identify it
|
||||
#define AUDIO_BUFFER_ID_TYPE uint32
|
||||
|
||||
// The buffer ID that is invalid (unused)
|
||||
#define AUDIO_BUFFER_ID_INVALID 0
|
||||
|
||||
Reference in New Issue
Block a user