shute-technologies.octopus-web-framework 1.0.204 → 1.0.206
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.
- package/lib/src/shute-technologies/modules/framework/core/content/ofSoundContent.js +1 -1
- package/lib/src/shute-technologies/modules/framework/core/content/ofSoundContent.js.map +1 -1
- package/lib/src/shute-technologies/modules/framework/core/render/graphics/d2d/ofPrimitiveCircle.d.ts +4 -4
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ class OFSoundContent extends ofBaseContent_1.OFBaseContent {
|
|
|
23
23
|
this._params = params;
|
|
24
24
|
const audioDevice = this.framework.audioDevice;
|
|
25
25
|
const audioContext = audioDevice.audioContext;
|
|
26
|
-
return audioContext.decodeAudioData(audioArrayBuffer, this.internal_OnDecodeAudioData, this.internal_OnErrorDecodeAudioData);
|
|
26
|
+
return audioContext.decodeAudioData(audioArrayBuffer, (buffer) => this.internal_OnDecodeAudioData(buffer), (error) => this.internal_OnErrorDecodeAudioData(error));
|
|
27
27
|
}
|
|
28
28
|
internal_OnDecodeAudioData(buffer) {
|
|
29
29
|
this._isLoaded = true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ofSoundContent.js","sourceRoot":"","sources":["../../../../../../../src/shute-technologies/modules/framework/core/content/ofSoundContent.ts"],"names":[],"mappings":";;;AAAA,mDAAgD;AAEhD,uDAAoD;AACpD,kEAA+D;AAM/D,MAAa,cAAe,SAAQ,6BAAa;IAM/C,IAAI,WAAW,KAAmB,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IAC7D,IAAI,iBAAiB,KAAM,OAAO,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAE3D,YAAY,cAAgC;QAC1C,KAAK,CAAC,cAAc,CAAC,CAAC;IACxB,CAAC;IAED,UAAU;QACR,KAAK,CAAC,UAAU,EAAE,CAAC;IACrB,CAAC;IAED,IAAI,CAAE,IAAY;QAChB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC;IAED,mBAAmB,CAAgC,gBAA6B,EAAE,IAAY,EAAE,MAAS;QACvG,IAAI,IAAI,EAAE;YAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SAAE;QAE/B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QAEtB,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC;QAC/C,MAAM,YAAY,GAAG,WAAW,CAAC,YAAY,CAAC;QAE9C,OAAO,YAAY,CAAC,eAAe,CACjC,gBAAgB,EAChB,IAAI,CAAC,0BAA0B,
|
|
1
|
+
{"version":3,"file":"ofSoundContent.js","sourceRoot":"","sources":["../../../../../../../src/shute-technologies/modules/framework/core/content/ofSoundContent.ts"],"names":[],"mappings":";;;AAAA,mDAAgD;AAEhD,uDAAoD;AACpD,kEAA+D;AAM/D,MAAa,cAAe,SAAQ,6BAAa;IAM/C,IAAI,WAAW,KAAmB,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IAC7D,IAAI,iBAAiB,KAAM,OAAO,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAE3D,YAAY,cAAgC;QAC1C,KAAK,CAAC,cAAc,CAAC,CAAC;IACxB,CAAC;IAED,UAAU;QACR,KAAK,CAAC,UAAU,EAAE,CAAC;IACrB,CAAC;IAED,IAAI,CAAE,IAAY;QAChB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC;IAED,mBAAmB,CAAgC,gBAA6B,EAAE,IAAY,EAAE,MAAS;QACvG,IAAI,IAAI,EAAE;YAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SAAE;QAE/B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QAEtB,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC;QAC/C,MAAM,YAAY,GAAG,WAAW,CAAC,YAAY,CAAC;QAE9C,OAAO,YAAY,CAAC,eAAe,CACjC,gBAAgB,EAChB,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,0BAA0B,CAAC,MAAM,CAAC,EACnD,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,+BAA+B,CAAC,KAAK,CAAC,CACvD,CAAC;IACJ,CAAC;IAED,0BAA0B,CAAE,MAAmB;QAC7C,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC;QAE3B,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,oEAAoE;YACpE,IAAI,CAAC,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;SAC7C;IACH,CAAC;IAED,+BAA+B,CAAE,KAAmB;QAClD,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QAE/B,qBAAS,CAAC,GAAG,CAAC,+BAAc,CAAC,SAAS,CAAC,iBAAiB,CAAC,YAAY,CAAC,+BAA+B,EACnG,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC,QAAQ,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACnE,CAAC;CACF;AApDD,wCAoDC"}
|
package/lib/src/shute-technologies/modules/framework/core/render/graphics/d2d/ofPrimitiveCircle.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ import { OFColor } from '../ofColor';
|
|
|
3
3
|
import { IOFRenderArgs } from '../../../../interfaces/iofRenderArgs';
|
|
4
4
|
export declare class OFPrimitiveCircle extends OFDrawable2D {
|
|
5
5
|
static readonly vertexQuality = 64;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
protected _radius: number;
|
|
7
|
+
protected _vertexQuality: number;
|
|
8
|
+
protected _triangleRenderType: number;
|
|
9
|
+
protected _drawingCount: number;
|
|
10
10
|
offsetX: number;
|
|
11
11
|
offsetY: number;
|
|
12
12
|
get radius(): number;
|