summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-11-02Add AGL-specific CMake PROJECT_TARGET_ADD macroMark Farrugia1-0/+2
We require this in AGL projects to properly find the library uising the app-templates submodule. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-11-02Fix compile warningsMark Farrugia1-2/+2
Remove left-over local variables, add missing return statement Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-10-31Update AVIRT configfs path to snd-avirtMark Farrugia1-1/+1
This changed in the most recent version of the AVIRT driver. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-10-31Add macro to check if configfs is mountedMark Farrugia1-22/+25
We cannot configure AVIRT without configfs being mounted on the filesystem Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-10-31Add check for configfs filesystemMark Farrugia1-0/+23
Check /proc/filesystems for the configfs filesystem. If the kernel does not support configfs, we cannot use AVIRT Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-10-30Refactor function names to snd_avirt_*Mark Farrugia3-10/+14
Make function format more inline with alsa-lib functions Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-10-30Add check for existing /config directoryMark Farrugia1-1/+7
Before mkdir'ing /config, check whether it has been created already. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-10-30Fix debug macrosMark Farrugia1-16/+8
No need to use asprintf to format debug output. Add debug prints. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-10-30Add map to AVIRT_CreateStreamMark Farrugia2-24/+28
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-10-30Add READMEMark Farrugia1-0/+5
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-10-30Numerous improvementsMark Farrugia1-3/+16
Add additional card_sealed checks, format braces, add comments Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-10-30Update licensingMark Farrugia3-29/+11
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-10-30Add function documentationMark Farrugia1-0/+21
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-10-30Added card_sealed boolMark Farrugia1-0/+9
We don't want to allow AVIRT_SealCard to be called more than once. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-10-30Add macros for error and debug logsMark Farrugia1-8/+38
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-10-30Rename top-level header, fix CMakeLists targetMark Farrugia3-5/+5
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-10-30Add initial working implementationMark Farrugia3-0/+181
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-10-30Initial commitmark-farrugia-fiberdyne1-0/+339
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-10-29Initial empty repositoryJan-Simon Moeller0-0/+0