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