aboutsummaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2019-08-17 15:42:36 -0700
committerAlex Yatskov <alex@foosoft.net>2019-08-17 15:42:36 -0700
commit317a7a1538ee6bf0f16077af01d3cc309d15fa57 (patch)
tree839ed8f6a3cde11949e3e10e8fd3c561672b15ab /ext/fg
parent9ec711b780bf3ee2390a52502b293e89158cb53c (diff)
pr fixes
Diffstat (limited to 'ext/fg')
-rw-r--r--ext/fg/js/api.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/fg/js/api.js b/ext/fg/js/api.js
index 0c86b412..99ad307c 100644
--- a/ext/fg/js/api.js
+++ b/ext/fg/js/api.js
@@ -49,6 +49,10 @@ function apiTemplateRender(template, data, dynamic) {
return utilInvoke('templateRender', {data, template, dynamic});
}
+function apiAudioGetUrl(definition, source) {
+ return utilInvoke('audioGetUrl', {definition, source});
+}
+
function apiCommandExec(command) {
return utilInvoke('commandExec', {command});
}