cg
3b6430fd03
try the fix from creative bugzilla for nmi problem
...
Obtained from: creative labs bugzilla
2000-04-18 19:11:38 +00:00
cg
57539462d6
more mmap fixes
2000-04-17 17:06:47 +00:00
cg
d3deb9312d
make drivers start at beginning of buffer when triggered - improves mmap.
...
not all tested.
not sure about aureal.c or csapcm.c
2000-04-17 16:57:12 +00:00
cg
6dcc92e9d3
make mmap sort-of work. there seem to be interactions with certain hw
...
drivers, so still work in progress.
do various mmap-related ioctls right.
improve blocksize control.
bits of cleanup.
2000-04-15 05:04:12 +00:00
cg
ce54393508
make poll() dtrt, previously when playing it would trigger if there was less
...
than 1 byte ready to play instead of room for at least 1 byte to be written.
similarly for recording.
2000-04-05 05:54:02 +00:00
cg
3a6463a95b
decrease buffer size to 4k
...
use a seperate channel for generating irqs so we get a buffer-half-empty
interrupt, prevents repeating on underflow
2000-04-05 02:14:26 +00:00
cg
a00d5b661c
allow /dev/dsp to be opened seperately for reading and writing.
2000-04-05 01:13:42 +00:00
cg
02dcd03a45
try increasing 2ndbuffer size to 64k
2000-04-05 00:56:02 +00:00
cg
322951289b
move buffer size definition to .c file for consistency, and reduce it to 4k
2000-04-05 00:38:00 +00:00
cg
21caf00783
make the click on starting output go away
2000-04-04 02:16:15 +00:00
cg
cb309fc3fb
fix missing defines and prototype for emu_vdump()
2000-04-03 00:28:43 +00:00
cg
d45e1e2b8b
unfinished sblive driver, playback/mixer only for now - not enabled in
...
conf/files
i don't seem to be clearing the cache right resulting in a short initial
burst of noise, despite doing the same as creative and alsa. i'm committing
now so more eyes can pore over the code.
2000-04-02 07:41:17 +00:00
cg
a3c065ea56
fail in attach if we seem to have no ac97 codec
2000-04-01 22:24:03 +00:00
cg
0136b30782
bump the buffer size from 4k to 16k. should improve performance under load.
2000-04-01 21:28:09 +00:00
cg
fb4f8b3940
split up ess and sb code
...
rewrite ess mixer to use native registers
rewrite play/rec code to use more accurate timer when available
add code to use audio2 for playback, but disable it as no irqs are generated
2000-03-28 18:31:01 +00:00
cg
a553c0f5cf
don't check extended features on codecs known to hang. should fix neomagic
...
problems.
2000-03-24 03:14:35 +00:00
cg
951269d7a5
toast warnings on i386
2000-03-20 15:50:08 +00:00
cg
699a6893fb
make als120 cards which report dsp version 3.x whilst only supporting 4.x
...
and *not* 3.x commands work
2000-03-20 15:34:27 +00:00
cg
effa7bc907
update the ac97 layer:
...
* add a callback for initialising the mixer interface
* support ac97 2.1 variable rate audio feature
fix ac97-using drivers for the above
add suspend/resume support for neomagic
2000-03-20 15:30:50 +00:00
cg
2a1e86107d
add a function to reinitialize the mixer, to be called by drivers on
...
resuming after suspend
2000-03-20 15:21:50 +00:00
n_hibma
da12839ce8
Spelling mistake
2000-03-15 22:11:00 +00:00
phk
8e89e2d03f
Stop isadma from abusing the B_READ, B_RAW and B_WRITE flags.
...
Define ISADMA_{READ,WRITE,RAW} macros with the same numeric
values as the B_{READ,WRITE,RAW} and use them instead throughout.
2000-03-13 10:19:32 +00:00
tanimura
27e4b96f78
Add the logical ID of Avance Logic ALS100. The vendor ID is also
...
checked, which was introduced in 1.18.
PR: kern/16487
Submitted by: Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de>
Approved by: jkh
2000-03-09 02:13:21 +00:00
cg
3e2fdbb2dd
Partial fix: the following patch correctly configures the card for dual
...
channel DMA. The problem was that the SDC bit (0x04) can only be set in
the MCE state.
PR: kern/16587
Submitted by: Matthew Reimer <mreimer@vpop.net>
Approved by: jkh (in person)
2000-03-05 15:51:09 +00:00
cg
a69329aaa1
fix ess end-of-buffer repeating
...
Submitted by: nhibma
Approved by: jkh
2000-02-14 23:37:02 +00:00
peter
7760fba064
Tidy up stray or bogus #if NFOO > 0 and #include "foo.h".
2000-01-29 18:48:30 +00:00
peter
1129f8f225
Remove a rather bizzare set of #ifdefs and #defines that all worked out
...
to be a NO-OP.
2000-01-29 18:44:01 +00:00
cg
c7803fdb7d
differentiate cmi8330 and als100 pnp cards based on their vendor id. this
...
is a kludge for 4.0
2000-01-29 00:18:29 +00:00
gallatin
b223e32eee
Add support for detection of the ESS 1688 found on my Dell Latitude LM
2000-01-28 04:28:11 +00:00
cg
c54637f284
handle simplex devices right
2000-01-26 20:27:45 +00:00
peter
bd4781a52d
Note the PnP id's for the NMX2210 next to the id's where they are used.
...
The pnpbios doesn't supply a description in the case we've seen so
supply one.
2000-01-23 13:17:03 +00:00
tanimura
5ecc620e52
The pointer of the serial FIFO in the DSP seems to make an error
...
upon starting/stopping the DSP. Correct the pointer in addition
to clearing the FIFO.
2000-01-23 07:04:02 +00:00
cg
0a67c016a3
kludge to fix the end-of-sample repeating bug. i don't know why it happens;
...
none of my hw does it, but this should fix it for now.
Tested by: wpaul
2000-01-18 18:59:03 +00:00
cg
fc15400060
update ac97 layer to use device_printf when printing messages
2000-01-18 17:13:43 +00:00
peter
780b88254a
Some SB128's (ES1371) have a different PCI vendor id. Vendor == 0x3274
...
instead of the normal 0x1274.
Tested by: des
2000-01-17 07:54:00 +00:00
cg
fcb01752cf
fix missing \n in sndstat output
2000-01-16 12:52:22 +00:00
cg
e6906410a6
oops, best play format was set to unsigned 16 bit instead of signed 16 bit
...
stereo. remenant from testing.
2000-01-16 12:05:07 +00:00
cg
4d257ee74f
attach to non-ac97 neomagic chips and hope that ac97 ones do not have the
...
same pnpbios id
2000-01-13 06:11:32 +00:00
cg
6ccc3d677e
be less verbose
2000-01-13 06:00:57 +00:00
deischen
639e3cda8a
Add support for detection of the ESS 1878 chip.
2000-01-12 11:16:23 +00:00
cg
dfec3bcff1
exclude chips with subdevices specified on a list of non-ac97 chips
2000-01-11 10:37:16 +00:00
cg
719aa81c83
make dsp_read() assert that it has a read channel, not a write channel
...
Submitted by: green
2000-01-10 07:05:15 +00:00
cg
5f4f7388c4
don't complain about bad intrs unless we get 1000 of them consecutively
...
whilst we are playing or recording. since we should irq ~20 times/sec when
active, this should never trigger. in theory. if it never does trigger,
the check will be removed.
2000-01-10 06:19:20 +00:00
cg
3452c8e1b7
general tidyup
2000-01-10 03:22:28 +00:00
cg
bbb4b43d9a
return the sample rate set instead of 0. oops. mpg123 should now work.
2000-01-10 01:59:12 +00:00
cg
3fa29d03b7
fix the premature termination of playback
2000-01-09 08:32:49 +00:00
cg
a77c3e5d41
driver for neomagic 256av and 256zx
...
Obtained from: anonymous author, heavily derived
2000-01-09 08:14:11 +00:00
cg
874d48434c
modify sndstat output
2000-01-09 08:07:46 +00:00
cg
2da2a05a1b
allow mixer-only devices - ie, devices with no play/rec channels
2000-01-06 04:11:36 +00:00
cg
9a79ef7dd3
don't panic if channel init fails, report and fail gracefully
2000-01-05 20:44:41 +00:00