Fix #17230: Dummy audio output class

This commit is contained in:
Abdurrahmaan Iqbal
2019-10-17 23:13:17 +01:00
committed by abcdefg30
parent 70b1df6ce7
commit 72eb4e1749
6 changed files with 91 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ namespace OpenRA
ISoundSource AddSoundSourceFromMemory(byte[] data, int channels, int sampleBits, int sampleRate);
ISound Play2D(ISoundSource sound, bool loop, bool relative, WPos pos, float volume, bool attenuateVolume);
ISound Play2DStream(Stream stream, int channels, int sampleBits, int sampleRate, bool loop, bool relative, WPos pos, float volume);
bool Dummy { get; }
float Volume { get; set; }
void PauseSound(ISound sound, bool paused);
void StopSound(ISound sound);