fix Termux build again
This commit is contained in:
parent
b90552dfb1
commit
7586db9a1b
|
@ -252,7 +252,7 @@ src/audio/midi.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
if (USE_SDL2)
|
if (USE_SDL2)
|
||||||
list(APPEND AUDIO_SOURCES src/audio/sdl.cpp)
|
list(APPEND AUDIO_SOURCES src/audio/sdlAudio.cpp)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (WITH_JACK)
|
if (WITH_JACK)
|
||||||
|
|
|
@ -17,11 +17,10 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <SDL_audio.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "../ta-log.h"
|
#include "../ta-log.h"
|
||||||
#include "sdl.h"
|
#include "sdlAudio.h"
|
||||||
|
|
||||||
void taSDLProcess(void* inst, unsigned char* buf, int nframes) {
|
void taSDLProcess(void* inst, unsigned char* buf, int nframes) {
|
||||||
TAAudioSDL* in=(TAAudioSDL*)inst;
|
TAAudioSDL* in=(TAAudioSDL*)inst;
|
|
@ -24,7 +24,7 @@
|
||||||
#include "../ta-log.h"
|
#include "../ta-log.h"
|
||||||
#include "../fileutils.h"
|
#include "../fileutils.h"
|
||||||
#ifdef HAVE_SDL2
|
#ifdef HAVE_SDL2
|
||||||
#include "../audio/sdl.h"
|
#include "../audio/sdlAudio.h"
|
||||||
#endif
|
#endif
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
|
|
Loading…
Reference in New Issue