Files
dolphin/Source/Core/AudioCommon/AudioCommon.h
T

30 lines
731 B
C++
Raw Normal View History

// Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#pragma once
2014-02-17 05:18:15 -05:00
#include "AudioCommon/SoundStream.h"
2014-09-07 20:06:58 -05:00
#include "Common/CommonTypes.h"
class CMixer;
extern SoundStream *g_sound_stream;
namespace AudioCommon
{
SoundStream* InitSoundStream();
void ShutdownSoundStream();
std::vector<std::string> GetSoundBackends();
2015-02-15 14:43:31 -05:00
void PauseAndLock(bool doLock, bool unpauseOnUnlock = true);
2013-01-16 20:16:56 -05:00
void UpdateSoundStream();
2014-03-27 17:56:05 -07:00
void ClearAudioBuffer(bool mute);
void SendAIBuffer(short* samples, unsigned int num_samples);
2014-10-15 20:03:31 -04:00
void StartAudioDump();
void StopAudioDump();
void IncreaseVolume(unsigned short offset);
void DecreaseVolume(unsigned short offset);
void ToggleMuteVolume();
}