diff --git a/Makefile.common b/Makefile.common index 2175fbd298..4596b84651 100644 --- a/Makefile.common +++ b/Makefile.common @@ -351,7 +351,6 @@ endif ifeq ($(HAVE_MICROPHONE), 1) DEFINES += -DHAVE_MICROPHONE - OBJ += audio/microphone_driver.o endif ifeq ($(HAVE_REWIND), 1) diff --git a/audio/audio_defines.h b/audio/audio_defines.h index d68a6beee9..67ef8c75dd 100644 --- a/audio/audio_defines.h +++ b/audio/audio_defines.h @@ -21,12 +21,6 @@ RETRO_BEGIN_DECLS -/* So we don't get complete line-noise when fast-forwarding audio. */ -#define AUDIO_CHUNK_SIZE_NONBLOCKING 2048 - -#define AUDIO_MAX_RATIO 16 -#define AUDIO_MIN_RATIO 0.0625 - #define AUDIO_MIXER_MAX_STREAMS 16 #define AUDIO_MIXER_MAX_SYSTEM_STREAMS (AUDIO_MIXER_MAX_STREAMS + 8) diff --git a/audio/audio_driver.c b/audio/audio_driver.c index 99f77bfc0e..0e3732a4e3 100644 --- a/audio/audio_driver.c +++ b/audio/audio_driver.c @@ -1,7 +1,8 @@ /** * RetroArch - A frontend for libretro. * Copyright (C) 2010-2014 - Hans-Kristian Arntzen - * Copyright (C) 2011-2017 - Daniel De Matteis + * Copyright (C) 2011-2025 - Daniel De Matteis + * Copyright (C) 2023-2025 - Jesse Talavera-Greenberg * * RetroArch is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free @@ -18,9 +19,11 @@ **/ #include +#include #include "audio_driver.h" +#include #include #include #include @@ -28,6 +31,7 @@ #include #include