summaryrefslogtreecommitdiff
path: root/sys/modules/spkr/Makefile
AgeCommit message (Collapse)Author
2019-05-08Merge isaki-audio2 branch, the overhaul of audio subsystem.isaki
- Interrupt-oriented system rather than thread-oriented. - Improve stability, quality and performance. - Split playback and record cleanly. Improve halfduplex support. - Many bugs are fixed including deadlocks, resource leaks, abuses, etc. - Simplify audio filter mechanism. The encoding/channels/frequency conversions are completely handled in the upper layer. So the hard- ware driver only converts its hardware encoding (if necessary). - audio_hw_if changes: - Obsoletes query_encoding and add query_format instead. - Obsoletes set_params and add set_format instead. - Remove drain, setfd, mappage. - The call sequences are changed. - ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted. - ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced. - cleanup config attributes: au*conv and mulaw. - All hardware drivers should follow it (I've done as much as possible). Some file paths are changed: - dev/audio.c -> dev/audio/audio.c (rewritten) - dev/audiovar.h -> dev/audio/audiovar.h - dev/audio_dai.h -> dev/audio/audio_dai.h - dev/audio_if.h -> dev/audio/audio_if.h - dev/audiobell.c -> dev/audio/audiobell.c - dev/audiobellvar.h -> dev/audio/audiobellvar.h - dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c
2019-02-17Bump default value of WARNS for modules from 3 to 5, andrin
explicitly set WARNS for modules that fail with WARNS=5. Also, turn on -Wno-missing-noreturn for clang for some files. At the moment, among ~ 360 modules, - 2 (lua and zfs) need WARNS=0 - 1 (solaris) needs WARNS=1 - 136 need WARNS=3 (mostly due to sign-compare) - 4 need WARNS=4 - others can be compiled with WARNS=5 Discussed on tech-kern.
2017-06-11Define the NWSMUX symbol for the spkr module (for modules, we cannotpgoyette
use the wsmux.h file created by the needs-flag in sys/conf/files)
2016-12-15Create a single combined module for spkr_pcppi and spkr_audio, andpgoyette
build it for all architectures. By doing this, we can handle pcppi, audio, or both attachments with non-built-in modules. XXX Still to do: the module currently cannot be unloaded, and the XXX spkr device(s) currently cannot be detached. (Really, two XXX sides of the same problem.)
2016-12-09sync with latest. this should either be called spkr_pcppi or made to workchristos
with both busses.
2016-12-09Add spkr_pcppi.cchristos
2016-12-08Revert to previous. Add PCPPISPEAKER flag to fix build.nat
2016-12-08Fix building of the spkr module. The module now is the synthesized speaker.nat
Reported by joerg@
2015-05-17Add the spkr module to the build.pgoyette