Commit Graph

16 Commits

Author SHA1 Message Date
mycroft
cbfac6596e Make SNDCTL_DSP_POST a nop. It's explicitly *not* supposed to sleep, and as
it's merely advisory (and in fact is implemented as a nop in the OSS->ALSA
shim), it should be safe to ignore it.
2001-12-24 00:10:46 +00:00
kim
b399dad6eb Map OSS mixer device "line1" to native mixer device "aux". 2001-07-08 22:30:15 +00:00
augustss
5a71cdbf26 Impproved fix of PR12796, from Frederick Bruckman <fb@enteract.com> 2001-05-10 01:53:48 +00:00
augustss
5c9ba155e3 Apply patch in PR lib/12796 from Frederick Bruckman <fb@enteract.com> 2001-05-09 21:49:58 +00:00
tron
29e1f8bd9f Use accurate rounding in conversion between OSS and NetBSD volume values.
The optimized integer formula was supplied by Wolfgang Solfrank on
"tech-kern@netbsd.org". This fixes problems with e.g  FreeBSD TV (fxtv),
RealPlayer-7.0 Beta 2 (PR pkg/10818) and KDE's "kscd".
2000-08-16 16:14:33 +00:00
augustss
17ac2f03ee Implement OSS_GETVERSION.
Accept mixer values above max (100).
Handle the info from AUDIO_MIXER_DEVINFO properly, parts of it is opaque.
2000-07-04 09:56:14 +00:00
augustss
41a71bdc48 Implement SOUND_MIXER_INFO. 1999-11-16 23:56:41 +00:00
kleink
79ce98b212 Per discussion with Lennart Augustsson, change the behaviour to report emulated
encodings, too.  (This is currently an issue with the eso(4) driver, which,
due to different byte orders in playing and recording directions, sets the
emulated flag for all 16-bit encodings, although it could be argued that this
is an unfortunate weakness of the query_encoding() interface.)
1999-08-22 13:43:09 +00:00
simonb
42724dd4d2 More trailing white space. 1999-07-02 15:37:33 +00:00
augustss
54b9d07367 Make copyrights conform. 1999-04-13 20:45:25 +00:00
augustss
1a6c4f4a84 Fix off by one error. 1998-05-25 17:13:14 +00:00
augustss
99c03c4382 Track mycroft's change in src/sys/compat/oss/ossaudio.c. 1998-03-23 00:39:18 +00:00
augustss
a1338abe8c Fix a serious emulation bug.
Add some missing #defines.
Add a little more documentation.
1997-10-29 00:31:01 +00:00
augustss
e067be5020 Add some missing defines and add history to man page. 1997-10-26 23:50:30 +00:00
augustss
0a9e50418e Update for SunOS compatibility. 1997-10-19 07:47:48 +00:00
augustss
afab22e3de Initial version of a user level emulation of the OSS audio API.
Useful for compiling Linux audio programs.
1997-10-16 17:30:57 +00:00