refactored SoundInput interface.

added Source property for access to underlying stream.
This commit is contained in:
morkt
2015-05-14 11:26:47 +04:00
parent 7e5dc325c0
commit 9a43b6b055
7 changed files with 64 additions and 43 deletions

View File

@@ -57,6 +57,8 @@ namespace GameRes.Formats.ScenePlayer
{
if (null == sound)
wav.Dispose();
else
file.Dispose();
}
return sound;
}