summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-09-30 00:25:28 +0900
committerMarcel Holtmann <marcel@holtmann.org>2010-09-30 00:25:28 +0900
commit860be0ad4f14843e35cd5a002c78138cce97b8f8 (patch)
tree2150f27c0d686a1b092a92112816c136f66a9e20
parentfb864c91c01986b6fd4e090db75d04ba038e25d3 (diff)
downloadofono-860be0ad4f14843e35cd5a002c78138cce97b8f8.tar.bz2
doc: Add audio settings API description
-rw-r--r--Makefile.am3
-rw-r--r--doc/audio-settings-api.txt26
2 files changed, 28 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 378dbca2..a364d4c9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -337,7 +337,8 @@ doc_files = doc/overview.txt doc/ofono-paper.txt \
doc/call-volume-api.txt doc/cell-broadcast-api.txt \
doc/message-api.txt doc/message-waiting-api.txt \
doc/phonebook-api.txt doc/radio-settings-api.txt \
- doc/sim-api.txt doc/stk-api.txt
+ doc/sim-api.txt doc/stk-api.txt \
+ doc/audio-settings-api.txt
test_scripts = test/backtrace \
diff --git a/doc/audio-settings-api.txt b/doc/audio-settings-api.txt
new file mode 100644
index 00000000..f59a230d
--- /dev/null
+++ b/doc/audio-settings-api.txt
@@ -0,0 +1,26 @@
+Audio settings hierarchy
+========================
+
+Service org.ofono
+Interface org.ofono.AudioSettings
+Object path [variable prefix]/{modem0,modem1,...}
+
+Methods dict GetProperties()
+
+ Returns all audio settings properties. See the
+ properties section for available properties.
+
+ Possible Errors: [service].Error.InvalidArguments
+
+Signals PropertyChanged(string property, variant value)
+
+ This signal indicates a changed value of the given
+ property.
+
+Properties boolean Active [readonly]
+
+ Indicates if an audio PCM stream is active or not.
+
+ This is not supported by all modems. Only modems
+ where the audio data can be routed to the host
+ application processor will support this.