Use moonlight-common-c definition for max channel count

This commit is contained in:
Cameron Gutman
2021-07-25 13:33:35 -05:00
parent d1937cb8e6
commit 4e09dccfc0
5 changed files with 14 additions and 18 deletions

View File

@@ -26,7 +26,7 @@
#include <opus_multistream.h>
static OpusMSDecoder* decoder;
static short pcmBuffer[FRAME_SIZE * MAX_CHANNEL_COUNT];
static short pcmBuffer[FRAME_SIZE * AUDIO_CONFIGURATION_MAX_CHANNEL_COUNT];
static SDL_AudioDeviceID dev;
static int channelCount;