Commit Graph

11 Commits

Author SHA1 Message Date
Kevin Lange
39c6b86219 Mark mixer as a device 2015-08-19 09:36:53 -07:00
Kevin Lange
9bf4a938b9 Stop depending on debug shell from driver modules 2015-08-18 18:29:40 -07:00
Dale Weiler
0dbd5ab089 Cleanup and improve spin lock code 2015-05-21 04:28:14 -04:00
Dale Weiler
cb0e217c31 Cleaned up, optimized and rewrote crucial parts of libc for the kernel, fixed a few bugs as well. 2015-05-21 03:12:09 -04:00
Kevin Lange
9d41b3fc25 Merge branch 'mixer-rebase' of https://github.com/gerow/toaruos into gerow-mixer-rebase 2015-05-18 21:15:25 -07:00
Mike Gerow
2ac9f8a9ea Fix the way that buffers are mixed
The previous method was failing to actually mix the samples as signed
16-bit values and just adding the individual bytes. This works out fine
for single buffers but creates weird artifacting if multiple buffers are
being mixed and there is a carry between the bytes.
2015-05-18 02:00:57 -07:00
Mike Gerow
0f35a5bfe3 Add ioctl interface for snd mixer 2015-05-17 20:31:36 -07:00
Mike Gerow
ad708efd5a Add support for managing mixer knobs to snd interface 2015-05-17 20:31:36 -07:00
Kevin Lange
e703c8761b removing log calls from timing-sensitive sound functions 2015-05-17 14:12:10 -07:00
Kevin Lange
bebb58b189 Fix audio delays 2015-05-15 22:21:53 -07:00
Mike Gerow
b06b4af8b9 Add snd sound subsystem.
It's got a long way to go, but this provides basic mixing between
applications.
2015-05-15 01:04:07 -07:00