Remove some unused constants in SpeexResampler, and some meaningles whitespace cleanups

This commit is contained in:
adelikat 2017-05-02 07:44:23 -05:00
parent 1f014daaa0
commit 08be637131
5 changed files with 12 additions and 10 deletions

View File

@ -7,7 +7,10 @@
/// <seealso cref="IMemoryDomains" /> /// <seealso cref="IMemoryDomains" />
public abstract class MemoryDomain public abstract class MemoryDomain
{ {
public enum Endian { Big, Little, Unknown } public enum Endian
{
Big, Little, Unknown
}
public string Name { get; protected set; } public string Name { get; protected set; }

View File

@ -68,5 +68,4 @@ namespace BizHawk.Emulation.Common
/// <seealso cref="BizHawk.Emulation.Common.CoreComm" /> /// <seealso cref="BizHawk.Emulation.Common.CoreComm" />
CoreComm CoreComm { get; } CoreComm CoreComm { get; }
} }
} }

View File

@ -88,5 +88,8 @@ namespace BizHawk.Emulation.Common
uint? AddressMask { get; } uint? AddressMask { get; }
} }
public enum MemoryCallbackType { Read, Write, Execute } public enum MemoryCallbackType
{
Read, Write, Execute
}
} }

View File

@ -1,6 +1,9 @@
namespace BizHawk.Emulation.Common namespace BizHawk.Emulation.Common
{ {
public enum SyncSoundMode { Sync, Async } public enum SyncSoundMode
{
Sync, Async
}
/// <summary> /// <summary>
/// This service provides the ability to output sound from the client, /// This service provides the ability to output sound from the client,

View File

@ -21,12 +21,6 @@ namespace BizHawk.Emulation.Common
private static class LibSpeexDSP private static class LibSpeexDSP
{ {
public const int QUALITY_MAX = 10;
public const int QUALITY_MIN = 0;
public const int QUALITY_DEFAULT = 4;
public const int QUALITY_VOIP = 3;
public const int QUALITY_DESKTOP = 5;
public enum RESAMPLER_ERR public enum RESAMPLER_ERR
{ {
SUCCESS = 0, SUCCESS = 0,