mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Remove an unnecessary wrapper function (just rename __AudioMix to NativeMix)
This commit is contained in:
parent
27deabaea9
commit
25817c3bdb
3 changed files with 1 additions and 7 deletions
|
@ -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.
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
int __AudioMix(int16_t *outstereo, int numFrames, int sampleRate);
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Reference in a new issue