Remove an unnecessary wrapper function (just rename __AudioMix to NativeMix)

This commit is contained in:
Henrik Rydgård 2025-02-11 18:02:26 -06:00
parent 27deabaea9
commit 25817c3bdb
3 changed files with 1 additions and 7 deletions

View file

@ -7,7 +7,7 @@ StereoResampler g_resampler;
// numFrames is number of stereo frames.
// This is called from *outside* the emulator thread.
int __AudioMix(int16_t *outStereo, int numFrames, int sampleRateHz) {
int NativeMix(int16_t *outStereo, int numFrames, int sampleRateHz) {
int validFrames = g_resampler.Mix(outStereo, numFrames, false, sampleRateHz);
// Mix sound effects on top.

View file

@ -1,5 +1,3 @@
#pragma once
#include <cstdint>
int __AudioMix(int16_t *outstereo, int numFrames, int sampleRate);

View file

@ -196,10 +196,6 @@ std::thread *graphicsLoadThread;
// globals
Path boot_filename;
int NativeMix(short *audio, int numSamples, int sampleRateHz) {
return __AudioMix(audio, numSamples, sampleRateHz);
}
// This is called before NativeInit so we do a little bit of initialization here.
void NativeGetAppInfo(std::string *app_dir_name, std::string *app_nice_name, bool *landscape, std::string *version) {
*app_nice_name = "PPSSPP";