Exemplo n.º 1
0
        public ISoundStream CreateStream(System.IO.Stream stream, bool b3D)
        {
            FMOD_SoundStream _stream = new FMOD_SoundStream();

            _stream.Create(system);
            _stream.LoadStream(stream, b3D);
            return(_stream);
        }
Exemplo n.º 2
0
        public ISoundStream CreateStream(string path, bool b3D)
        {
            FMOD_SoundStream stream = new FMOD_SoundStream();

            if (stream.IsSupport(path))
            {
                stream.Create(system);
                stream.LoadStream(path, b3D);
                return(stream);
            }
            return(null);
        }