Commit Graph

79 Commits

Author SHA1 Message Date
mycroft
2bc736661a Implement poll(2). 1996-09-07 12:40:22 +00:00
mycroft
e1ea13d92a Fix typo. 1996-09-01 23:54:53 +00:00
mycroft
664a66d009 Add mmap method for audio devices.
XXX This is just a placeholder to avoid updating conf.h again.
Also, clean up some error values.
1996-09-01 21:33:43 +00:00
mycroft
4abbd9427d Remove intr.h for now. This requires more work. 1996-05-13 02:26:15 +00:00
mycroft
682960c500 Use intr.h on alpha and i386. 1996-05-13 01:01:55 +00:00
christos
1e2c047be7 - Don't use dev_conf.h
- Remove unnecessary prototypes
- Fix ioctl arguments
- Don't use kprintf(...TO_LOG...); directly. This does not set the log
  priority, and uses priority of the previous message. Use log() with %:
1996-03-30 22:51:23 +00:00
mycroft
5c3bc6f120 Use %p as appropriate. 1996-03-29 00:11:42 +00:00
christos
e023a87a11 Bring prototypes into scope. 1996-03-14 19:05:07 +00:00
christos
d318abdbc4 prototypes for ccd audio and ncr5380 1996-03-07 15:00:07 +00:00
mycroft
d1b5c90fd6 Check for errors while changing gain. 1996-02-20 11:47:22 +00:00
mycroft
5f732f379e Trivial (and probably not very good) implementation of SIGIO. 1996-02-20 10:00:31 +00:00
jtk
4f3fc10939 Fix PR#2060 (add AUDIO_PERROR ioctl to query # of playback drops), also
fix semantics of AUDIO_WERROR (now returns a count).

Also repair audio driver back to "real-time mode" where user must
provide data quickly enough for real time audio or silence is played
until user catches up.  Add optional "play all" mode (additional bit in
mode field) to play all samples provided, with silence when needed to
avoid buffer underrun.
1996-02-17 02:28:56 +00:00
mycroft
8ba7909bb4 Eliminate sc_silence, and handle output interrupts somewhat differently.
From John Kohl, slightly edited.
1996-02-16 02:25:43 +00:00
mycroft
47246947c7 Adjust the low and high watermarks. Based on a suggestion from Lennart
Augustsson.
1996-02-08 03:05:34 +00:00
scottr
186d69c204 Don't adjust the number of blocks in the ring buffer if the driver
is currently outputting silence.  Fix from Lennart Augustsson
<augustss@cs.chalmers.se>, closes PR #2010.
1996-02-05 21:11:10 +00:00
mycroft
0b6a86dfe5 Make the block size always a whole number of samples. 1996-01-07 06:21:02 +00:00
pk
de0584fa25 Avoid zero blocksize (from David Huang; PR#1770). 1996-01-05 13:16:30 +00:00
cgd
13bf4371ae delete extra (blank) line in comment block 1995-11-24 23:45:40 +00:00
brezak
693043d786 GUS audio driver from John Kohl. 1995-07-19 19:58:09 +00:00
brezak
0589b5a222 Make mode a flag set. Full-dpulex fixes from John Kohl. 1995-07-07 01:52:30 +00:00
brezak
cea924779e call hw->setfd with param not ptr to it 1995-06-04 15:33:50 +00:00
brezak
c68110e043 Remove strings 1995-05-08 22:01:34 +00:00
brezak
2d93a58abd Don't call hardware close in mixer_close(). From Rolf Grossmann <grossman@informatik.tu-muenchen.de> 1995-05-08 17:42:07 +00:00
brezak
f5675abf16 Set mixer type for rec and play level set. PR#1027 1995-05-08 16:06:38 +00:00
brezak
8951a20fe2 Auto-select open mode when opened half-duplex. From John Kohl. PR#1006 1995-05-05 22:36:14 +00:00
pk
30f71c550f A couple of fixes frm Rolf Grossmann. 1995-04-24 19:13:52 +00:00
mycroft
fa37f29dc8 Make some functions non-static. 1995-04-17 23:04:31 +00:00
mycroft
ff6c206c3f Use void* rather than caddr_t in many places. 1995-03-25 00:00:53 +00:00
brezak
1f5bdc75a9 New audio subsystem 1995-02-21 01:35:58 +00:00