From 1274092fdd0be189492c898ab4cc86400aa36c86 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 22 Mar 2017 03:00:21 +0100 Subject: [PATCH] Move audio_mixer code to libretro-common --- Makefile.common | 2 +- audio/audio_driver.c | 2 +- audio/audio_mixer.h | 52 ---------------- griffin/griffin.c | 2 +- .../audio}/audio_mixer.c | 37 +++++++----- libretro-common/include/audio/audio_mixer.h | 59 +++++++++++++++++++ 6 files changed, 84 insertions(+), 70 deletions(-) delete mode 100644 audio/audio_mixer.h rename {audio => libretro-common/audio}/audio_mixer.c (90%) create mode 100644 libretro-common/include/audio/audio_mixer.h diff --git a/Makefile.common b/Makefile.common index 16964a7af7..6d06ca008a 100644 --- a/Makefile.common +++ b/Makefile.common @@ -186,7 +186,7 @@ OBJ += frontend/frontend.o \ file_path_str.o \ $(LIBRETRO_COMM_DIR)/hash/rhash.o \ audio/audio_driver.o \ - audio/audio_mixer.o \ + $(LIBRETRO_COMM_DIR)/audio/audio_mixer.o \ input/input_driver.o \ gfx/video_coord_array.o \ gfx/video_driver.o \ diff --git a/audio/audio_driver.c b/audio/audio_driver.c index fcdf62e783..be714d9062 100644 --- a/audio/audio_driver.c +++ b/audio/audio_driver.c @@ -23,6 +23,7 @@ #include