summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/NullSoundStream.h
blob: 4bcc0c26824bb733b2209a545e56c1b204228041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2008 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.

#pragma once

#include "AudioCommon/SoundStream.h"

class NullSound final : public SoundStream
{
public:
  bool Init() override;
  void SoundLoop() override;
  bool SetRunning(bool running) override;
  void SetVolume(int volume) override;
  void Update() override;

  static bool isValid() { return true; }
};