Remove unused parameters.
This commit is contained in:
committed by
abcdefg30
parent
ea243b8558
commit
0e7ad43425
@@ -30,7 +30,7 @@ namespace OpenRA.Platforms.Default
|
||||
catch (InvalidOperationException e)
|
||||
{
|
||||
Log.Write("sound", "Failed to initialize OpenAL device. Error was {0}", e);
|
||||
return new DummySoundEngine(device);
|
||||
return new DummySoundEngine();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace OpenRA.Platforms.Default
|
||||
return defaultDevices;
|
||||
}
|
||||
|
||||
public DummySoundEngine(string deviceName) { }
|
||||
public DummySoundEngine() { }
|
||||
|
||||
public ISoundSource AddSoundSourceFromMemory(byte[] data, int channels, int sampleBits, int sampleRate)
|
||||
{
|
||||
|
||||
@@ -363,7 +363,8 @@ namespace OpenRA.Platforms.Default
|
||||
|
||||
void Dispose(bool disposing)
|
||||
{
|
||||
StopAllSounds();
|
||||
if (disposing)
|
||||
StopAllSounds();
|
||||
|
||||
if (context != IntPtr.Zero)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user