| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
into C9X initializer designators.
Reviewed by: schweikh (mentor)
MFC after: 4 weeks
|
|
|
|
|
|
|
|
|
| |
debugging.
* set the parent of non-format feeders, so that sndstat doesn't miss out
things like feeder_rate.
MFC: 1 week
|
|
|
|
| |
that a lock is held whilst the allocations are made (M_WAITOK -> M_NOWAIT).
|
|
|
|
|
|
|
|
| |
without waiting, since they are called from a system-call context only.
This appears to fix all sorts of problems with open("/dev/dsp", O_WRONLY)
randomly returning ENXIO.
Found by: cognet
|
|
|
|
| |
Approved by: trb
|
|
|
|
|
|
|
|
|
| |
of knowing data size transformations of feeder chain and in some cases
this means too much data is pulled through chain, eg converting input
stream from 16bits to 8bits on 16bit only h/w.
PR: kern/37831
Submitted by: Harti Brandt <brandt@fokus.fraunhofer.de>
|
|
|
|
| |
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
|
|
|
|
|
| |
Approved by: re
Reviewed by: orion
|
|
|
|
| |
disabled for gcc-3.
|
|
|
|
| |
now objects to (as it should, it is not legal C).
|
|
|
|
|
|
|
|
|
|
| |
* be more specific in verbose boot messages
* allow the feeder subsystem to veto pcm* attaching if there is an error
initialising the root feeder
* don't free/malloc a new tmpbuf when resizing a snd_dbuf to the same size as
it currently is
* store the feeder description in the feeder structure instead of mallocing
space for it
|
|
|
|
|
|
|
| |
extensively as none of my testboxes have speakers or an audio source at
present, but the chains built look correct and reading /dev/audio (ulaw,
translated from signed 16 bit little-endian) gives values within the
expected range for silence.
|
|
|
|
|
| |
it until it is fixed. this limits recording to native formats and speeds
only.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add new channels to the end of the list so channels used in order of
addition
* de-globalise definition of struct snddev_info and provide accessor
functions where necessary.
* move the $FreeBSD$ tag in each .c file into a macro and allow the
/dev/sndstat handler to display these when set to maximum verbosity to aid
debugging.
* allow each device to register its own sndstat handler to reduce the amount
of groping sndstat must do in foreign structs.
|
| |
|
|
|
|
| |
don't stop exploring the feeders if a feeder fails to initialise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this introduces a new buffering mechanism which results in dramatic
simplification of the channel manager.
as several structures have changed, we take the opportunity to move their
definitions into the source files where they are used, make them private and
de-typedef them.
the sound drivers are updated to use snd_setup_intr instead of
bus_setup_intr, and to comply with the de-typedefed structures.
the ac97, mixer and channel layers have been updated with finegrained
locking, as have some drivers- not all though. the rest will follow soon.
|
|
|
|
| |
kill the fake channel when unregistering
|
|
|
|
|
|
|
|
|
|
| |
this gives us several benefits, including:
* easier extensibility- new optional methods can be added to
ac97/mixer/channel classes without having to fixup every driver.
* forward compatibility for drivers, provided no new mandatory methods are
added.
|
|
|
|
|
| |
move format conversion feeders to feeder_fmt.c - no pertinent history so no
repo-copy.
|
|
|
|
| |
prefer feeder chains of length 1 over length 2
|
|
|
|
|
|
|
|
| |
modify driver capability reporting format to list every audio format
seperately- required for above and because we could not previously indicate
that mono was unsupported.
there should be no functional impact.
|
|
|
|
|
|
|
|
|
|
| |
drivers, so still work in progress.
do various mmap-related ioctls right.
improve blocksize control.
bits of cleanup.
|
|
|
|
|
|
|
|
|
| |
mutate some panics to kasserts
add more spl protection
PR: kern/14990
Partially Submitted by: Vladimir N.Silyaev <vns@delta.odessa.ua>
Reviewed by: dfr
|
| |
|
|
|
|
| |
should be a no-op in most cases.
|
| |
|
|
|
|
|
|
|
|
| |
will have to mknod yourself for now.
* don't eat the first write()
* partial rvplayer fix- don't panic on unaligned writes unless our
feeder chain requires them for downconversion. a fuller fix is
on the way.
|
| |
|
| |
|
|
to compile successfully. further details will be provided in the commit
enabling newpcm.
|