getSoundProperties: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
m (Phergus moved page getStreamProperties to getSoundProperties: Function renamed for support of both streams and clips)
(No difference)

Revision as of 16:48, 21 October 2019

getStreamProperties() Function

Introduced in version 1.5.5
Get the properties of an audio stream currently loaded in memory.

Usage

getStreamProperties()
getStreamProperties(uri)

Parameter

  • uri - The uri/url of the stream to edit. If set to "*", a JSON Array containing the properties of all streams is returned. Defaults to "*".

Properties returned: uri, cycleCount, volume, startTime, stopTime, currentTime, totalTime, bufferTime, currentCount, status.