You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #100482 from adamscott/fix-closure-issues
Fix (some of the) 3.1.73 emscripten Closure compiler issues
This commit is contained in:
@@ -77,7 +77,7 @@ class Sample {
|
|||||||
* Creates a `Sample` based on the params. Will register it to the
|
* Creates a `Sample` based on the params. Will register it to the
|
||||||
* `GodotAudio.samples` registry.
|
* `GodotAudio.samples` registry.
|
||||||
* @param {SampleParams} params Base params
|
* @param {SampleParams} params Base params
|
||||||
* @param {SampleOptions} [options={{}}] Optional params
|
* @param {SampleOptions | undefined} options Optional params.
|
||||||
* @returns {Sample}
|
* @returns {Sample}
|
||||||
*/
|
*/
|
||||||
static create(params, options = {}) {
|
static create(params, options = {}) {
|
||||||
@@ -98,7 +98,7 @@ class Sample {
|
|||||||
/**
|
/**
|
||||||
* `Sample` constructor.
|
* `Sample` constructor.
|
||||||
* @param {SampleParams} params Base params
|
* @param {SampleParams} params Base params
|
||||||
* @param {SampleOptions} [options={{}}] Optional params
|
* @param {SampleOptions | undefined} options Optional params.
|
||||||
*/
|
*/
|
||||||
constructor(params, options = {}) {
|
constructor(params, options = {}) {
|
||||||
/** @type {string} */
|
/** @type {string} */
|
||||||
@@ -393,7 +393,7 @@ class SampleNode {
|
|||||||
* Creates a `SampleNode` based on the params. Will register the `SampleNode` to
|
* Creates a `SampleNode` based on the params. Will register the `SampleNode` to
|
||||||
* the `GodotAudio.sampleNodes` regisery.
|
* the `GodotAudio.sampleNodes` regisery.
|
||||||
* @param {SampleNodeParams} params Base params.
|
* @param {SampleNodeParams} params Base params.
|
||||||
* @param {SampleNodeOptions} options Optional params.
|
* @param {SampleNodeOptions | undefined} options Optional params.
|
||||||
* @returns {SampleNode}
|
* @returns {SampleNode}
|
||||||
*/
|
*/
|
||||||
static create(params, options = {}) {
|
static create(params, options = {}) {
|
||||||
@@ -413,7 +413,7 @@ class SampleNode {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {SampleNodeParams} params Base params
|
* @param {SampleNodeParams} params Base params
|
||||||
* @param {SampleNodeOptions} [options={{}}] Optional params
|
* @param {SampleNodeOptions | undefined} options Optional params.
|
||||||
*/
|
*/
|
||||||
constructor(params, options = {}) {
|
constructor(params, options = {}) {
|
||||||
/** @type {string} */
|
/** @type {string} */
|
||||||
@@ -1343,7 +1343,7 @@ const _GodotAudio = {
|
|||||||
* @param {string} playbackObjectId The unique id of the sample playback
|
* @param {string} playbackObjectId The unique id of the sample playback
|
||||||
* @param {string} streamObjectId The unique id of the stream
|
* @param {string} streamObjectId The unique id of the stream
|
||||||
* @param {number} busIndex Index of the bus currently binded to the sample playback
|
* @param {number} busIndex Index of the bus currently binded to the sample playback
|
||||||
* @param {SampleNodeOptions} startOptions Optional params
|
* @param {SampleNodeOptions | undefined} startOptions Optional params.
|
||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
start_sample: function (
|
start_sample: function (
|
||||||
|
|||||||
Reference in New Issue
Block a user