Commit graph

23 commits

Author SHA1 Message Date
cinap_lenrek b2d7992025 kernel: properly handle bad attach specifiers
- only accept decimal for numeric device id's
- exclude negative device id's
- device id's out of range yield Enodev
2018-02-25 17:11:18 +01:00
cinap_lenrek da2d0ee780 audiohda: allow manual pin routing, more verbose audiostat, initial mute of al widgets
the automatic routing from jack to dac/adc sometimes gets us
a path thats not audible. manually specifying a route path
gets us arround these. the syntax is just a comma separated
list of node ids in the "pin" and "inpin" audioctl commands
instead of a single pin node id.

to find alternative paths, audiostat now lists all the widgets;
not just the pins; and ther input connections.

initially mute all pins and amps of all function groups.
connectpath() and disconnectpath() will mute and unmute
the widgets as required later.
2013-09-29 15:44:26 +02:00
cinap_lenrek 84109a3159 devshr, devaudio: openmode()/devopen() error handling 2013-08-27 23:27:46 +02:00
cinap_lenrek d41f67c2b9 audio: fix delay control, increase default buffer delay to 40ms
just doing a single sleep isnt enougth, as we get woken
up for every block!
2013-02-01 15:23:38 +01:00
cinap_lenrek c1cb685a32 audioac97: fix inverted recgain control, init to zero recgain
some controls are inverted. we reflect this by specifying
negative range in the volume table now and let genaudiovolread()
and genaudiovolwrite() do the conversion.
2013-01-27 17:20:42 +01:00
cinap_lenrek e4875c1ae7 audiohda: first attempt on audio recording support for intel hda audio, distinguish mode in audio code 2013-01-19 01:12:39 +01:00
cinap_lenrek 6a0e85ad9c audioac97: audio recording 2013-01-18 13:12:41 +01:00
cinap_lenrek 8cb8043d0e kernel: fix more malloc/smalloc errors 2011-12-12 19:17:58 +01:00
cinap_lenrek 70e4b8d1f9 added eqlock(), a interruptable version of qlock. addresses issue #81 2011-08-10 16:21:17 +02:00
cinap_lenrek a7a56b9a48 devaudio: ignore non absolute volume items with range 0 2011-07-21 01:24:18 +02:00
cinap_lenrek b274842f5c audio: cleanup 2011-07-03 05:56:53 +02:00
cinap_lenrek 86f316987d audio: add delay control 2011-07-03 03:42:37 +02:00
cinap_lenrek f83d4972db devaudio: interlock reads too 2011-06-04 01:04:14 +00:00
cinap_lenrek 15cdb69f61 devaudio: serialize calls in devaudio, sb16: remove qlock 2011-06-04 00:28:17 +00:00
cinap_lenrek e7d3e20912 remove keyboard stuff from other ports, make openssl and python compile on arm 2011-05-21 00:42:08 +00:00
cinap_lenrek 6cd063199d devaudio: audiostat perms 2011-05-20 21:08:10 +00:00
cinap_lenrek a75eb31752 devaudio: attach 2011-05-20 20:45:17 +00:00
cinap_lenrek 4bc74b8aef audioif, mixer control 2011-05-20 18:30:46 +00:00
cinap_lenrek b74418c2ce sb16: new approach, works in qemu 2011-05-18 19:57:31 +00:00
cinap_lenrek be81150bb4 remove audio.h, put stuff in port^(dat fns).h 2011-05-16 22:31:27 +00:00
cinap_lenrek d642d726ba add ac97 driver 2011-05-16 12:16:43 +00:00
Taru Karttunen a9060cc06b Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
Taru Karttunen e5888a1ffd Import sources from 2011-03-30 iso image 2011-03-30 15:46:40 +03:00