2015-05-23 22:55:12 -06:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2015-05-17 17:08:10 -06:00
|
|
|
// Licensed under GPLv2+
|
2013-04-17 21:09:55 -06:00
|
|
|
// Refer to the license.txt file included.
|
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:
|
2016-06-24 02:43:46 -06:00
|
|
|
bool Start() override;
|
|
|
|
void SoundLoop() override;
|
|
|
|
void SetVolume(int volume) override;
|
|
|
|
void Stop() override;
|
|
|
|
void Update() override;
|
2015-12-05 12:31:36 -07:00
|
|
|
|
2016-06-24 02:43:46 -06:00
|
|
|
static bool isValid() { return true; }
|
2010-11-14 16:56:26 -07:00
|
|
|
};
|