ocarina: Add stop as a pipe action
Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
parent
234626ea81
commit
9ead002ab8
|
@ -17,6 +17,8 @@ void perform_action(string action)
|
|||
libsaria::audio::play();
|
||||
else if (action == "pause")
|
||||
libsaria::audio::pause();
|
||||
else if (action == "stop")
|
||||
libsaria::audio::stop();
|
||||
else if (action == "next")
|
||||
libsaria::next();
|
||||
}
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
%%OCARINA%%-write-pipe "stop"
|
Loading…
Reference in New Issue