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 GetSamples(short[] samples) { }
|
||||||
public void DiscardSamples() { }
|
public void DiscardSamples() { }
|
||||||
public int MaxVolume { get; set; }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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?
|
||||||
|
|
|
@ -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()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue