mirror of https://github.com/bjornbytes/lovr.git
Remove DEFAULT_SAMPLE_RATE
This commit is contained in:
parent
a0a242a610
commit
52db969622
|
@ -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)) {
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define DEFAULT_SAMPLE_RATE 48000
|
||||
#define BUFFER_SIZE 256
|
||||
#define MAX_SOURCES 64
|
||||
|
||||
|
|
Loading…
Reference in New Issue