summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-16Revert "Revert "Add support for installing as a library""guppy_7.0.4guppy_7.0.3guppy_7.0.2guppy/7.0.4guppy/7.0.3guppy/7.0.27.0.47.0.37.0.2guppyMark Farrugia2-1/+38
This reverts commit 052bf4ee8ac2c8772a926374bfd5d22bb3faa877. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-04-16Revert "Add support for installing as a library"Mark Farrugia2-38/+1
This reverts commit 2b26533b81621dbf1359c5e64dd7a59e6d327f62. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-04-08Fix build issue with incorrect formatting specifierguppy_7.0.1guppy/7.0.17.0.1Mark Farrugia1-2/+2
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-04-08Fix build issue with incorrect commitMark Farrugia1-2/+0
Remove remnant code that is obsolete. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-04-04Add ability to cleanup avirtMark Farrugia2-7/+102
- Add reset all function for streams - Add checks for empty /config dir, to avoid remount of configfs Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-04-04Revamp write and read macros, add route retrieval functionsMark Farrugia2-51/+146
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-04-03Refactor 'sealed' to 'configured', as per kernel moduleMark Farrugia2-13/+13
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-04-01Add support for routesMark Farrugia2-39/+210
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-02-06Add gitreview for guppyguppy_7.0.0guppy_6.99.5guppy/7.0.0guppy/6.99.57.0.06.99.5Jan-Simon Möller1-1/+1
Change-Id: I219c54657898a028cb40642dbe3bdfca73af673a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-02-06Add fixed gitreviewhalibut_7.90.0halibut/7.90.07.90.0Jan-Simon Möller1-0/+5
Change-Id: I88191ac9badb673621564a068550383d29cade31 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-02-04Add additional checks for channel count, add debug logsMark Farrugia1-1/+7
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-02-01Update card_seal()Mark Farrugia1-27/+7
- No need to sleep to wait for card register, this now occurs at kernel module load time. - Can use snd_avirt_card_index_get to retrieve the card index, if not already retrieved. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-02-01Add error checking macros, and initial support for volume controlMark Farrugia2-2/+116
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-01-30Add function to get the ALSA card index for an AVIRT cardMark Farrugia2-1/+45
From an AVIRT internal card index, we retrieve the ALSA card index. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-01-29Update header, add function documentationMark Farrugia1-8/+12
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-01-29Fix broken install path for avirt headerMark Farrugia1-1/+1
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-01-29Add support for installing as a libraryMark Farrugia2-1/+38
Need to install in AGL SDK rather than use as a submodule. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2019-01-29Add .gitignoreMark Farrugia1-0/+1
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-11-29Add debug log for lack of avirt map, clean up commentsguppy_6.99.4guppy_6.99.3guppy_6.99.2guppy/6.99.4guppy/6.99.3guppy/6.99.26.99.46.99.36.99.2Mark Farrugia1-1/+5
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-11-12Add function to retrieve AVIRT pcm infoguppy_6.99.1guppy/6.99.16.99.1Mark Farrugia2-2/+88
We need to be able to retrieve card index, and pcm indexes for each named stream Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-11-05Tidy header documentationMark Farrugia1-9/+13
Trimmed overgrown lines, revised documentation Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-11-05Remove unneeded text from LICENCE fileMark Farrugia1-60/+1
The LICENCE file still had the example Yoyodyne text. We can remove this Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
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