Polyphase Game Engine
Loading...
Searching...
No Matches
AudioConstants.h
Go to the documentation of this file.
1#pragma once
2
3#if PLATFORM_WINDOWS
4#define AUDIO_MAX_VOICES 8
5#elif PLATFORM_LINUX
6#define AUDIO_MAX_VOICES 8
7#elif PLATFORM_MAC
8#define AUDIO_MAX_VOICES 8
9#elif PLATFORM_ANDROID
10#define AUDIO_MAX_VOICES 8
11#elif PLATFORM_DOLPHIN
12#define AUDIO_MAX_VOICES 8
13#elif PLATFORM_3DS
14#define AUDIO_MAX_VOICES 8
15#elif defined(POLYPHASE_PLATFORM_ADDON)
16// PSP via sceAudio has 8 hardware channels; pick that as the default for
17// addon-provided platforms unless the addon overrides this value.
18#define AUDIO_MAX_VOICES 8
19#endif