using System; using System.IO; using Robust.Client.Audio; namespace Robust.Client.Graphics { public interface IClydeAudio { // AUDIO SYSTEM DOWN BELOW. AudioStream LoadAudioOggVorbis(Stream stream, string? name = null); AudioStream LoadAudioWav(Stream stream, string? name = null); AudioStream LoadAudioRaw(ReadOnlySpan samples, int channels, int sampleRate, string? name = null); void SetMasterVolume(float newVolume); IClydeAudioSource? CreateAudioSource(AudioStream stream); IClydeBufferedAudioSource CreateBufferedAudioSource(int buffers, bool floatAudio=false); } }