Age | Commit message (Collapse) | Author |
|
checking for truncation every time we touch the string, simply allocate
a memory chunk large enough to store the full path.
|
|
of hardcoded strings. no object change.
|
|
|
|
|
|
strings. No object change.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
development of a cargo cult in case people look at existing files
for examples. This achieves a consistent .Fo and .Fn quoting style
across the whole tree.
|
|
Reed <m.reed at mykolab.com>. Thanks.
|
|
AUDIO_xERROR. It returns a snapshot of the counters we need
and avoids inconsistencies.
|
|
record side than on the play side. This almost never happens are record
buffer are much larger than play buffers.
|
|
As ratchov@ notes:
"all _aucat_wmsg() callers set hdl->wtodo, so your diff can't break
things that used to work by accident."
ok ratchov@
|
|
|
|
device names. Remove wrong comments.
|
|
review by millert, binary checking process with doug, concept with guenther
|
|
it at all, not even occasionally, because there is no sustainable
way (and even less any portable way) to maintain the list of library
names. Besides, without such a list, even the formatting looks bad.
OK jmc@ bentley@
|
|
by stu@, thanks!
|
|
for talking to aucat/sndiod
ok ratchov@
|
|
on it, simplifying error checking, reducing system calls, and improving
thread-safety for libraries.
ok miod@
|
|
ok ratchov@
|
|
|
|
usage as seen by the caller
- refresh current position before reading/writing data, to keep the
current position always consistent with read & write pointers
- fix confusion between processed samples by the hardware (as reported
by GET{I,O}OFFS) and samples played as reported by GETINFO(). Fixes
incorrect delta propagated after xruns in play-only and rec-only
modes
- don't wait for POLLIN or POLLOUT to be set to refresh ring pointers,
as they may not be set in certain cases. Fixes sndiod crash after
few days of continuous playback.
- save current parameters instead of calling getpar() too often
|
|
makes "man -k" happier.
ok jmc, schwarze
|
|
tweak and ok ratchov@, ok jmc@
|
|
frees the handle and not the opposite
- clarify that sio_close() and sio_stop() dont discard
samples in the play buffer.
suggested by Reimar Doeffinger <Reimar.Doeffinger at gmx.de>
ok jmc@
|
|
abstraction
- remove useless statements.
ok jmc@
|
|
|
|
|
|
suggested by deraadt
|
|
|
|
ok deraadt, guenther
|
|
ok ratchov
|
|
the the generic code, so it can be used by other back-ends as well.
No behavior change (hopefully).
|
|
members to 64bit types. Assign new syscall numbers for (almost
all) the syscalls that involve the affected types, including anything
with time_t, timeval, itimerval, timespec, rusage, dirent, stat,
or kevent arguments. Add a d_off member to struct dirent and replace
getdirentries() with getdents(), thus immensely simplifying and
accelerating telldir/seekdir. Build perl with -DBIG_TIME.
Bump the major on every single base library: the compat bits included
here are only good enough to make the transition; the T32 compat
option will be burned as soon as we've reached the new world are
are happy with the snapshots for all architectures.
DANGER: ABI incompatibility. Updating to this kernel requires extra
work or you won't be able to login: install a snapshot instead.
Much assistance in fixing userland issues from deraadt@ and tedu@
and build assistance from todd@ and otto@
|
|
any useful information
|
|
|
|
|
|
with tweaks from jmc
|
|
Use clock_gettime(CLOCK_MONOTONIC) instead of gettimeofday() when measuring
time intervals for debugging output.
ok ratchov@
|
|
|
|
reset it and set par->appbufsz instead
|
|
|
|
smaller and faster than aucat. It's a drop in replacement with the
following exceptions that don't affect the default setup:
- The sample rate and the encoding are a per-device parameters
thus -r and -e options must precede the corresponding -f option
- MIDI thru boxes are dynamically created and no -M option
is required anymore, so -M was removed.
- MIDI ports are exposed with a new ``midi/N'' name, rather
than abusing MIDI thru boxes.
with help from armani@, ok deraadt@
|
|
assuming it can send a full initial data buffer. This requires protocol
version bump (but no library version bump).
|
|
messages and enable flow control for MIDI. Since this requires protocol
version bump, both sndiod and libsndio must be kept up to date to work
together.
|
|
to make both look similar
|