aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/telephony-and-music/README
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-25 18:19:04 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-25 18:19:04 +0200
commit134aea8dd229daf938b109af7176be667e4201fb (patch)
tree61a4191d2a7a3309cb1c9601b7753e9ddc67c395 /doc/examples/telephony-and-music/README
parenttypo (diff)
downloadbus-134aea8dd229daf938b109af7176be667e4201fb.tar.gz
bus-134aea8dd229daf938b109af7176be667e4201fb.tar.bz2
bus-134aea8dd229daf938b109af7176be667e4201fb.tar.xz
add telephony-and-music example
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/examples/telephony-and-music/README')
-rw-r--r--doc/examples/telephony-and-music/README30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/examples/telephony-and-music/README b/doc/examples/telephony-and-music/README
new file mode 100644
index 0000000..7c97878
--- /dev/null
+++ b/doc/examples/telephony-and-music/README
@@ -0,0 +1,30 @@
+Use-case example.
+
+Assume you have a music player and a telephony program.
+You might like it if the music player pauses whenever
+you make or receive a call. You may also like it, if
+the music resumed when the call ended.
+
+In this example we will assume you the have moc/mocp
+running. And we will use the shell to simulate a
+telephony program.
+
+
+
+First of, run make to build this example.
+Before starting run ./init.
+And when you are done run ./cleanup.
+
+In one terminal run ./monitor. This program will
+pause mocp when you make or receive a call, it will
+also resume mocp when all calls have ended if it
+did pause mocp.
+
+Then start any positive number of terminals.
+We will pretend that each of them are telephony
+programs. To make or receive a call, run
+./receive-or-make-call, when you want to end
+the pretend call, run ./end-call from the
+terminal (or more accurately, from the same
+process).
+