sebastien 7 лет назад
Родитель
Сommit
798e146d12
2 измененных файлов с 5 добавлено и 0 удалено
  1. 3 0
      src/Audio/babylon.sound.ts
  2. 2 0
      src/Audio/babylon.soundtrack.ts

+ 3 - 0
src/Audio/babylon.sound.ts

@@ -295,6 +295,9 @@ module BABYLON {
             }
         }
 
+        /**
+         * Release the sound and its associated resources
+         */
         public dispose() {
             if (Engine.audioEngine.canUseWebAudio) {
                 if (this.isPlaying) {

+ 2 - 0
src/Audio/babylon.soundtrack.ts

@@ -87,6 +87,7 @@
         /**
          * Adds a sound to this sound track
          * @param sound define the cound to add
+         * @ignoreNaming 
          */
         public AddSound(sound: Sound): void {
             if (!this._isInitialized) {
@@ -111,6 +112,7 @@
         /**
          * Removes a sound to this sound track
          * @param sound define the cound to remove
+         * @ignoreNaming 
          */
         public RemoveSound(sound: Sound): void {
             var index = this.soundCollection.indexOf(sound);