Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
ok miod@
|
|
case anymore.
Note that you can always override it from the command line if you need it.
after discussion with deraadt@ and tedu@
|
|
end of the buffer because periodic boundary conditions of the FIFO are
not met
ok jakemsr
|
|
The new dev_xxx() routines expose a "high level" self-contained
interface to the device. At initialization, the device is opened
and two chains of aproc structures are created:
* a playback chain that exposes a (initially) empty mix
aproc to which the rest of the code can attach new
streams to be played
* record chain that exposes a (initially) empty sub aproc
to which the rest of the code can attach new stream to
to record
The rest of the code, has just to use dev_attach() routine to
attach streams. While we're at it, add a ``devops'' structure
containing pointers to the device-specific routines. This will
allow later to add support for other type of device than the
Sun API.
Also, write the .wav headers in file_del(), so put all header
related data in the file strucuture. This allows to close() the
file, as soon as wpipe_xxx() aproc terminates. This will be
useful for the server, because it will need to close() descripts
of closed connections immediately.
add mix_pushzero() routine to fill the mixer with silence. It
will be used to avoid the mixer to underrun when there are no
input streams. Since we always have at least one input stream
there's no behaviour change.
ok jakemsr
|
|
hup() routines of the aproc strucure check that the aproc
structure has not desappeared. This never happens currently, but
will be allowed later. No behaviour change.
ok jakemsr
|
|
set, the mix aproc will exit once there are no more input
streams, similarly the sub aproc will exit once there are no
more ouput streams. If the flag is not set, the mix aproc will
generate silence, and the sub aproc will drop samples. By
default this flag is set, so no behaviour change.
ok jakemsr
|
|
bytes that entered the FIFO. The counter may overflow, so it
should be used with "modulo 2^32" arithmetic. The counter will
be used later to synchronize playback to record. No behaviour
change.
ok jakemsr
|
|
before free()ing the aproc structure, this is cleaner and will
allow to reuse wpipe_xxx() and rpipe_xxx() when defining new
aprocs. No behaviour change.
ok jakemsr
|
|
generic abuf structure, so it can reused. Required for an audio
server. No behaviour change.
ok jakemsr
|
|
abuf_rdiscard() routine. Similarly add abuf_wcommit() routine for
writing. The purpose is to stop manupulating FIFO pointers in
various places outiside abuf.c, its too error prone.
No behaviour change.
ok jakemsr
|
|
instead of crashing
ok kurt@
first observed by Jung <moorang at gmail.com>
|
|
unblocks the pthread_join() for this thread until the exiting thread is
completely done with its thread structure, as the joining thread will
free it once unblocked. Also, don't bother to call _sem_post() if the
thread is detached.
ok kurt@
|
|
structure, as the 'tid' member there is used by other parts of
librthread to determine whether the current thread is the initial thread
|
|
and not available at that time. Rewrite the hostname.if permission check
to use only /bin/ls and the shell. Requested by deraadt.
ok todd, "Twisted." deraadt
|
|
i'm here.
|
|
the two calls to drm_calloc() that had nmemb and size the wrong way
around.
|
|
softc into file_priv since otherwise the wrong value could rarely be
used.
|
|
available formats and resolutions of a device (e.g. "luvcview -L").
|
|
parameter, this makes things a little cleaner and removes the need to
pass in the softc for some functions.
|
|
done a little nicer.
Advice from deraadt@.
|
|
bit so we don't sleep with a spinlock.
ok djm@.
|
|
xserver only actually uses a small part of it nowadays.
Kill a few other dead bits from the drmP.h while i'm here.
|
|
UltraSPARC T2.
|
|
have a variable length. use LLC_SNAPFRAMELEN instead (which happen
to be equal to sizeof(struct llc)) as we only deal with LLC+SNAP
headers.
some indentation tweaks while i'm here.
no binary change.
|
|
fix a test on the mbuf length and one on the descriptor version.
remove redundant checking of GTK KDE length.
|
|
|
|
|
|
This "power saving" disables the apic when both cpu cores hit the hlt
instruction which kills our timer.
From FreeBSD.
(poked by kettenis)
|
|
|
|
This "power saving" disables the apic when both cpu cores hit the hlt
instruction which kills our timer.
From FreeBSD.
|
|
write feature. Add additional check for media type before blanking.
The patch fixes problem for Giovanni.
ok fgsch
|
|
SYNOPSIS and usage(); after some discussion with canacar
|
|
From FreeBSD
|
|
|
|
|
|
From FreeBSD
|
|
state with the newly minted link flag in the softc's rl_flags
field.
Tested by fkr@
|
|
having a drm driver, don't print when we fail to attach one.
stops the "drm at vga? not supported" spam people are seeing.
|
|
are just before an OpenBSD partition in a MBR; done with kettenis & otto
ok reyk
|
|
|
|
|
|
from MMIE etc...
this code can't be triggered as no drivers claim MFP capability yet.
|
|
|
|
|
|
more IEs.
|
|
|