forked from dolphin-emu/dolphin
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			422 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			422 B
		
	
	
	
		
			C++
		
	
	
	
	
	
// 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; }
 | 
						|
};
 |