| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
it to the *_open() functions. It's more flexible this way. No behaviour
change.
|
|
|
|
| |
review by millert, binary checking process with doug, concept with guenther
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
ok deraadt, guenther
|
|
|
|
|
| |
the the generic code, so it can be used by other back-ends as well.
No behavior change (hopefully).
|
|
|
|
|
|
|
| |
Use clock_gettime(CLOCK_MONOTONIC) instead of gettimeofday() when measuring
time intervals for debugging output.
ok ratchov@
|
|
|
|
| |
reset it and set par->appbufsz instead
|
| |
|
|
|
|
|
| |
as NULL has. This will (hopefully) simplify ports where the user
passes the device string.
|
|
|
|
|
| |
environment variable, so stop using the /dev/audio symlink which
can't be used by sndiod(1) anyway
|
|
|
|
| |
suggested by deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
single aucat instance to handle all audio and MIDI services. Since
this partially breaks compatibility, this is a opportunitiy to fix few
other design mistakes (eg ':' being used by inet6, type name vs api
name confusion, etc..). This leads to the following names:
type[@hostname][,unit]/devnum[.option]
The device number is the minor device number for direct hardware
access (ie the 'N' in /dev/audioN). For aucat, this is the occurence
number of the -f (or -M) option.
There's a compatibility hook to keep old names working if only one
aucat server is running.
|
|
|
|
| |
than a single one. No behaviour change
|
|
|
|
| |
calls to sio_<backend>_open(). No behaviour change
|
|
|
|
| |
device names
|
|
|
|
|
| |
code. This is simpler as long as not all backends use the same
default.
|
|
|
|
|
|
| |
with the server. As we're at it use the same protocol for midi and
audio. Now, both audio and midi code use the same SNDIO_DEBUG environment
variable to turn on/off DPRINTF's.
|
|
audio-related functions and put them in files named sio_<backend>.c
No behaviour changes.
|