Remove a now unused MaxVolume property from some sound provider classes

This commit is contained in:
adelikat 2016-12-08 20:06:25 -06:00
parent 5e800b7bba
commit 5b31b33713
6 changed files with 0 additions and 13 deletions

View File

@ -6,6 +6,5 @@
public void GetSamples(short[] samples) { } public void GetSamples(short[] samples) { }
public void DiscardSamples() { } public void DiscardSamples() { }
public int MaxVolume { get; set; }
} }
} }

View File

@ -54,8 +54,6 @@ namespace BizHawk.Emulation.Common
BaseSoundProvider.DiscardSamples(); BaseSoundProvider.DiscardSamples();
} }
public int MaxVolume { get; set; }
public void GetSamples(short[] samples) public void GetSamples(short[] samples)
{ {
int samplesToGenerate = SamplesInOneFrame; int samplesToGenerate = SamplesInOneFrame;

View File

@ -30,8 +30,6 @@ namespace BizHawk.Emulation.Common
input.DiscardSamples(); input.DiscardSamples();
buffer.clear(); buffer.clear();
} }
public int MaxVolume { get; set; }
} }
public class MetaspuSoundProvider : ISoundProvider public class MetaspuSoundProvider : ISoundProvider
@ -64,8 +62,6 @@ namespace BizHawk.Emulation.Common
{ {
buffer.clear(); buffer.clear();
} }
public int MaxVolume { get; set; }
} }
public interface ISynchronizingAudioBuffer public interface ISynchronizingAudioBuffer

View File

@ -371,8 +371,6 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
/// </summary> /// </summary>
public Action<int> FrameEndCallBack { get; set; } public Action<int> FrameEndCallBack { get; set; }
public int MaxVolume { get; set; }
public int VirtualWidth public int VirtualWidth
{ {
// TODO: PAL? // TODO: PAL?

View File

@ -9,8 +9,6 @@ namespace BizHawk.Emulation.Cores.Intellivision
{ {
public ushort[] Register = new ushort[16]; public ushort[] Register = new ushort[16];
public int MaxVolume { get; set; }
public void DiscardSamples() public void DiscardSamples()
{ {

View File

@ -148,8 +148,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
nes.apu.sampleclock = 0; nes.apu.sampleclock = 0;
} }
public int MaxVolume { get; set; }
public void Dispose() public void Dispose()
{ {
if (blip != null) if (blip != null)