示例#1
0
        public Sound(string filename, float volume, bool looping)
        {
            _sound       = new PssSound(filename);
            _soundPlayer = _sound.CreatePlayer();

            this.Looping = looping;
            this.Volume  = volume;
        }
示例#2
0
        public Sound(byte[] audiodata, float volume, bool looping)
        {
            _sound       = new PssSound(audiodata);
            _soundPlayer = _sound.CreatePlayer();

            this.Looping = looping;
            this.Volume  = volume;
        }
示例#3
0
        public Sound(byte[] audiodata, float volume, bool looping)
        {
			_sound = new PssSound(audiodata);
            _soundPlayer = _sound.CreatePlayer();           

            this.Looping = looping;
            this.Volume = volume;
        }
示例#4
0
        public Sound(string filename, float volume, bool looping)
        {
			_sound = new PssSound(filename);
            _soundPlayer = _sound.CreatePlayer();           

            this.Looping = looping;
            this.Volume = volume;
        }