Replace AUDIO_CONFIGURATION constants with MAKE_AUDIO_CONFIGURATION() macro

This commit is contained in:
Cameron Gutman committed 2020-03-31 21:33:34 -07:00
1 parent fb60ae6a4d
commit 607aaca93f
5 files changed
+33 -22

No files matched your search

+3
View File
@@ -49,6 +49,9 @@ extern int AudioPacketDuration;
// renderer sets CAPABILITY_SUPPORTS_ARBITRARY_AUDIO_DURATION.
#define LOW_AUDIO_BITRATE_TRESHOLD 5000
// Internal macro for checking the magic byte of the audio configuration value
#define MAGIC_BYTE_FROM_AUDIO_CONFIG(x) ((x) & 0xFF)
int serviceEnetHost(ENetHost* client, ENetEvent* event, enet_uint32 timeoutMs);
int extractVersionQuadFromString(const char* string, int* quad);
int isReferenceFrameInvalidationEnabled(void);