Remove DEFAULT_SAMPLE_RATE

This commit is contained in:
mcc 2021-07-20 12:50:04 -04:00 committed by Bjorn
parent a0a242a610
commit 52db969622
2 changed files with 1 additions and 2 deletions

View File

@ -311,7 +311,7 @@ int luaopen_lovr_audio(lua_State* L) {
bool start = true;
const char *spatializer = NULL;
int sampleRate = DEFAULT_SAMPLE_RATE;
int sampleRate = 48000; // Set default here
luax_pushconf(L);
lua_getfield(L, -1, "audio");
if (lua_istable(L, -1)) {

View File

@ -4,7 +4,6 @@
#pragma once
#define DEFAULT_SAMPLE_RATE 48000
#define BUFFER_SIZE 256
#define MAX_SOURCES 64