summaryrefslogtreecommitdiffstats
path: root/sysfs.c
AgeCommit message (Collapse)AuthorFilesLines
2019-03-27Rework routing systemMark Farrugia1-28/+0
- Add 'route' to snd_avirt_stream, remove from audio path - Add route checking - ensure that source ap and ink ap have compatible hw params - Add private data support for both source and sink Audio Paths, to ensure that the PCM can hold multiple private data(s). - Add ability to use copy_kernel and exttriggers from AVIRT instead of from Audio Paths - Reintroduce pcm_trigger and pcm_prepare, so that they may be called appropriately from AVIRT, rather than child Audio Paths. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-03-05Add ability to route audio between audio pathsMark Farrugia1-0/+27
Configfs interface for adding 'routes' is added, and allows two audio paths to chain together particular inputs/outputs, allowing for multistage audio driver handling. A particular use-case is that of an ADSP driver. We can feed in audio to it, and capture the processed, and/or mixed, audio at it's output, and direct to another audio path driver, such as the UNICENS audio driver. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-03-05Move sysfs functionality to sysfs.cMark Farrugia1-0/+174
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>