blob: d731f1691353b38e5da1fb7612b4c1654a51bfee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "AudioCommon/NullSoundStream.h"
bool NullSound::Init()
{
// Make Mixer aware that audio output is disabled.
GetMixer()->SetSampleRate(0);
return true;
}
bool NullSound::SetRunning(bool running)
{
return true;
}
void NullSound::SetVolume(int volume)
{
}
|