Пример #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;
        }