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_ANDROID
8#define AUDIO_MAX_VOICES 8
9#elif PLATFORM_DOLPHIN
10#define AUDIO_MAX_VOICES 8
11#elif PLATFORM_3DS
12#define AUDIO_MAX_VOICES 8
13#elif defined(POLYPHASE_PLATFORM_ADDON)
14// PSP via sceAudio has 8 hardware channels; pick that as the default for
15// addon-provided platforms unless the addon overrides this value.
16#define AUDIO_MAX_VOICES 8
17#endif