From e9cf87ac429153c696678784a70ea70cfdffd27f Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Wed, 13 Jun 2018 15:36:21 +0200 Subject: Add Hal (audio json configration files) Add some audio json configration files inspired from hal available in '4a-hal-reference' and '4a-hal-community'. Each one of these files are meant to be be a reproduction of old hal using the new 4a-hal implementation. List of hal added : - Rcar M3 - Intel Minnowboard - 2ch generic usb - Intel - Jabra solemate - Ensoniq Change-Id: I6bac5ed1e6d4ab72975427a9a2343851f874df79 Signed-off-by: Jonathan Aillet --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index d693ff0..2d805e7 100644 --- a/README.md +++ b/README.md @@ -131,13 +131,20 @@ sudo modprobe snd-aloop * The `params` is where you can specify some parameters for your stream (such as rate). * `volume` and `mute` fields are initiate values of the stream. -#### Note about using a USB device +### Note about using a USB device Dynamic handling of USB devices is not yet implemented, so you need to modify the 'hal-4a-2ch-generic-usb.json' to change the `uid` value in `metadata` section and `path` values in `playbacks` and `captures` sections. All these values should be replaced by the alsa entry path of your usb device, these entry are listed under directory '/dev/snd/by-id/...'. +### Selection of the hal loaded at binding launch + +Currently, the 4a-hal binding will try to launch a hal for each json audio configuration +files found in path specified with CONTROL_CONFIG_PATH (an audio configuration file should begin with 4a-hal-*). +If you don't want a hal to be launch with the binding, you can just rename/remove the corresponding +audio json configuration file. + ## Compile (for each repositories) ```bash -- cgit 1.2.3-korg