Alexandre Ratchov
dbebd9982f
Fix typos, from Peter Piwowarski <peterjpiwowarski at gmail.com>
2015-08-13 17:37:45 +02:00
Alexandre Ratchov
29516de2c3
Use "Ev" macro for AUCAT_COOKIE environment variable. From Michael
...
Reed <m.reed at mykolab.com>. Thanks.
2015-08-01 12:31:36 +02:00
Alexandre Ratchov
5edf525314
switch to now AUDIO_GETPOS interface
2015-07-31 17:35:54 +02:00
Alexandre Ratchov
f4aff492a8
use single .so.min.maj link for .so
2015-07-15 10:37:46 +02:00
Alexandre Ratchov
07ee111086
readd soname with major, needed on linux
2015-07-09 17:13:01 +02:00
Alexandre Ratchov
72e727b865
drop soname
2015-07-08 17:59:05 +02:00
Alexandre Ratchov
8468b9f0a0
rename grp->func
2015-06-04 06:12:38 +02:00
Alexandre Ratchov
33ad1a504d
fix missing brace mistake, from jsg@
2015-05-05 14:45:55 +02:00
Alexandre Ratchov
b3a8f99047
make the label use chan1 as parameter
2015-03-12 08:20:23 +01:00
Alexandre Ratchov
0c4e64484d
append _in _out to mic/spkr/hp/... only
2015-03-06 10:39:51 +01:00
Alexandre Ratchov
99ca91c6b3
suffix stream names with -in, -out, -rec
2015-03-06 08:53:40 +01:00
Alexandre Ratchov
905c319315
use strings rather than channel numbers
2015-03-05 10:12:34 +01:00
Alexandre Ratchov
4717cf976d
include limits.h and unbreak build
2015-02-25 08:37:50 +01:00
Alexandre Ratchov
52e645e422
handle EINTR when reading /dev/urandom
2015-02-16 18:56:30 +01:00
Alexandre Ratchov
98027ba688
use SOCK_CLOEXEC
2015-02-16 11:52:36 +01:00
Alexandre Ratchov
d27e0e138f
don't force poll to sleep at block boundaries
2015-01-19 18:22:42 +01:00
Alexandre Ratchov
b989e17c05
don't use openbsd-specific SOCK_CLOEXEC
2015-01-18 00:16:36 +01:00
Alexandre Ratchov
debf3b302c
stop using param.h, from deraadt@
2015-01-18 00:09:04 +01:00
Alexandre Ratchov
26400ac4de
set default xrun mode
2015-01-17 21:08:11 +01:00
Alexandre Ratchov
e36de0d10b
fix bsd-compat related warnings on linux
2014-12-29 12:55:43 +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
da8108f09a
add initial support for audio mixers, disabled by default
...
ok armani@
2014-07-16 12:05:01 +02:00
Alexandre Ratchov
dfa5df2eb5
add -I. to build with sndio.h in current dir
2014-05-13 09:38:00 +02:00
Alexandre Ratchov
0e0511c762
for alsa, POLL{IN,OUT} events mean that a block can be read or
...
written (not a byte as unix files expect). Use "tickets" counters that
are reset to hdl->par.round on each POLL{IN,OUT} event. Limit read()
and write() to one block to ensure poll is always called at block
boundaries.
2014-05-05 19:25:15 +02:00
Alexandre Ratchov
4709dcb282
simplify switch/case
2014-03-10 11:20:45 +01:00
Alexandre Ratchov
e9feeda8a2
nicer debug traces
2014-03-06 16:59:57 +01:00
Alexandre Ratchov
15739f2718
add "sndio" keyword to please "man -k"
2014-03-05 21:17:42 +01: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
d06df743db
Refresh current position before reading/writing data, to keep the
...
current position always consistent with read & write pointers.
2014-02-21 10:58:43 +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
d02745522d
backout latest
2014-02-15 21:56:05 +01:00
Alexandre Ratchov
3fe3b27ace
return actual rchan, rather requested one
2014-02-14 20:59:38 +01:00
Alexandre Ratchov
6cbde939dd
ensure that rpos <= cpos <= wpos
2014-02-14 15:15:13 +01:00
Alexandre Ratchov
e8fc261612
use save parameters instead of calling getpar()
2014-02-13 16:41:51 +01:00
Alexandre Ratchov
1161add0e8
use save parameters instead of calling getpar()
2014-02-13 16:39:42 +01:00
Alexandre Ratchov
7fbbfab94a
remove unused
2014-02-13 16:36:56 +01:00
Alexandre Ratchov
05c5ae3c6a
handle xrun if xfers are not frame-aligned
2014-02-13 15:11:33 +01:00
Alexandre Ratchov
9fc928011a
set rbpf/wbpf to 1 if not used to avoid SIGFPE
2014-02-13 15:10:56 +01:00
Alexandre Ratchov
262541f176
remove unused
2014-02-13 13:05:37 +01:00
Alexandre Ratchov
7a9ad77510
use relative read/write positions for debug printfs
2014-02-13 13:04:02 +01:00
Alexandre Ratchov
002a501b9f
cleanup tags, from schwarze@
2014-01-27 13:16:23 +01:00
Alexandre Ratchov
a49e6f5991
clarify sio_stop() and friends
2013-12-27 13:20:04 +01:00
Alexandre Ratchov
f4f0b9e7b7
- replace "audio stream" by "audio device", as sndio is a device
...
abstraction
- remove useless statements.
2013-12-22 02:22:00 +01:00
Alexandre Ratchov
dd2c5a2816
set rec params before play params
2013-12-11 13:35:28 +01:00
Alexandre Ratchov
496c443bca
log errors only if SNDIO_DEBUG=1
2013-12-10 20:23:11 +01:00
Alexandre Ratchov
b22be8340a
log only errors if SNDIO_DEBUG=1
2013-12-10 20:14:48 +01:00
Alexandre Ratchov
e8221ec396
handle partial samples in alsa
2013-12-10 08:43:45 +01:00
Alexandre Ratchov
90db576827
implement getcaps for alsa
2013-11-28 18:47:07 +01:00
Alexandre Ratchov
305695dee8
bump major
2013-11-26 19:45:01 +01:00
Alexandre Ratchov
c0b2a1da07
drop comment
2013-11-22 12:09:43 +01:00
Alexandre Ratchov
b1c417ab04
add prototypes
2013-11-18 17:50:04 +01:00
Alexandre Ratchov
def3c30515
forgotten s/sndio_debug/_sndio_debug, from Christian Neukirchen,
...
thanks!
2013-11-15 08:35:11 +01:00
Alexandre Ratchov
f4e64d573c
spacing
2013-11-14 19:34:11 +01:00
Alexandre Ratchov
abfcc198af
sync to openbsd
2013-11-14 14:07:20 +01:00
Alexandre Ratchov
3254773ea9
remove only files we generate
2013-11-12 09:51:47 +01:00
Alexandre Ratchov
686dd7065e
cleanup namespace
2013-11-12 09:49:28 +01:00
Alexandre Ratchov
73396a2106
crank major, as openbsd did
2013-08-27 08:08:59 +02:00
Alexandre Ratchov
5419334f1e
align comments
2013-08-09 13:08:06 +02:00
Alexandre Ratchov
2bbe227870
use .In for includes, remove FILES sections
2013-08-09 12:08:34 +02:00
Alexandre Ratchov
6c33ab75ef
fix play vs rec parameters confision
2013-06-03 16:15:56 +02:00
Alexandre Ratchov
6be37c42ee
style
2013-06-03 15:48:01 +02:00
Alexandre Ratchov
9ba5076846
drop forgotten debug printf
2013-06-03 13:53:37 +02:00
Alexandre Ratchov
bd681ab72d
handle poll revents before state changes may occur
2013-06-03 12:55:22 +02:00
Alexandre Ratchov
83cf9a6eb7
fix & reorganize few traces
2013-05-14 11:45:19 +02:00
Alexandre Ratchov
05834decf0
less traces
2013-05-14 11:42:32 +02:00
Alexandre Ratchov
bd09b46d73
fix samples vs bytes confusion in xrun code-path
2013-05-09 18:03:40 +02:00
Alexandre Ratchov
aea7519d93
tabify
2013-04-15 10:42:51 +02:00
Alexandre Ratchov
b5f32675fc
explain what "default" means in sndio.7
2013-04-12 16:24:59 +02:00
Alexandre Ratchov
8748c853c2
move wsil/rdrop code in sio.c
2013-04-12 16:14:53 +02:00
Alexandre Ratchov
92bec779c0
better debug traces
2013-04-04 16:07:14 +02:00
Alexandre Ratchov
53f43d4df8
typo in comment
2013-04-04 16:01:44 +02:00
Alexandre Ratchov
8e377687b9
fix premature onmove() call-backs
2013-03-19 19:43:49 +01:00
Alexandre Ratchov
ca804a9ffe
log successful connections if debug enabled
2013-03-04 08:59:49 +01:00
Alexandre Ratchov
07bb2c0c95
subdevice -> sub-device
2013-01-06 19:14:55 +01:00
Alexandre Ratchov
2d63cee93c
factor hw parameters setup
2012-11-13 15:08:28 +01:00
Alexandre Ratchov
e77cefa34a
pick a know format, if the requested one is not supported
2012-11-12 19:41:46 +01:00
Alexandre Ratchov
589cf9599a
dont put xrun counters under #ifdef DEBUG
2012-11-08 20:07:51 +01:00
Alexandre Ratchov
2d4a336e1d
rework xrun recovery code
2012-11-08 16:58:46 +01:00
Alexandre Ratchov
a3a868da74
prime buffers with silence; make flow control start with zero
...
maxwrite
2012-11-07 08:48:35 +01:00
Alexandre Ratchov
d6cb8d427d
add bits for midi/N style port names
2012-11-06 20:52:40 +01:00
Alexandre Ratchov
718a891d31
fix clock ticks arithmetics
2012-10-30 08:19:25 +01:00
Alexandre Ratchov
26bf90b89d
use gnu autoconf style HAVE_XXX macros
2012-10-29 18:08:36 +01:00
Alexandre Ratchov
a26dd8e520
remove wrong comment about wrong code
2012-10-27 15:02:44 +02:00
Alexandre Ratchov
fcc55272a8
hide alsa defs if USA_ALSA is not defined
2012-10-27 14:11:23 +02:00
Alexandre Ratchov
5681bf83e2
backout debug traces additions
2012-10-27 10:53:27 +02:00
Alexandre Ratchov
4b0c3775f1
crank SIO_MAXNFDS
2012-10-26 18:53:30 +02:00
Alexandre Ratchov
1c240e397d
snd_pcm_poll_descriptors_count is not reliable use SIO_MAXNFDS
2012-10-26 18:50:09 +02:00
Alexandre Ratchov
1e60e2e649
add mio_alsa
2012-10-26 18:11:15 +02:00
Alexandre Ratchov
f7a1b42dce
user netinet/inet.h rather than arpa/inet.h
2012-10-26 16:58:55 +02:00
Alexandre Ratchov
e750088847
fix bufsz arithmetic
2012-10-26 15:29:12 +02:00
Alexandre Ratchov
532c615895
use snd_pcm_poll_descriptors_count at initialisation
2012-10-26 15:01:04 +02:00
Alexandre Ratchov
80a52c9600
add alsa rawmidi support
2012-10-26 14:30:48 +02:00
Alexandre Ratchov
9f6bcbbc0e
rmidi is not blocking as well
2012-10-26 10:55:57 +02:00
Alexandre Ratchov
ea0d66a62d
add explicit flow control in the protocol and use it for both midi and audio
2012-10-24 12:45:13 +02:00
Alexandre Ratchov
3a6bc9af60
rearrange debug traces
2012-10-24 10:31:19 +02:00
Alexandre Ratchov
8ca941be6f
handle both EPIPE and ESTRPIPE
2012-10-17 22:43:01 +02:00
Alexandre Ratchov
aecccdb36f
use int for nfds
2012-10-06 12:25:25 +02:00
Alexandre Ratchov
bde184cd77
save fifo pointers for debug purposes
2012-10-05 21:27:11 +02:00
Alexandre Ratchov
8a85df2977
tweak debug traces
2012-10-05 20:42:52 +02:00
Alexandre Ratchov
c52770bd18
make debug level 1 less verbose
2012-10-05 19:37:47 +02:00
Alexandre Ratchov
37c1d89c64
use max(idelta, odelta) as clock reference
2012-10-05 19:35:31 +02:00
Alexandre Ratchov
c257a68d18
ensure there are at least two periods
2012-10-05 18:15:58 +02:00
Alexandre Ratchov
9c73c409dc
poll only bits set by sio_pollfd
2012-10-05 18:03:13 +02:00
Alexandre Ratchov
8d3f1fbe70
poll the right number of descriptors
2012-10-05 17:07:18 +02:00
Alexandre Ratchov
2630880acc
handle rec xruns as well
2012-10-04 19:22:15 +02:00
Alexandre Ratchov
8961afb69e
include arpa/inet.h to get byte order routines
2012-10-04 15:24:43 +02:00
Alexandre Ratchov
a3a786b16e
handle xruns
2012-10-04 15:24:08 +02:00
Alexandre Ratchov
8c5a080731
dont dump stream state if debugging isn't enabled
2012-09-27 10:40:11 +02:00
Alexandre Ratchov
f0f8c69cac
hide some debug info
2012-09-26 22:33:37 +02:00
Alexandre Ratchov
b7f6f22883
Misc. alsa fixes:
...
- use alsa start threshold rather filling manually play buffers
- remove unused code, cleanup error messages
- fix buffer size calculations
- align period size to 32 to workaround strange alsa behavior
- force buffer size to be multiple of the period size
2012-09-26 22:32:28 +02:00
Alexandre Ratchov
3b6cdd213a
crank max descriptors to 8
2012-09-26 22:23:05 +02:00
Alexandre Ratchov
f997f10b0e
fix interface to poll(2)
2012-09-20 11:00:31 +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
25e3fe8839
remove wsil() and rdrop()
2012-09-05 10:05:48 +02:00
Alexandre Ratchov
9ca454512a
align writes to block size
2012-09-02 16:41:27 +02:00
Alexandre Ratchov
759c751cfd
include types.h rather that param.h, use unsigned for magic
2012-08-30 10:06:09 +02:00
Alexandre Ratchov
6c0895ba37
alsa has no volume knob
2012-05-29 18:59:39 +02:00
Alexandre Ratchov
16a36fa53e
make "default" a valid device name
2012-05-23 21:26:54 +02:00
Alexandre Ratchov
7f08f4d1fd
dont use the symlink
2012-05-10 11:08:05 +02:00
Alexandre Ratchov
1247c187a7
s/unsigned/unsigned int/g, requested by deraadt
2012-04-11 09:21:29 +02:00
Alexandre Ratchov
f1b72a401e
tweaks from jmc
2012-03-22 09:39:06 +01:00
Alexandre Ratchov
0e45cc33c4
s/transfered/transferred, from tobiasu
2012-03-22 09:38:14 +01:00
Alexandre Ratchov
073a090888
move server specific bits into new sndiod daemon
2011-12-09 23:49:26 +01:00
Alexandre Ratchov
1b0a15aba0
better parsetype routine
2011-11-11 10:41:18 +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
4e44c01026
tweaks from jmc
2011-11-09 09:35:18 +01:00
Alexandre Ratchov
d41324905f
re-add forgotten argument to .Xr
2011-11-08 20:13:39 +01:00
Alexandre Ratchov
c8f20fb97f
make devnum mandatory
2011-11-08 09:32:00 +01:00
Alexandre Ratchov
d0bc800ea8
unbreak alsa
2011-11-03 13:23:17 +01:00
Alexandre Ratchov
17743923b8
merge obsd man page changes
2011-11-01 18:01:52 +01:00
Alexandre Ratchov
1d71c4a2fa
stop using and duplicating ISSEP() macro
2011-11-01 17:30:39 +01:00
Alexandre Ratchov
33d6a705fd
factor device name parsing code
2011-11-01 16:56:37 +01:00
Alexandre Ratchov
e4ef0dc8d9
switch to type@hostname,unit/num.opt device names
2011-11-01 13:02:13 +01:00
Alexandre Ratchov
dc2884ed7d
Don't attempt to send data not available for sending yet. Analysed
...
and fixed by Remco <remco at d-compu.dyndns.org>, thanks!
2011-10-22 16:29:20 +02:00
Alexandre Ratchov
8c514d82b6
remove midicat
2011-10-18 00:29:58 +02:00
Alexandre Ratchov
edb571c12e
tweaks from jmc
2011-10-05 14:06:44 +02:00
Alexandre Ratchov
979c909719
handle EINTR returned by connect()
2011-10-05 13:12:21 +02:00
Alexandre Ratchov
8a01f1f248
remove unused vars
2011-06-30 00:43:27 +02:00
Alexandre Ratchov
9429404049
one midicat server can export multiple midithru ports
2011-06-03 20:58:04 +02:00
Alexandre Ratchov
1b055c6da6
don't forget to send the initial clock tick
2011-06-03 20:14:07 +02:00
Alexandre Ratchov
2f94e45ccd
add random_bytes() function, used when arc4random() is not available
2011-05-23 13:40:50 +02:00
Alexandre Ratchov
1b9b1c16b8
decrease SIO_MAXNFDS to what alsa needs
2011-05-09 19:29:04 +02:00
Alexandre Ratchov
6b44a56017
use "period event" for recording
...
allocate paramters on the stack in sio_alsa_setpar()
2011-05-07 19:56:25 +02:00
Alexandre Ratchov
67ac528d10
handle EAGAIN, link in sio_start() and unlink in sio_stop()
2011-05-07 01:32:20 +02:00
Alexandre Ratchov
c7fa24cb75
handle the case nfds > 1
2011-05-06 20:04:34 +02:00
Alexandre Ratchov
8e920de252
link the .so file with -lasound, otherwise we get the
...
wrong alsa library
2011-05-06 19:15:16 +02:00
Alexandre Ratchov
8e25c4c95f
include "bsd-compat.h" unconditionally
2011-05-06 14:11:18 +02:00
Alexandre Ratchov
5f53917840
remove getpeereid
2011-05-06 13:12:01 +02:00
Alexandre Ratchov
8d6ff70519
connect to the build strlcat
2011-05-06 12:48:47 +02:00
Alexandre Ratchov
9e553c03a8
import strlcat
2011-05-06 12:47:34 +02:00
Alexandre Ratchov
6a44b85b6c
verify prefix length
2011-05-06 12:17:33 +02:00
Alexandre Ratchov
32be87eead
make the code shorter: use an array of backend structures and
...
iterate over it rather than inlining calls to sio_<backend>_open
2011-05-06 12:14:48 +02:00
Alexandre Ratchov
681cac6593
don't read past the cookie end
2011-05-06 12:12:25 +02:00
Alexandre Ratchov
190f1913a1
drop support for lagacy device names
2011-05-04 09:14:43 +02:00
Alexandre Ratchov
7c836dac01
move default device handling in backend code
2011-05-03 22:07:30 +02:00
Alexandre Ratchov
11699e1db3
rename "hw" -> "alsa"
2011-05-03 21:50:54 +02:00
Alexandre Ratchov
ceeca19277
remove unused defs (recommit)
2011-05-01 15:39:29 +02:00
Alexandre Ratchov
134bc5d779
convert messages headers to network byte order to allow
...
client and server with different byte orders to work
2011-05-01 15:29:56 +02:00
Alexandre Ratchov
32a1e3d36e
use TCP_NODELAY
2011-04-28 08:10:14 +02:00
Alexandre Ratchov
a583ebc5d9
simplify conditionals in aucat_mkcookie()
2011-04-28 01:31:15 +02:00
Alexandre Ratchov
cc099911f6
sort macros
2011-04-28 00:57:59 +02:00
Alexandre Ratchov
5fdf55ede7
move amsg.h on libsndio side
2011-04-28 00:25:20 +02:00
Alexandre Ratchov
d12861225f
use mkstemp() and arc4random() to generate cookie
2011-04-28 00:15:11 +02:00
Alexandre Ratchov
8d0497a37b
sort env variables, rephrase. From jmc@
2011-04-27 21:17:27 +02:00
Alexandre Ratchov
2e3fe03333
test cookie perms
2011-04-27 09:45:58 +02:00
Alexandre Ratchov
369b2b9faf
unbreak midi
2011-04-19 01:52:03 +02:00
Alexandre Ratchov
787883791f
don't mention arc4random
2011-04-18 15:50:25 +02:00
Alexandre Ratchov
9c6c106593
dont include file.h twice
2011-04-18 15:38:48 +02:00
Alexandre Ratchov
25d5fa236a
polish man pages
2011-04-18 15:17:04 +02:00
Alexandre Ratchov
3f1215502b
add TCP transport
2011-04-18 12:14:27 +02:00
Alexandre Ratchov
2b7b6ed7c6
unbreak build
2011-04-18 11:23:16 +02:00
Alexandre Ratchov
0663ca6f54
use a cookie for authentication
2011-04-16 18:30:24 +02:00
Alexandre Ratchov
2a4059ae60
use "aucatN" for aucat(1) socket path and "midicatN" for midicat(1),
...
no need to increase entropy by inventing new names.
use AUCAT_PATH and MIDICAT_PATH macros instead of hardcoded strings
2011-04-16 14:52:43 +02:00
Alexandre Ratchov
621bd84067
remove aucat(1) and midicat(1) socket paths from the FILES sections.
...
Besides being wrong, they are part of sndio internals and don't need
to be exposed in such a high level man page.
2011-04-16 14:31:52 +02:00
Alexandre Ratchov
fe6209ee49
stop using and remove AMSG_GETCAP message
2011-04-16 13:18:06 +02:00
Alexandre Ratchov
313ba302a8
use common DPRINTF's for audio and midi code
2011-04-16 11:12:41 +02:00
Alexandre Ratchov
77a2cf5acb
use AMSG_DATA's for midi
2011-04-15 18:02:18 +02:00
Alexandre Ratchov
2bfcdf435b
add aucat_setfl() to set nbio flag
2011-04-12 23:50:05 +02:00
Alexandre Ratchov
7fa1603c83
Clean up function naming: use mio_<backend>_ prefix for private
...
midi-related functions and put them in files named mio_<backend>.c
No behaviour changes.
2011-04-12 11:24:49 +02:00
Alexandre Ratchov
5cad7e6688
remove unused {sio,mio}_hdl defs
2011-04-12 09:37:02 +02:00
Alexandre Ratchov
93c71ca1df
rename STATE_ macros
2011-04-12 09:34:22 +02:00
Alexandre Ratchov
936815ff03
put aucat protocol client code into a separate file, so it can
...
be used by both midi and audio backends (and other aucat backends
in the futur)
2011-04-12 09:30:40 +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
Alexandre Ratchov
7b9076e617
fix error handling, tweak parameter selection
2011-03-31 11:35:19 +02:00
Alexandre Ratchov
dadc1b872c
tweak previous;
...
from jmc@
2011-03-17 08:51:01 +01:00
Alexandre Ratchov
03297a7e6b
remove all .so files, handy for version bumps
2011-01-25 10:35:07 +01:00
Alexandre Ratchov
1abacc230b
sort object files to ease loader job
2010-11-10 14:53:44 +01:00
Alexandre Ratchov
e69fb2aab0
crank major
2010-11-01 14:52:20 +01:00
Alexandre Ratchov
0ba693c86d
remove sio_strtoenc and sio_enctostr
2010-10-30 14:46:11 +02:00
Alexandre Ratchov
286994d187
make sio_onvol() return an integer, 0 if the volume knob not available,
...
allowing the caller to setup a softvol layer
2010-10-25 09:45:16 +02:00
Alexandre Ratchov
fe5100700d
add forgotten "static"
2010-10-22 19:05:45 +02:00
Alexandre Ratchov
fa5a65f0d9
cleanup modes, no behaviour change
2010-09-29 15:54:32 +02:00
Alexandre Ratchov
d7e18f5097
don't try to get the current stream postion when the device is stopped,
...
and don't generate clock ticks (ie don't invoke the sio_onmove(3)
call-back).
2010-09-17 10:35:07 +02:00
Alexandre Ratchov
9870bef8b9
use ``0'' as default alsa device
2010-09-02 10:41:12 +02:00
Alexandre Ratchov
75acc22776
recommit max delta'' fix, backed out by mistake
2010-08-20 00:11:52 +02:00
Alexandre Ratchov
655364c586
remove cvs keyword from sndio.h to avoid conflicts
2010-08-19 23:53:46 +02:00
Alexandre Ratchov
a17607cf7a
add initial alsa support from jakemsr
2010-08-19 23:00:06 +02:00