From ed3d75738ca07f376960a373ee4e6cefd37b17f3 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 31 Jan 2017 07:33:58 +0100 Subject: [PATCH] Simplify audio conversion code --- .../audio/conversion/float_to_s16.c | 94 +++------------ .../audio/conversion/s16_to_float.c | 111 ++++-------------- .../include/audio/conversion/float_to_s16.h | 62 +--------- .../include/audio/conversion/s16_to_float.h | 69 +---------- 4 files changed, 45 insertions(+), 291 deletions(-) diff --git a/libretro-common/audio/conversion/float_to_s16.c b/libretro-common/audio/conversion/float_to_s16.c index 2eeefa4848..df4ab01cfb 100644 --- a/libretro-common/audio/conversion/float_to_s16.c +++ b/libretro-common/audio/conversion/float_to_s16.c @@ -31,8 +31,12 @@ #include #include