fixup! reapply love-specific patches to OpenAL-Soft

This commit is contained in:
Sasha Szpakowski
2025-05-03 13:00:54 -03:00
parent bc423714ec
commit 8830ab01fe
+21
View File
@@ -0,0 +1,21 @@
// This file is NOT part of OpenAL-soft
#include <jni.h>
#include "oboe/Oboe.h"
extern "C"
{
JNIEXPORT void JNICALL
Java_org_love2d_android_GameActivity_nativeSetDefaultStreamValues(
JNIEnv *env,
jclass type,
jint sampleRate,
jint framesPerBurst
) {
oboe::DefaultStreamValues::SampleRate = (int32_t) sampleRate;
oboe::DefaultStreamValues::FramesPerBurst = (int32_t) framesPerBurst;
}
}