Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Checking duration on Sound types always returns 0 #418

Closed
adbalano opened this issue Aug 15, 2019 · 0 comments · Fixed by #421
Closed

Checking duration on Sound types always returns 0 #418

adbalano opened this issue Aug 15, 2019 · 0 comments · Fixed by #421

Comments

@adbalano
Copy link

It appears checking duration on a Sound always returns 0.

this.tracks.push(await this.assets.createSound( 'Track1', { uri:${this.baseUrl}/RadioTuningshort.wav` }
));

    console.log( "Duration " + this.tracks[0].duration );`

this.tracks - an array of type Sound
this.assets - an Asset Container
RadioTuningshort.wav is a 4 second clip of radio static.

Per Steven V. I have tried to make sure the Sound was created.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant