@hkdigital/lib-sveltekit 0.1.57 → 0.1.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -95,7 +95,7 @@ export default class AudioScene {
|
|
95
95
|
const { sourcesLoaded, numberOfSources } = this.#progress;
|
96
96
|
|
97
97
|
if (sourcesLoaded === numberOfSources) {
|
98
|
-
console.
|
98
|
+
// console.debug(`AudioScene: ${numberOfSources} sources loaded`);
|
99
99
|
this.#state.send(LOADED);
|
100
100
|
}
|
101
101
|
}
|
@@ -105,7 +105,7 @@ export default class AudioScene {
|
|
105
105
|
switch (state.current) {
|
106
106
|
case STATE_LOADING:
|
107
107
|
{
|
108
|
-
console.log('AudioScene:loading');
|
108
|
+
// console.log('AudioScene:loading');
|
109
109
|
this.#startLoading();
|
110
110
|
}
|
111
111
|
break;
|
@@ -119,7 +119,7 @@ export default class AudioScene {
|
|
119
119
|
|
120
120
|
case STATE_LOADED:
|
121
121
|
{
|
122
|
-
console.log('AudioScene:loaded');
|
122
|
+
// console.log('AudioScene:loaded');
|
123
123
|
|
124
124
|
// tODO
|
125
125
|
// this.#abortLoading = null;
|
@@ -135,7 +135,7 @@ export default class AudioScene {
|
|
135
135
|
|
136
136
|
case STATE_ERROR:
|
137
137
|
{
|
138
|
-
console.
|
138
|
+
console.error('AudioScene:error', state.error);
|
139
139
|
}
|
140
140
|
break;
|
141
141
|
} // end switch
|
@@ -190,7 +190,7 @@ export default class AudioScene {
|
|
190
190
|
}
|
191
191
|
|
192
192
|
async #startLoading() {
|
193
|
-
console.log('#startLoading');
|
193
|
+
// console.log('#startLoading');
|
194
194
|
|
195
195
|
// FIXME: in unit test when moved to startloading it hangs!
|
196
196
|
// for (const { audioLoader } of this.#memorySources) {
|