2018-01-20 19:56:49 +00:00
|
|
|
var Class = require('../../utils/Class');
|
|
|
|
var EventEmitter = require('eventemitter3');
|
|
|
|
var NoAudioSound = new Class({
|
|
|
|
Extends: EventEmitter,
|
|
|
|
initialize: function NoAudioSound(manager, key, config) {
|
|
|
|
EventEmitter.call(this);
|
2018-01-20 19:58:02 +00:00
|
|
|
this.manager = manager;
|
2018-01-20 19:58:31 +00:00
|
|
|
this.key = key;
|
2018-01-20 19:59:13 +00:00
|
|
|
this.isPlaying = false;
|
2018-01-20 19:59:27 +00:00
|
|
|
this.isPaused = false;
|
2018-01-20 20:00:31 +00:00
|
|
|
this.totalRate = 1;
|
2018-01-20 20:00:50 +00:00
|
|
|
this.duration = 0;
|
2018-01-20 20:01:04 +00:00
|
|
|
this.totalDuration = 0;
|
2018-01-20 19:56:49 +00:00
|
|
|
}
|
|
|
|
});
|
|
|
|
module.exports = NoAudioSound;
|