Rearrange header includes

This commit is contained in:
twinaphex 2015-11-23 19:40:09 +01:00
parent a688baebe0
commit e0f0590269
32 changed files with 53 additions and 45 deletions

View File

@ -21,7 +21,6 @@
#include <rthreads/rthreads.h>
#include "audio_thread_wrapper.h"
#include "../general.h"
#include "../performance.h"
#include "../verbosity.h"

View File

@ -17,9 +17,10 @@
#ifndef RARCH_AUDIO_THREAD_H__
#define RARCH_AUDIO_THREAD_H__
#include "../driver.h"
#include <boolean.h>
#include "audio_driver.h"
/**
* rarch_threaded_audio_init:
* @out_driver : output driver

View File

@ -17,8 +17,8 @@
#include <alsa/asoundlib.h>
#include "../../driver.h"
#include "../../general.h"
#include "../audio_driver.h"
#include "../../configuration.h"
#include "../../verbosity.h"
typedef struct alsa

View File

@ -18,8 +18,8 @@
#define ALSA_PCM_NEW_SW_PARAMS_API
#include <sys/asoundlib.h>
#include "../../general.h"
#include "../../driver.h"
#include "../audio_driver.h"
#include "../../configuration.h"
#define MAX_FRAG_SIZE 3072
#define DEFAULT_RATE 48000

View File

@ -21,8 +21,8 @@
#include <rthreads/rthreads.h>
#include <queues/fifo_buffer.h>
#include "../../driver.h"
#include "../../general.h"
#include "../audio_driver.h"
#include "../../configuration.h"
#include "../../verbosity.h"
#define TRY_ALSA(x) if (x < 0) { \

View File

@ -31,8 +31,8 @@
#include <rthreads/rthreads.h>
#include <retro_endianness.h>
#include "../../driver.h"
#include "../../general.h"
#include "../audio_driver.h"
#include "../configuration.h"
#include "../../verbosity.h"
#if defined(__powerpc__) || defined(__ppc__) || defined(__POWERPC__)

View File

@ -14,8 +14,9 @@
*/
#include <3ds.h>
#include "../../general.h"
#include "../../driver.h"
#include "../audio_driver.h"
#include "../../configuration.h"
#include "../../performance.h"
typedef struct

View File

@ -14,8 +14,9 @@
*/
#include <3ds.h>
#include "../../general.h"
#include "../../driver.h"
#include "../audio_driver.h"
#include "../../configuration.h"
#include "../../performance.h"

View File

@ -34,8 +34,8 @@
#include <rthreads/rthreads.h>
#include <queues/fifo_buffer.h>
#include "../../driver.h"
#include "../../general.h"
#include "../audio_driver.h"
#include "../configuration.h"
#include "../../verbosity.h"
#ifdef _XBOX

View File

@ -27,8 +27,8 @@
#include <boolean.h>
#include <retro_inline.h>
#include "../../driver.h"
#include "../../general.h"
#include "../audio_driver.h"
#include "../../configuration.h"
#include "../../defines/gx_defines.h"
#define CHUNK_FRAMES 64

View File

@ -26,8 +26,8 @@
#include <boolean.h>
#include <rthreads/rthreads.h>
#include "../../driver.h"
#include "../../general.h"
#include "../audio_driver.h"
#include "../../configuration.h"
#include "../../verbosity.h"
#define FRAMES(x) (x / (sizeof(float) * 2))

View File

@ -13,8 +13,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../../general.h"
#include "../../driver.h"
#include "../audio_driver.h"
static void *null_audio_init(const char *device, unsigned rate, unsigned latency)
{

View File

@ -28,8 +28,8 @@
#include <windows.h>
#endif
#include "../../driver.h"
#include "../../general.h"
#include "../audio_driver.h"
#include "../../configuration.h"
#include "../../verbosity.h"
#define BUFSIZE 1024

View File

@ -21,8 +21,8 @@
#include <rthreads/rthreads.h>
#include "../../driver.h"
#include "../../general.h"
#include "../audio_driver.h"
#include "../../configuration.h"
/* Helper macros, COM-style. */
#define SLObjectItf_Realize(a, ...) ((*(a))->Realize(a, __VA_ARGS__))

View File

@ -31,8 +31,8 @@
#include "config.h"
#endif
#include "../../driver.h"
#include "../../general.h"
#include "../audio_driver.h"
#include "../../configuration.h"
#include "../../verbosity.h"
#ifdef HAVE_OSS_BSD

View File

@ -19,8 +19,8 @@
#include <queues/fifo_buffer.h>
#include "../driver.h"
#include "../general.h"
#include "../audio_driver.h"
#include "../../configuration.h"
#include "../../defines/ps3_defines.h"

View File

@ -28,8 +28,8 @@
#include <pspaudio.h>
#endif
#include "../../general.h"
#include "../../driver.h"
#include "../audio_driver.h"
#include "../../configuration.h"
typedef struct psp_audio
{

View File

@ -21,8 +21,8 @@
#include <boolean.h>
#include <retro_endianness.h>
#include "../../driver.h"
#include "../../general.h"
#include "../audio_driver.h"
#include "../../configuration.h"
#include "../../verbosity.h"
typedef struct

View File

@ -22,8 +22,8 @@
#include <boolean.h>
#include "../../driver.h"
#include "../../general.h"
#include "../audio_driver.h"
#include "../../configuration.h"
typedef struct
{

View File

@ -17,8 +17,8 @@
#include <unistd.h>
#include <boolean.h>
#include "../../driver.h"
#include "../../general.h"
#include "../audio_driver.h"
#include "../../configuration.h"
/* forward declarations */
unsigned RWebAudioSampleRate(void);

View File

@ -26,8 +26,8 @@
#include <queues/fifo_buffer.h>
#include <retro_inline.h>
#include "../../driver.h"
#include "../../general.h"
#include "../audio_driver.h"
#include "../../configuration.h"
#include "../../verbosity.h"
typedef struct sdl_audio

View File

@ -24,8 +24,8 @@
#include "xaudio.h"
#include "../../driver.h"
#include "../../general.h"
#include "../audio_driver.h"
#include "../../configuration.h"
#include "../../verbosity.h"
typedef struct xaudio2 xaudio2_t;

View File

@ -21,8 +21,8 @@
#include <retro_inline.h>
#include "../../driver.h"
#include "../../general.h"
#include "../audio_driver.h"
#include "../../configuration.h"
#define SOUND_FREQUENCY 48000
#define MAX_BUFFER 2048

View File

@ -19,6 +19,7 @@
#include "command_event.h"
#include "audio/audio_driver.h"
#include "general.h"
#include "performance.h"
#include "dynamic.h"

View File

@ -22,6 +22,7 @@
#include <compat/posix_string.h>
#include <retro_stat.h>
#include "audio/audio_driver.h"
#include "config.def.h"
#include "input/input_common.h"
#include "input/input_keymaps.h"

View File

@ -21,6 +21,7 @@
#include "msg_hash.h"
#include "verbosity.h"
#include "audio/audio_driver.h"
#ifdef HAVE_MENU
#include "menu/menu.h"

View File

@ -30,7 +30,6 @@
#include "ui/ui_companion_driver.h"
#include "gfx/video_driver.h"
#include "gfx/font_renderer_driver.h"
#include "audio/audio_driver.h"
#include "camera/camera_driver.h"
#include "location/location_driver.h"

View File

@ -29,6 +29,7 @@
#include "performance.h"
#include "audio/audio_driver.h"
#include "libretro_private.h"
#include "cores/internal_cores.h"
#include "retroarch.h"

View File

@ -32,6 +32,7 @@
#include "rewind.h"
#include "performance.h"
#include "input/input_remapping.h"
#include "audio/audio_driver.h"
#include "record/record_driver.h"
#include "verbosity.h"

View File

@ -38,6 +38,7 @@
#include "../driver.h"
#include "../general.h"
#include "../dynamic.h"
#include "../audio/audio_driver.h"
#include "../input/input_common.h"
#include "../input/input_autodetect.h"
#include "../config.def.h"

View File

@ -26,6 +26,7 @@
#include "rewind.h"
#include "performance.h"
#include "verbosity.h"
#include "audio/audio_driver.h"
/* This makes Valgrind throw errors if a core overflows its savestate size. */
/* Keep it off unless you're chasing a core bug, it slows things down. */

View File

@ -29,6 +29,7 @@
#include "retroarch.h"
#include "runloop.h"
#include "runloop_data.h"
#include "audio/audio_driver.h"
#include "msg_hash.h"