Common: Get rid of StdConditionVariable, StdMutex, and StdThread.

All of the compilers we support have support for these now.
This commit is contained in:
Lioncash
2014-08-14 01:14:35 -04:00
parent 2270c3e90a
commit d18d3e1f3e
19 changed files with 29 additions and 851 deletions

View File

@ -4,10 +4,11 @@
#pragma once
#include <mutex>
#include <thread>
#include "AudioCommon/SoundStream.h"
#include "Common/Event.h"
#include "Common/StdMutex.h"
#include "Common/StdThread.h"
#if defined(HAVE_AO) && HAVE_AO
#include <ao/ao.h>

View File

@ -3,11 +3,11 @@
// Refer to the license.txt file included.
#include <cmath>
#include <thread>
#include <Windows.h>
#include "AudioCommon/AudioCommon.h"
#include "AudioCommon/DSoundStream.h"
#include "Common/StdThread.h"
#include "Common/Thread.h"
bool DSound::CreateBuffer()

View File

@ -4,9 +4,10 @@
#pragma once
#include <thread>
#include "AudioCommon/SoundStream.h"
#include "Common/Event.h"
#include "Common/StdThread.h"
#ifdef _WIN32
#include <Windows.h>

View File

@ -4,10 +4,10 @@
#pragma once
#include <mutex>
#include <string>
#include "AudioCommon/WaveFile.h"
#include "Common/StdMutex.h"
// 16 bit Stereo
#define MAX_SAMPLES (1024 * 2) // 64ms

View File

@ -2,10 +2,11 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#include <thread>
#include "AudioCommon/aldlist.h"
#include "AudioCommon/DPL2Decoder.h"
#include "AudioCommon/OpenALStream.h"
#include "Common/StdThread.h"
#include "Common/Thread.h"
#if defined HAVE_OPENAL && HAVE_OPENAL

View File

@ -4,9 +4,10 @@
#pragma once
#include <thread>
#include "AudioCommon/SoundStream.h"
#include "Common/Event.h"
#include "Common/StdThread.h"
#include "Core/Core.h"
#include "Core/HW/AudioInterface.h"
#include "Core/HW/SystemTimers.h"

View File

@ -4,9 +4,10 @@
#pragma once
#include <thread>
#include "AudioCommon/SoundStream.h"
#include "Common/Event.h"
#include "Common/StdThread.h"
class OpenSLESStream final : public SoundStream
{