Remove a now unused MaxVolume property from some sound provider classes
This commit is contained in:
parent
5e800b7bba
commit
5b31b33713
|
@ -6,6 +6,5 @@
|
|||
|
||||
public void GetSamples(short[] samples) { }
|
||||
public void DiscardSamples() { }
|
||||
public int MaxVolume { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,8 +54,6 @@ namespace BizHawk.Emulation.Common
|
|||
BaseSoundProvider.DiscardSamples();
|
||||
}
|
||||
|
||||
public int MaxVolume { get; set; }
|
||||
|
||||
public void GetSamples(short[] samples)
|
||||
{
|
||||
int samplesToGenerate = SamplesInOneFrame;
|
||||
|
|
|
@ -30,8 +30,6 @@ namespace BizHawk.Emulation.Common
|
|||
input.DiscardSamples();
|
||||
buffer.clear();
|
||||
}
|
||||
|
||||
public int MaxVolume { get; set; }
|
||||
}
|
||||
|
||||
public class MetaspuSoundProvider : ISoundProvider
|
||||
|
@ -64,8 +62,6 @@ namespace BizHawk.Emulation.Common
|
|||
{
|
||||
buffer.clear();
|
||||
}
|
||||
|
||||
public int MaxVolume { get; set; }
|
||||
}
|
||||
|
||||
public interface ISynchronizingAudioBuffer
|
||||
|
|
|
@ -371,8 +371,6 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
|||
/// </summary>
|
||||
public Action<int> FrameEndCallBack { get; set; }
|
||||
|
||||
public int MaxVolume { get; set; }
|
||||
|
||||
public int VirtualWidth
|
||||
{
|
||||
// TODO: PAL?
|
||||
|
|
|
@ -9,8 +9,6 @@ namespace BizHawk.Emulation.Cores.Intellivision
|
|||
{
|
||||
public ushort[] Register = new ushort[16];
|
||||
|
||||
public int MaxVolume { get; set; }
|
||||
|
||||
public void DiscardSamples()
|
||||
{
|
||||
|
||||
|
|
|
@ -148,8 +148,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
nes.apu.sampleclock = 0;
|
||||
}
|
||||
|
||||
public int MaxVolume { get; set; }
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
if (blip != null)
|
||||
|
|
Loading…
Reference in New Issue