diff options
author | Dan Williams <dcbw@redhat.com> | 2017-02-06 20:53:39 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2018-10-16 17:09:21 +0000 |
commit | 627303a748cce7274b05a6861a1dc0c779d9263a (patch) | |
tree | 52acb186721f9c48ccf1c042e620a86a06a7265c /introspection | |
parent | 16162a5033593e017775eab640a3b9bf1b805c39 (diff) |
api/libmm-glib/cli: add AudioPort and AudioFormat properties to the Call object
Diffstat (limited to 'introspection')
-rw-r--r-- | introspection/org.freedesktop.ModemManager1.Call.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Call.xml b/introspection/org.freedesktop.ModemManager1.Call.xml index f095726b..f53f5b7b 100644 --- a/introspection/org.freedesktop.ModemManager1.Call.xml +++ b/introspection/org.freedesktop.ModemManager1.Call.xml @@ -111,5 +111,44 @@ The remote phone number. --> <property name="Number" type="s" access="read" /> + + <!-- + AudioPort: + + If call audio is routed via the host, the name of the kernel device that + provides the audio. For example, with certain Huawei USB modems, this + property might be "ttyUSB2" indicating audio is available via ttyUSB2 in + the format described by the AudioFormat property. + --> + <property name="AudioPort" type="s" access="read" /> + + <!-- + AudioFormat: + + If call audio is routed via the host, a description of the audio format + supported by the audio port. + + This property may include the following items: + <variablelist> + <varlistentry><term><literal>"encoding"</literal></term> + <listitem> + The audio encoding format. For example, "pcm" for PCM audio. + </listitem> + </varlistentry> + <varlistentry><term><literal>"resolution"</literal></term> + <listitem> + The sampling precision and its encoding format. For example, + "s16le" for signed 16-bit little-endian samples. + </listitem> + </varlistentry> + <varlistentry><term><literal>"rate"</literal></term> + <listitem> + The sampling rate as an unsigned integer. For example, 8000 for + 8000hz. + </listitem> + </varlistentry> + </variablelist> + --> + <property name="AudioFormat" type="a{sv}" access="read" /> </interface> </node> |