Ejemplo n.º 1
0
        public Sound(string filename, float volume, bool looping)
        {
            _sound       = new PssSound(filename);
            _soundPlayer = _sound.CreatePlayer();

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

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

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

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