Commit Graph

18 Commits

Author SHA1 Message Date
Kevin Lange
db79e63e58 Fix audio levels on AC'97 (VirtualBox) 2017-01-20 19:25:58 +09:00
Kevin Lange
8b1acc5b66 Various random fixes 2016-12-26 18:02:47 +09:00
Kevin Lange
9bf4a938b9 Stop depending on debug shell from driver modules 2015-08-18 18:29:40 -07: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
Kevin Lange
9a72bfc4cd Add half-assed support for IRQ chaining.
We only support 4 total chain entries at the moment, but that can be
"easily expanded"... We don't really have a lite dynamic vector, just
the big fat dynamic lists, so improving on this needs some extra effort.

This commit also drags in a bunch of random network work by necessity.
2015-05-18 21:07:06 -07:00
Mike Gerow
0f35a5bfe3 Add ioctl interface for snd mixer 2015-05-17 20:31:36 -07:00
Mike Gerow
f53ea98e05 Implement snd mixer interface in ac97.c 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
Kevin Lange
141ca495d9 Write to buffers in sequence instead of splitting in half 2015-05-15 15:01:51 -07:00
Mike Gerow
320925d0d9 Convert ac97 module to use snd 2015-05-15 01:04:07 -07:00
Kevin Lange
456cbf1016 hacky, but working, /dev/dsp interface 2015-05-13 23:28:47 -07:00
Kevin Lange
3e605ec2d8 Crank the volume a bit 2015-05-13 18:58:24 -07:00
Kevin Lange
034cd38cf4 Gracefully handle failures to load audio files 2015-05-13 18:52:00 -07:00
Kevin Lange
5573199c4e Actually let the file finish playing instead of cutting it off 2015-05-13 18:39:56 -07:00
Kevin Lange
a3ca443492 Don't bind shell functions if we didn't find it 2015-05-13 15:27:41 -07:00
Kevin Lange
fb9e02fbd8 Clean up AC97 driver for merge 2015-05-13 15:26:28 -07:00
Mike Gerow
3b60e8c36f Added experimental ac97 driver.
This doesn't include a userland interface, but it does include a couple
of commands for the debug shell. ac97_status, which shows some register
and port values for the ac97 and ac97_noise which attempts to play a
(very annoying) 440Hz sine wave through the sound card.
2015-05-13 01:35:55 -07:00