Tobias Kortkamp
|
31cfb9b6dc
|
Support rsnd/default for opening the default device
|
2018-03-02 07:21:41 +01:00 |
Alexandre Ratchov
|
7e19ef6644
|
Make *_getfd() and *_fdopen() public.
This allows pledged sndiod to build with the portable library.
|
2017-11-04 09:14:29 +01:00 |
Alexandre Ratchov
|
20a7e3c46e
|
switch back into using a single "filling" flag to determine
whether playback is started
|
2016-05-16 07:53:05 +02:00 |
Alexandre Ratchov
|
85c75911dc
|
switch to new obsd audio api
|
2016-03-16 07:48:13 +01:00 |
Alexandre Ratchov
|
b5a1760af3
|
unexpand tabs
|
2016-01-09 09:23:56 +01:00 |
Alexandre Ratchov
|
cbaa92d4d8
|
better debug mesg
|
2016-01-09 09:20:46 +01:00 |
Alexandre Ratchov
|
99cfc04004
|
fit code in 80 columns, remove traing spaces
|
2016-01-08 21:51:12 +01:00 |
Alexandre Ratchov
|
7530bbf6d2
|
Pass full device name to audio/midi backends.
|
2015-12-09 11:13:11 +01:00 |
Alexandre Ratchov
|
5d431d3616
|
Replace hard-coded strings with macros, replace PATH_MAX with actual
string length, validate audio and midi device numbers
|
2015-10-02 14:28:17 +02:00 |
Alexandre Ratchov
|
5edf525314
|
switch to now AUDIO_GETPOS interface
|
2015-07-31 17:35:54 +02:00 |
Alexandre Ratchov
|
26400ac4de
|
set default xrun mode
|
2015-01-17 21:08:11 +01:00 |
Alexandre Ratchov
|
7834cb2a56
|
drop support for ":" in device names
|
2014-11-18 10:31:18 +01:00 |
Alexandre Ratchov
|
6c83586b81
|
remove todo list (already done)
|
2014-11-18 10:26:45 +01:00 |
Alexandre Ratchov
|
b20e28a66e
|
merge from openbsd: typos, use of O_CLOEXEC, _sndio_debug fix
|
2014-08-19 16:05:29 +02:00 |
Alexandre Ratchov
|
cbecd3ea8d
|
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.
|
2014-03-04 23:24:52 +01:00 |
Alexandre Ratchov
|
c9d4272377
|
Don't wait for POLLIN or POLLOUT to be set to refresh ring pointers,
as they may not be set in certain cases
|
2014-02-21 10:55:30 +01:00 |
Alexandre Ratchov
|
e8fc261612
|
use save parameters instead of calling getpar()
|
2014-02-13 16:41:51 +01:00 |
Alexandre Ratchov
|
496c443bca
|
log errors only if SNDIO_DEBUG=1
|
2013-12-10 20:23:11 +01:00 |
Alexandre Ratchov
|
686dd7065e
|
cleanup namespace
|
2013-11-12 09:49:28 +01:00 |
Alexandre Ratchov
|
83cf9a6eb7
|
fix & reorganize few traces
|
2013-05-14 11:45:19 +02:00 |
Alexandre Ratchov
|
bd09b46d73
|
fix samples vs bytes confusion in xrun code-path
|
2013-05-09 18:03:40 +02:00 |
Alexandre Ratchov
|
8748c853c2
|
move wsil/rdrop code in sio.c
|
2013-04-12 16:14:53 +02:00 |
Alexandre Ratchov
|
5681bf83e2
|
backout debug traces additions
|
2012-10-27 10:53:27 +02:00 |
Alexandre Ratchov
|
bde184cd77
|
save fifo pointers for debug purposes
|
2012-10-05 21:27:11 +02:00 |
Alexandre Ratchov
|
e451d47880
|
Don't read the xrun counter before the offset in the audio ring,
otherwise we'd open a tiny time window during which a xrun may occur
in turn making the sio_onmove() clock wrong during one tick.
|
2012-09-15 01:35:39 +02:00 |
Alexandre Ratchov
|
1247c187a7
|
s/unsigned/unsigned int/g, requested by deraadt
|
2012-04-11 09:21:29 +02:00 |
Alexandre Ratchov
|
0e45cc33c4
|
s/transfered/transferred, from tobiasu
|
2012-03-22 09:38:14 +01:00 |
Alexandre Ratchov
|
96f647d64d
|
strncmp() can't be used to parse device type, add our own routine
|
2011-11-10 10:43:31 +01:00 |
Alexandre Ratchov
|
e4ef0dc8d9
|
switch to type@hostname,unit/num.opt device names
|
2011-11-01 13:02:13 +01:00 |
Alexandre Ratchov
|
8e25c4c95f
|
include "bsd-compat.h" unconditionally
|
2011-05-06 14:11:18 +02:00 |
Alexandre Ratchov
|
7c836dac01
|
move default device handling in backend code
|
2011-05-03 22:07:30 +02:00 |
Alexandre Ratchov
|
313ba302a8
|
use common DPRINTF's for audio and midi code
|
2011-04-16 11:12:41 +02:00 |
Alexandre Ratchov
|
c446e8d141
|
add sio_<backend>_nfds() method
|
2011-03-31 13:08:07 +02:00 |
Alexandre Ratchov
|
2873ad8ad2
|
fix stupid functions names and file names, no binary change
|
2011-03-31 11:52:54 +02:00 |