Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 220a9ff

Browse files
committed
Quadrupled max playing sounds per container. Not ideal for multiplayer but should stop all these assert problems people are running into.
1 parent 5200442 commit 220a9ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

System/Constants.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ namespace RTE {
5757
#pragma region Audio Constants
5858
static constexpr unsigned short c_MaxSoftwareChannels = 128;
5959
static constexpr unsigned short c_MaxVirtualChannels = 1024;
60-
static constexpr unsigned short c_MaxPlayingSoundsPerContainer = 64;
60+
static constexpr unsigned short c_MaxPlayingSoundsPerContainer = 256;
6161
/* TODO These have been temporarily replaced with variables in settingsman to allow for easy tweaking. This needs to be undone once our soundscape is sorted out.
6262
static constexpr unsigned short c_ListenerZOffset = 50; //!< The Z offset for Audio listeners. Can be used to lessen harsh panning if panning effect strength is at max.
6363
static constexpr unsigned short c_MinimumDistanceForPanning = 50; //!< The minimum distance before which sound panning should not occur. Not relevant for immobile sounds or in splitscreen.

0 commit comments

Comments
 (0)