summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-13 11:31:39 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:53:53 +0200
commitc4c6dae16b2303d9a408fc0e7c15fc082289ca6c (patch)
treef0954de12b2f917a799f6dda9e865b328ed94cfb
parent6e0fa9d1548c6a329f5d2d0d9afe5c298bd4a9e3 (diff)
Correct typo in README
Correct some typo in README. Change-Id: I4427a2c09866bab975334b1577ff83d6b8439947 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
-rw-r--r--README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index 774fae3..d1e4c32 100644
--- a/README.md
+++ b/README.md
@@ -72,6 +72,8 @@ sudo modprobe snd-aloop
* This section is where you put controls which are alsa control calls.
* If a control is not available, it will be registered in alsa using '4a-alsa-core'.
* These controls will be available as verb for your hal.
+ * The value passed to these verbs should be in percentage, the hal will do the conversion to the correct alsa value.
+ To be recognize by the hal, the value should ba associated to the key `val` and should be an integer.
* In `halmixer` section (what it is passed to the mixer):
* The `uid` field will be the name of the mixer corresponding to your hal.
* The `mixerapi` field should contain the name of the api to call for reaching the mixer
@@ -81,7 +83,7 @@ sudo modprobe snd-aloop
* In `ramps` section:
* Define the ramp that you can use in your mixer (ramps in example files can be used).
* The `uid` field is where you specify the name of the ramp.
- * The ramp will set the current volume to the targeted volume step by step :
+ * The ramp will set the current volume to the targeted volume step by step:
* The `delay` field is the delay between two volume modification.
* The `up` field is the volume increase in one step (when increasing volume is requested).
* The `down` field is the volume decrease in one step (when decreasing volume is requested).
@@ -100,7 +102,7 @@ sudo modprobe snd-aloop
* A `uid` field that will be used by the mixer to identify the capture.
* The `params` field is an optional field where you can specify some parameters
for your capture (such as rate).
- * The `sink` field is where you describe your capture :
+ * The `sink` field is where you describe your capture:
* The `controls` field must contain the alsa control labels
that the mixer will use to set/mute volume on your audio device.
* The `channels` field must contain an object that will link an `uid` to
@@ -187,7 +189,7 @@ Use the previously obtain card id to play audio in the selected stream:
#### During playing, try the stream commands to change/ramp volume
-Now you can use your hal api to send commands to mixer. This way, you can change/ramp volume :
+Now you can use your hal api to send commands to mixer. This way, you can change/ramp volume:
`4a-hal-*halapiname* *selected_stream* { "volume" : "+10" }`