Clean up sound devices on game exit.

This commit is contained in:
Paul Chote
2015-09-20 14:36:45 +01:00
parent ef55d646f7
commit d112083c44
5 changed files with 27 additions and 9 deletions

View File

@@ -12,7 +12,7 @@ using System;
namespace OpenRA
{
public interface ISoundEngine
public interface ISoundEngine : IDisposable
{
SoundDevice[] AvailableDevices();
ISoundSource AddSoundSourceFromMemory(byte[] data, int channels, int sampleBits, int sampleRate);