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