2015-05-24 04:55:12 +00:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2010-11-14 23:56:26 +00:00
|
|
|
|
2014-02-10 18:54:46 +00:00
|
|
|
#pragma once
|
2010-11-14 23:56:26 +00:00
|
|
|
|
2014-02-17 10:18:15 +00:00
|
|
|
#include "AudioCommon/SoundStream.h"
|
2010-11-14 23:56:26 +00:00
|
|
|
|
2014-03-18 14:37:45 +00:00
|
|
|
class NullSound final : public SoundStream
|
2010-11-14 23:56:26 +00:00
|
|
|
{
|
|
|
|
public:
|
2017-10-21 23:23:40 +00:00
|
|
|
bool Init() override;
|
|
|
|
bool SetRunning(bool running) override;
|
2015-05-24 10:02:30 +00:00
|
|
|
void SetVolume(int volume) override;
|
2015-12-05 19:31:36 +00:00
|
|
|
|
2021-08-07 23:23:58 +00:00
|
|
|
static bool IsValid() { return true; }
|
2010-11-14 23:56:26 +00:00
|
|
|
};
|