OpenRA.Platforms.Default.OpenAlSoundEngine.AddSoundSourceFromMemory C# (CSharp) Method

AddSoundSourceFromMemory() public method

public AddSoundSourceFromMemory ( byte data, int channels, int sampleBits, int sampleRate ) : ISoundSource
data byte
channels int
sampleBits int
sampleRate int
return ISoundSource
        public ISoundSource AddSoundSourceFromMemory(byte[] data, int channels, int sampleBits, int sampleRate)
        {
            return new OpenAlSoundSource(data, channels, sampleBits, sampleRate);
        }