summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/1.Introduction.md20
1 files changed, 17 insertions, 3 deletions
diff --git a/docs/1.Introduction.md b/docs/1.Introduction.md
index 29cac71..25b3ea8 100644
--- a/docs/1.Introduction.md
+++ b/docs/1.Introduction.md
@@ -1,13 +1,27 @@
Introduction
===================
+## Problem
+The existing solution contains the following drawbacks:
+ 1. Non-generic interface for configurable hardware cases
+ - Unable to configure streams mapped to outputs
+ 2. Not fully optimized for certain use cases (ie. Routing Audio to DSP vs. aloop)
+ - Routing audio to hardware to reduce overhead
+ 3. Inability to secure on all audio streams
+ - Substreams cannot have SMACK labels applied, inherently leaving different audio streams insecure, or a single label applied to all.
+
+## AVIRTs Solution
The ALSA Virtual Sound Driver (AVIRT) aims to provide a Linux kernel solution to the issue of audio routing in kernel-space, as well as security per-stream, and dynamic configuration of streams at the kernel level.
A top-level abstract dynamic audio driver is presented to the user-space via an ALSA middle-layer card. From there, respective low-level "real" audio drivers can subscribe to it as an "Audio Path".
-The top-level driver is configured (currently) using module parameters, as is the norm for sound drivers in the Linux tree, however this will utilise a configfs configuration implementation in future.
+The top-level driver is configured (currently) using by utilising configfs.
+
+AVIRT attempts to address the aforementioned problems by:
+ 1. Providing a standard interface through configfs to configure a variable number of 'streams' which can be mapped to audio paths.
+ 2. Optimize the audio routing by connecting directly with the desired audio path. This can include routing audio through directly to hardware, or to an implemented loopback interface.
+ 3. Each 'stream' is separated to its own device, therefore security can be applied to each 'stream'. This means that each of the audio roles can be separately secured from each other.
A sample dummy Audio Path is provided as an example to show how a low-level audio driver would subscribe to AVIRT, and accept audio routing for playback.
-Currently, the Fiberdyne DSP hardmixer is supported on the Renesas R-Car M3 AGL
-reference platform, and a default loopback softmixer is in development. \ No newline at end of file
+Currently, the Fiberdyne DSP hardmixer is supported on the Renesas R-Car M3 AGL reference platform, and a default loopback softmixer is in development. \ No newline at end of file