178 Commits

Author SHA1 Message Date
Taylor Holberton a2c8dc2bf6 adding debian files v1.0.0 2016-10-01 22:37:39 -04:00
Taylor Holberton 7a753ead88 making man directory if it does not exist 2016-10-01 22:34:09 -04:00
Taylor Holberton c429afa38b added DESTDIR to install command and explicit build commands 2016-10-01 22:33:36 -04:00
Taylor Holberton 281af8a08f added install to multiarch dir and override CFLAGS mechanism 2016-10-01 22:33:05 -04:00
Taylor Holberton b4ea00f6bd Added DESTDIR to header install 2016-10-01 22:32:15 -04:00
Taylor Holberton 2fdee65cf7 checking results of fread() calls 2016-10-01 21:38:34 -04:00
Taylor Holberton 7c8b20a6fe added some documentation to mixer interface 2016-10-01 19:25:19 -04:00
Taylor Holberton 6d58e01d30 added basic pcm documentation 2016-10-01 18:32:30 -04:00
Taylor Holberton 55bc0015b8 added doxygen subdir to all targets 2016-10-01 18:32:14 -04:00
Taylor Holberton d950fb69f2 added install target 2016-10-01 18:31:27 -04:00
Taylor Holberton eb83807b55 updated references 2016-10-01 18:31:16 -04:00
Taylor Holberton dd34a4b18c added snippet on viewing man pages 2016-10-01 17:43:05 -04:00
Taylor Holberton 1e21aed210 Added main page for doxygen 2016-10-01 15:17:33 -04:00
Taylor Holberton e69b2802d1 added new README 2016-10-01 14:50:41 -04:00
Taylor Holberton eee6289d13 temporarily turning off warnings as errors 2016-10-01 14:32:12 -04:00
Taylor Holberton 3c15886027 corrected typo 2016-10-01 14:14:28 -04:00
Taylor Holberton 59471f622a Added Doxyfile 2016-10-01 13:29:50 -04:00
Taylor Holberton eacdd08f63 Added .gitignore file 2016-10-01 13:29:41 -04:00
Taylor Holberton 582fce5f72 updated library source paths 2016-10-01 13:09:12 -04:00
Taylor Holberton 22ab7da256 put source files into src dir 2016-10-01 13:08:08 -04:00
Taylor Holberton 626a822af9 cleaned up makefile 2016-10-01 12:55:10 -04:00
Taylor Holberton e67926e8ec added VPATH and INCDIR 2016-10-01 12:52:25 -04:00
Taylor Holberton 73466c030a voided unused parameter 2016-10-01 12:51:59 -04:00
Taylor Holberton 93b544ec2a seperated pcm and mixer APIs 2016-10-01 12:45:22 -04:00
Taylor Holberton db29593a2f updated program paths 2016-10-01 12:37:13 -04:00
Taylor Holberton b88fd4ff9c put programs into utils dir 2016-10-01 12:33:46 -04:00
Taylor Holberton c01d4a386c added support for more signed types 2016-10-01 12:22:43 -04:00
Taylor Holberton 4f556060a6 fixed bracket placement 2016-09-16 09:54:36 -04:00
Taylor Holberton 2087ef2b62 Merge branch 'dawagner-address-duplicate-control-names' 2016-09-16 09:22:51 -04:00
Taylor Holberton 7687f0fa2a Merge branch 'address-duplicate-control-names' of https://github.com/dawagner/tinyalsa into dawagner-address-duplicate-control-names 2016-09-16 09:22:18 -04:00
Taylor Holberton 713e656a07 Merge pull request #74 from dimkr/master
include time.h, to prevent use of struct timespec before definition
2016-09-16 08:58:28 -04:00
Taylor Holberton bb402603a9 Added get_file_descriptor() 2016-08-03 10:15:46 -04:00
Taylor Holberton 6491c7d6d1 Added default prefix variable 2016-08-03 10:13:04 -04:00
Taylor Holberton a1799e77a3 added install command 2016-08-03 10:12:38 -04:00
Taylor Holberton b47a014f14 Merge pull request #77 from bzhg/master
mixer: check for overflow and NULL return
2016-06-26 14:29:36 -04:00
Ben Zhang 7ed2ffb4dd mixer: check for overflow and NULL return
Signed-off-by: Ben Zhang <benzh@google.com>
2016-04-22 18:05:38 -07:00
Dima Krasner 696c448f8a include time.h, to prevent use of struct timespec before definition
In some old (2.6.32.x) kernel headers, asound.h does not include linux time.h
when __KERNEL__ is undefined, which may break userspace.

The build failures caused by this are similar to those fixed by c8333f8c.

Signed-off-by: Dima Krasner <dima@dimakrasner.com>
2016-03-05 19:50:02 +02:00
Simon Wilson 9bad3fa00f Merge pull request #70 from virajkarandikar/master
tinycap: add capture time parameter
2016-02-14 14:50:08 -08:00
Simon Wilson 22fec81dba Merge pull request #73 from ford-prefect/master
build: Redo Makefile a bit
2016-02-14 14:49:28 -08:00
Simon Wilson 2474d888d7 Merge pull request #72 from frgm/cppcheck
fix some cppcheck warnings
2016-02-14 14:48:31 -08:00
Arun Raghavan 48ba21b517 build: Redo Makefile a bit
A few changes:

 * Don't hardcode 'gcc' and use $(CC) instead
 * Split off CFLAGS/LDFLAGS so we can pick them up from the environment
 * Add a static library build
2016-01-28 15:07:46 +05:30
Svyatoslav Mishyn 9d3cdd0ebf fix format specifier for unsigned int 2016-01-24 20:06:48 +02:00
Svyatoslav Mishyn c7328362a9 mixer: fix possible null pointer dereference 2016-01-24 19:43:38 +02:00
Viraj Karandikar 8eaad66708 tinycap: add capture time parameter
Signed-off-by: Viraj Karandikar <vkarandikar@nvidia.com>
2016-01-22 20:22:57 +05:30
Simon Wilson ad66b45add Merge pull request #69 from JaydeepDhole/master
Added raw file support in tinyplay
2016-01-09 13:47:13 -08:00
Simon Wilson d131cf241b tinymix: don't get byte array if size is zero
Fixes an error if the number of bytes available is zero.

Also remove unused len variable.
2016-01-09 10:27:02 -08:00
Jaydeep Dhole bc0c23b0f6 Added raw file support in tinyplay
-Added raw file support in tinyplay to play PCM raw files

Signed-off-by: Jaydeep Dhole <jaydeepdhole@gmail.com>
2015-12-18 23:22:10 +05:30
Simon Wilson 1f8145a46a Merge pull request #64 from rofl0r/timespec_fix
asound.h: include <time.h> to get struct timespec prototype
2015-10-20 07:17:38 -07:00
Simon Wilson 340176a6e0 Merge pull request #53 from rfvirgil/remove_info_list
mixer: remove separate info list
2015-10-20 07:15:47 -07:00
Richard Fitzgerald 899cecebd1 mixer: remove separate info list
Each mixer_ctl has an associated snd_ctl_elem_info, which was
kept in a separate array with pointers from the mixer_ctl to
its corresponding snd_ctl_elem_info. This means double
pointer dereferences when looking up the info. It also means
extra work to add support for extending the arrays to include
dynamically added controls because the pointers from the ctl
array to the info array would have to be updated.

This patch removes the info list and gives each mixer_ctl struct
its own local snd_ctl_elem_info, removing the additional pointer
dereferencing.

Change-Id: I03f7d411afd9e37f58b984584712fee64d85ef4e
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
2015-10-20 14:23:28 +01:00