| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
it to the *_open() functions. It's more flexible this way. No behaviour
change.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
with almost the same syntax (roughly an extra -M option).
Thru boxes are created with aucat, and corresponding MIDI port
names have the "aucat" prefix instead of "midithru". The old
device name will still work some time for backward compatibility.
ok deraadt
|
| |
|
|
|
|
|
| |
when the server and the client are not of the same endianness.
Found by naddy.
|
|
|
|
| |
protocol specific code. No behaviour change
|
|
|
|
| |
macros instead of hardcoded strings. No object change
|
|
|
|
|
| |
need to query the server for supported parameters. So stop using the
AMSG_GETCAP message, and remove it completely from the aucat protocol.
|
|
|
|
|
|
| |
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.
|