mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
Convert all includes to relative paths.
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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/AudioCommon.h"
|
||||
#include "AudioCommon/AOSoundStream.h"
|
||||
#include "AudioCommon/AlsaSoundStream.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;
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -7,8 +7,8 @@
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include "AudioCommon.h"
|
||||
#include "DSoundStream.h"
|
||||
#include "AudioCommon/AudioCommon.h"
|
||||
#include "AudioCommon/DSoundStream.h"
|
||||
|
||||
bool DSound::CreateBuffer()
|
||||
{
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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/SystemTimers.h"
|
||||
#include "Core/HW/AudioInterface.h"
|
||||
|
||||
void NullSound::SoundLoop()
|
||||
{
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "SoundStream.h"
|
||||
#include <cstdlib>
|
||||
#include "AudioCommon/SoundStream.h"
|
||||
|
||||
#define BUF_SIZE (48000 * 4 / 32)
|
||||
|
||||
|
@ -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/OpenALStream.h"
|
||||
#include "AudioCommon/DPL2Decoder.h"
|
||||
|
||||
#if defined HAVE_OPENAL && HAVE_OPENAL
|
||||
|
||||
|
@ -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,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;
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Thread.h"
|
||||
#include "SoundStream.h"
|
||||
#include "AudioCommon/SoundStream.h"
|
||||
#include "Common/Thread.h"
|
||||
|
||||
class OpenSLESStream : public SoundStream
|
||||
{
|
||||
|
@ -4,10 +4,9 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include "Common.h"
|
||||
#include "Thread.h"
|
||||
|
||||
#include "PulseAudioStream.h"
|
||||
#include "AudioCommon/PulseAudioStream.h"
|
||||
#include "Common/Common.h"
|
||||
#include "Common/Thread.h"
|
||||
|
||||
namespace
|
||||
{
|
||||
|
@ -10,10 +10,9 @@
|
||||
|
||||
#include <atomic>
|
||||
|
||||
#include "Common.h"
|
||||
#include "SoundStream.h"
|
||||
|
||||
#include "Thread.h"
|
||||
#include "AudioCommon/SoundStream.h"
|
||||
#include "Common/Common.h"
|
||||
#include "Common/Thread.h"
|
||||
|
||||
class PulseAudio : public SoundStream
|
||||
{
|
||||
|
@ -4,9 +4,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Common.h"
|
||||
#include "Mixer.h"
|
||||
#include "WaveFile.h"
|
||||
#include "AudioCommon/Mixer.h"
|
||||
#include "AudioCommon/WaveFile.h"
|
||||
#include "Common/Common.h"
|
||||
|
||||
class SoundStream
|
||||
{
|
||||
|
@ -2,9 +2,9 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "Common.h"
|
||||
#include "WaveFile.h"
|
||||
#include "../Core/ConfigManager.h"
|
||||
#include "AudioCommon/WaveFile.h"
|
||||
#include "Common/Common.h"
|
||||
#include "Core/ConfigManager.h"
|
||||
|
||||
enum {BUF_SIZE = 32*1024};
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "FileUtil.h"
|
||||
#include "Common/FileUtil.h"
|
||||
|
||||
class WaveFileWriter
|
||||
{
|
||||
|
@ -3,8 +3,8 @@
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include <xaudio2.h>
|
||||
#include "AudioCommon.h"
|
||||
#include "XAudio2Stream.h"
|
||||
#include "AudioCommon/AudioCommon.h"
|
||||
#include "AudioCommon/XAudio2Stream.h"
|
||||
|
||||
#ifndef XAUDIO2_DLL
|
||||
#error You are building this module against the wrong version of DirectX. You probably need to remove DXSDK_DIR from your include path.
|
||||
|
@ -9,8 +9,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include "Thread.h"
|
||||
#include "SoundStream.h"
|
||||
|
||||
#include "AudioCommon/SoundStream.h"
|
||||
#include "Common/Thread.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
|
@ -7,8 +7,8 @@
|
||||
// instead of other possible places. This may be accomplished by adding the path to
|
||||
// the AdditionalIncludeDirectories for this file via msbuild.
|
||||
|
||||
#include "AudioCommon.h"
|
||||
#include "XAudio2_7Stream.h"
|
||||
#include "AudioCommon/AudioCommon.h"
|
||||
#include "AudioCommon/XAudio2_7Stream.h"
|
||||
|
||||
#ifdef HAVE_DXSDK
|
||||
#include <dxsdkver.h>
|
||||
|
@ -13,8 +13,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include "Thread.h"
|
||||
#include "SoundStream.h"
|
||||
#include "AudioCommon/SoundStream.h"
|
||||
#include "Common/Thread.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
|
@ -22,8 +22,8 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "Common.h"
|
||||
#include "aldlist.h"
|
||||
#include "AudioCommon/aldlist.h"
|
||||
#include "Common/Common.h"
|
||||
#ifdef _WIN32
|
||||
#include "../../../Externals/OpenAL/include/al.h"
|
||||
#include "../../../Externals/OpenAL/include/alc.h"
|
||||
|
@ -1,12 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include "CommonTypes.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#pragma warning(disable: 4786) //disable warning "identifier was truncated to
|
||||
//'255' characters in the browser information"
|
||||
#endif
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -2,4 +2,4 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "AudioCommon/stdafx.h"
|
||||
|
Reference in New Issue
Block a user