diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-08-29 09:52:14 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-08-29 09:52:14 (GMT) |
commit | 442204d0f510cb033cb75a542b010f4f90cbd2a3 (patch) | |
tree | a243159f780aa77d53d2523a0dea7a365613ae21 /test/samples/uscxml/test-spatial-audio.scxml | |
parent | afda86c8ba1f2ce3dc89a56bf9bccc62c52ff240 (diff) | |
download | uscxml-442204d0f510cb033cb75a542b010f4f90cbd2a3.zip uscxml-442204d0f510cb033cb75a542b010f4f90cbd2a3.tar.gz uscxml-442204d0f510cb033cb75a542b010f4f90cbd2a3.tar.bz2 |
Some bug-fixes and enhancements to build-process
Diffstat (limited to 'test/samples/uscxml/test-spatial-audio.scxml')
-rw-r--r-- | test/samples/uscxml/test-spatial-audio.scxml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/test/samples/uscxml/test-spatial-audio.scxml b/test/samples/uscxml/test-spatial-audio.scxml index d960533..66d06f4 100644 --- a/test/samples/uscxml/test-spatial-audio.scxml +++ b/test/samples/uscxml/test-spatial-audio.scxml @@ -17,7 +17,7 @@ <initial> <transition target="ready" /> </initial> - <invoke type="http://www.smartvortex.eu/mmi/spatial-audio/" src="audio/click.wav" id="spatial-audio.id1"> + <invoke type="openal" id="spatial-audio.id1"> <!-- Explicitly set the start position of an audio source. Keep in mind that the coordinate system is the same as in OpenGL: @@ -31,7 +31,7 @@ <param name="y" expr="0" /> <param name="z" expr="0" /> </invoke> - <invoke type="http://www.smartvortex.eu/mmi/spatial-audio/" src="audio/click.wav" id="spatial-audio.id2"> + <invoke type="openal" id="spatial-audio.id2"> <!-- Set position on a circle. Unit for circle is "deg" in clockwise order with 0 being directly in front, @@ -44,7 +44,9 @@ <state id="ready"> <onentry> <!-- trigger transition in 1 second --> - <send event="spatial-audio.play" delay="1s" /> + <send event="spatial-audio.play" delay="1s"> + <param name="src" expr="'audio/click.wav'" /> + </send> <log expr="'Ready'" /> </onentry> <transition target="click" event="spatial-audio.play" /> @@ -52,15 +54,18 @@ </state> <state id="click"> <onentry> - <send target="#_spatial-audio.id1" event="play" delay="0ms" /> + <send target="#_spatial-audio.id1" event="play"> + <param name="src" expr="'audio/click.wav'" /> + </send> <!-- move position of audio 2 in a circle --> <send target="#_spatial-audio.id2" event="play" delay="200ms"> + <param name="src" expr="'audio/click.wav'" /> <param name="circle" expr="spatialAudio.id2.degree + 'deg'" /> </send> <log expr="'Clicking'" /> - <script>spatialAudio.id2.degree += 10;</script> + <script>spatialAudio.id2.degree += 90;</script> </onentry> <transition target="ready" /> </state> |