Merge pull request #88 from lioncash/relative-includes

Relative includes
This commit is contained in:
Pierre Bourdon
2014-02-20 02:08:44 +01:00
908 changed files with 4954 additions and 5274 deletions
+1 -10
View File
@@ -472,16 +472,7 @@ endif()
########################################
# Setup include directories (and make sure they are preferred over the Externals)
#
include_directories(Source/Core/AudioCommon)
include_directories(Source/Core/Common)
include_directories(Source/Core/Core)
include_directories(Source/Core/DebuggerUICommon)
include_directories(Source/Core/DebuggerWX)
include_directories(Source/Core/DiscIO)
include_directories(Source/Core/DolphinWX)
include_directories(Source/Core/InputCommon)
include_directories(Source/Core/VideoCommon)
include_directories(Source/Core/VideoUICommon)
include_directories(Source/Core)
########################################
# Process externals and setup their include directories
+2 -2
View File
@@ -5,8 +5,8 @@
#include <functional>
#include <string.h>
#include "AOSoundStream.h"
#include "Mixer.h"
#include "AudioCommon/AOSoundStream.h"
#include "AudioCommon/Mixer.h"
#if defined(HAVE_AO) && HAVE_AO
+2 -2
View File
@@ -4,8 +4,8 @@
#pragma once
#include "SoundStream.h"
#include "Thread.h"
#include "AudioCommon/SoundStream.h"
#include "Common/Thread.h"
#if defined(HAVE_AO) && HAVE_AO
#include <ao/ao.h>
+3 -3
View File
@@ -4,9 +4,9 @@
#include <functional>
#include "Common.h"
#include "Thread.h"
#include "AlsaSoundStream.h"
#include "AudioCommon/AlsaSoundStream.h"
#include "Common/Common.h"
#include "Common/Thread.h"
#define FRAME_COUNT_MIN 256
#define BUFFER_SIZE_MAX 8192
+3 -4
View File
@@ -8,10 +8,9 @@
#include <alsa/asoundlib.h>
#endif
#include "Common.h"
#include "SoundStream.h"
#include "Thread.h"
#include "AudioCommon/SoundStream.h"
#include "Common/Common.h"
#include "Common/Thread.h"
class AlsaSound : public SoundStream
{
+18 -15
View File
@@ -2,21 +2,24 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#include "AudioCommon.h"
#include "FileUtil.h"
#include "Mixer.h"
#include "NullSoundStream.h"
#include "DSoundStream.h"
#include "XAudio2_7Stream.h"
#include "XAudio2Stream.h"
#include "AOSoundStream.h"
#include "AlsaSoundStream.h"
#include "CoreAudioSoundStream.h"
#include "OpenALStream.h"
#include "PulseAudioStream.h"
#include "OpenSLESStream.h"
#include "../Core/Movie.h"
#include "../Core/ConfigManager.h"
#include "AudioCommon/AlsaSoundStream.h"
#include "AudioCommon/AOSoundStream.h"
#include "AudioCommon/AudioCommon.h"
#include "AudioCommon/CoreAudioSoundStream.h"
#include "AudioCommon/DSoundStream.h"
#include "AudioCommon/Mixer.h"
#include "AudioCommon/NullSoundStream.h"
#include "AudioCommon/OpenALStream.h"
#include "AudioCommon/OpenSLESStream.h"
#include "AudioCommon/PulseAudioStream.h"
#include "AudioCommon/XAudio2_7Stream.h"
#include "AudioCommon/XAudio2Stream.h"
#include "Common/FileUtil.h"
#include "Core/ConfigManager.h"
#include "Core/Movie.h"
// This shouldn't be a global, at least not here.
SoundStream *soundStream = nullptr;
+2 -2
View File
@@ -4,8 +4,8 @@
#pragma once
#include "Common.h"
#include "SoundStream.h"
#include "AudioCommon/SoundStream.h"
#include "Common/Common.h"
class CMixer;
@@ -4,7 +4,7 @@
#include <CoreServices/CoreServices.h>
#include "CoreAudioSoundStream.h"
#include "AudioCommon/CoreAudioSoundStream.h"
OSStatus CoreAudioSound::callback(void *inRefCon,
AudioUnitRenderActionFlags *ioActionFlags,
@@ -8,7 +8,7 @@
#include <AudioUnit/AudioUnit.h>
#endif
#include "SoundStream.h"
#include "AudioCommon/SoundStream.h"
class CoreAudioSound : public SoundStream
{
+6 -5
View File
@@ -7,13 +7,14 @@
// * Copyright (c) 2004-2006 Milan Cutka
// * based on mplayer HRTF plugin by ylai
#include <cmath>
#include <cstdlib>
#include <functional>
#include <vector>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "DPL2Decoder.h"
#include "MathUtil.h"
#include <vector>
#include "AudioCommon/DPL2Decoder.h"
#include "Common/MathUtil.h"
#ifndef M_PI
#define M_PI 3.14159265358979323846
+2 -2
View File
@@ -7,8 +7,8 @@
#include <windows.h>
#include "AudioCommon.h"
#include "DSoundStream.h"
#include "AudioCommon/AudioCommon.h"
#include "AudioCommon/DSoundStream.h"
bool DSound::CreateBuffer()
{
+2 -2
View File
@@ -4,8 +4,8 @@
#pragma once
#include "SoundStream.h"
#include "Thread.h"
#include "AudioCommon/SoundStream.h"
#include "Common/Thread.h"
#ifdef _WIN32
#include <Windows.h>
+9 -10
View File
@@ -2,18 +2,17 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#include "Atomic.h"
#include "Mixer.h"
#include "AudioCommon.h"
#include "CPUDetect.h"
#include "../Core/Host.h"
#include "ConfigManager.h"
#include "HW/VideoInterface.h"
#include "../Core/HW/AudioInterface.h"
#include "AudioCommon/AudioCommon.h"
#include "AudioCommon/Mixer.h"
#include "Common/Atomic.h"
#include "Common/CPUDetect.h"
#include "Core/ConfigManager.h"
#include "Core/Host.h"
#include "Core/HW/AudioInterface.h"
#include "Core/HW/VideoInterface.h"
// UGLINESS
#include "../Core/PowerPC/PowerPC.h"
#include "Core/PowerPC/PowerPC.h"
#if _M_SSE >= 0x301 && !(defined __GNUC__ && !defined __SSSE3__)
#include <tmmintrin.h>
+2 -2
View File
@@ -4,8 +4,8 @@
#pragma once
#include "WaveFile.h"
#include "StdMutex.h"
#include "AudioCommon/WaveFile.h"
#include "Common/StdMutex.h"
// 16 bit Stereo
#define MAX_SAMPLES (1024 * 2) // 64ms
+3 -3
View File
@@ -2,9 +2,9 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#include "NullSoundStream.h"
#include "../Core/HW/SystemTimers.h"
#include "../Core/HW/AudioInterface.h"
#include "AudioCommon/NullSoundStream.h"
#include "Core/HW/AudioInterface.h"
#include "Core/HW/SystemTimers.h"
void NullSound::SoundLoop()
{
+2 -2
View File
@@ -4,8 +4,8 @@
#pragma once
#include <stdlib.h>
#include "SoundStream.h"
#include <cstdlib>
#include "AudioCommon/SoundStream.h"
#define BUF_SIZE (48000 * 4 / 32)
+3 -3
View File
@@ -2,9 +2,9 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#include "aldlist.h"
#include "OpenALStream.h"
#include "DPL2Decoder.h"
#include "AudioCommon/aldlist.h"
#include "AudioCommon/DPL2Decoder.h"
#include "AudioCommon/OpenALStream.h"
#if defined HAVE_OPENAL && HAVE_OPENAL
+5 -5
View File
@@ -4,8 +4,11 @@
#pragma once
#include "SoundStream.h"
#include "Thread.h"
#include "AudioCommon/SoundStream.h"
#include "Common/Thread.h"
#include "Core/Core.h"
#include "Core/HW/AudioInterface.h"
#include "Core/HW/SystemTimers.h"
#if defined HAVE_OPENAL && HAVE_OPENAL
#ifdef _WIN32
@@ -21,9 +24,6 @@
#include <AL/alext.h>
#endif
#include "Core.h"
#include "HW/SystemTimers.h"
#include "HW/AudioInterface.h"
#include <soundtouch/SoundTouch.h>
#include <soundtouch/STTypes.h>
+3 -2
View File
@@ -3,13 +3,14 @@
// Refer to the license.txt file included.
#ifdef ANDROID
#include "Common.h"
#include <assert.h>
#include "OpenSLESStream.h"
#include <SLES/OpenSLES.h>
#include <SLES/OpenSLES_Android.h>
#include "AudioCommon/OpenSLESStream.h"
#include "Common/Common.h"
// engine interfaces
static SLObjectItf engineObject;
static SLEngineItf engineEngine;
+2 -2
View File
@@ -4,8 +4,8 @@
#pragma once
#include "Thread.h"
#include "SoundStream.h"
#include "AudioCommon/SoundStream.h"
#include "Common/Thread.h"
class OpenSLESStream : public SoundStream
{

Some files were not shown because too many files have changed in this diff Show More