difenduandada
2024-12-31 34abe6963b344c882358274957f4b992456fee40
1
2
3
4
5
6
7
8
9
10
11
12
13
(function () {
    if (!(cc && cc.Audio)) {
        return;
    }
    cc.Audio.prototype.stop = function () {
        if (!this._element) return;
        this._element.stop();
        this._element.currentTime = 0;
        this._unbindEnded();
        this.emit('stop');
        this._state = cc.Audio.State.STOPPED;
    };
})();