Alexandre Ratchov
562ee176e9
Merge branch 'master' into mixer
2018-06-08 08:24:06 +02:00
Alexandre Ratchov
210da6b0cb
sndiod: simplify the resampling routine
2018-06-08 08:23:22 +02:00
Alexandre Ratchov
cf03f7423d
sndiod: move all conversions in dev_mix_badd() and dev_sub_bcopy()
...
The conversion chain processes exactly one block, so no need to
calculate & count the number of processed samples. This allows to move
the calls to processing routines in dev_mix_badd() and
dev_sub_bcopy(), which is much simpler. No behaviour change.
2018-06-08 08:22:35 +02:00
Alexandre Ratchov
c1c20ce974
Merge branch 'master' into mixer
2018-03-18 14:39:00 +01:00
Alexandre Ratchov
27da5245d0
sndiod: use CLOCK_UPTIME when available
2018-03-18 14:38:27 +01:00
Alexandre Ratchov
d3be2d30ca
Merge branch 'master' into mixer
2018-03-02 07:45:18 +01:00
Alexandre Ratchov
220e7731bc
oss: use integer arithmetic to scale volume.
2018-03-02 07:42:53 +01:00
Alexandre Ratchov
f1cd80bb72
oss: add support for sio_setvol().
...
From Tobias Kortkamp <tobik@FreeBSD.org>, thanks.
2018-03-02 07:32:49 +01:00
Tobias Kortkamp
31cfb9b6dc
Support rsnd/default for opening the default device
2018-03-02 07:21:41 +01:00
Alexandre Ratchov
03799aab3f
Merge branch 'master' into mixer
2018-02-23 18:19:17 +01:00
Tobias Kortkamp
6b35921d2b
sio_oss.c: Add missing audio_buf_info
2018-02-01 11:33:42 +01:00
Alexandre Ratchov
1024ccde8b
Handle par->le, par->msb, par->sig as booleans in sio_oss_setpar().
...
From Tobias Kortkamp <tobik@FreeBSD.org>. Thanks.
2018-01-15 18:32:02 +01:00
Alexandre Ratchov
a81ef2709a
Check if the device supports playing/recording.
...
From Tobias Kortkamp <tobik@FreeBSD.org>. Thanks.
2018-01-15 18:30:21 +01:00
Alexandre Ratchov
2de5100143
Enable OSS and use SONAME on FreeBSD.
...
From Tobias Kortkamp <tobik@FreeBSD.org>, thanks!
2018-01-15 18:26:10 +01:00
Alexandre Ratchov
6e1de49304
Merge branch 'master' into mixer
2018-01-12 08:32:16 +01:00
Alexandre Ratchov
f76d93d479
Unbreak SONAME on Linux, noticed by and help from Peter
...
Piwowarski <peterjpiwowarski at gmail.com>.
2018-01-11 21:57:37 +01:00
Alexandre Ratchov
1d7f175971
Merge branch 'master' into mixer
2018-01-10 16:52:51 +01:00
Alexandre Ratchov
ed5fe4d755
crank major, to match openbsd version
2018-01-10 16:52:36 +01:00
Alexandre Ratchov
527457fc5d
Many sndio.7 tweaks from Ingo
2018-01-10 16:45:02 +01:00
Alexandre Ratchov
ee3ef94d5a
sndiod: simplify client rate boundary checks
2017-11-30 15:10:02 +01:00
Alexandre Ratchov
3d5f9b2d4e
Merge branch 'master' into mixer
2017-11-23 07:33:11 +01:00
Alexandre Ratchov
99357b1841
aucat: remove useless variable assignments in .au header parsing code.
...
From Michael W. Bombardieri, thanks.
2017-11-23 07:32:25 +01:00
Alexandre Ratchov
53d8a7a9f9
Merge branch 'master' into mixer
2017-11-23 07:16:36 +01:00
Alexandre Ratchov
8b24905d2c
sndiod: fix slot leak when device mode doesn't match slot mode
2017-11-23 07:13:49 +01:00
Alexandre Ratchov
ff2f89680e
Merge branch 'mixer' of ssh://moule/~alex/git/sndio into mixer
2017-11-23 07:09:09 +01:00
Alexandre Ratchov
3aa86a18e3
expose siomix_sun_{getfd,fdopen}
2017-11-13 07:24:56 +01:00
Alexandre Ratchov
a4dee36869
Merge branch 'master' into mixer
2017-11-13 07:16:39 +01:00
Alexandre Ratchov
a34e39a16b
Merge branch 'master' into mixer
2017-11-11 18:49:06 +01:00
Alexandre Ratchov
3d6b602fe9
use /dev/urandom by default
2017-11-11 13:04:46 +01:00
Alexandre Ratchov
40da2ff2b7
Merge branch 'master' into mixer
2017-11-07 12:41:34 +01:00
Alexandre Ratchov
bb63198e8b
prefill with silence the buffer when cmap_copy() stores samples
...
rather than the slot/client buffer. Fixes initialized data being
treated as recorded samples when resampling and/or format
conversions are involved.
2017-11-07 12:26:46 +01:00
Alexandre Ratchov
81d171003b
Merge branch 'master' into mixer
2017-11-04 10:41:04 +01:00
Alexandre Ratchov
c0767fd171
call _sndio_debug_init() in mio_rmidi_getfd()
2017-11-04 10:40:00 +01:00
Alexandre Ratchov
053efb5710
no need to check if pointer passed to free() is NULL
2017-11-04 10:38:01 +01:00
Alexandre Ratchov
93b9e03596
expose *_getfd() and *_fdopen() prototypes
2017-11-04 09:35:05 +01:00
Alexandre Ratchov
0663b9b2b7
make mio_rmidi_getfd() non-static, missed in last commit
2017-11-04 09:34:30 +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
56f1183e78
add missing HISTORY; based on CVS logs and release announcements.
...
From schwarze@.
2017-11-04 09:09:56 +01:00
Alexandre Ratchov
752ac51f33
Merge branch 'master' into mixer
2017-11-04 08:58:52 +01:00
Alexandre Ratchov
b06285beda
Prefill with silence rec buffer.
...
This is necessary as certain channels may not receive samples,
for instance when mono->stereo conversion is disabled.
2017-11-03 16:10:48 +01:00
Alexandre Ratchov
944568234a
remove sndiod.service on distclean
2017-09-18 19:44:06 +02:00
Alexandre Ratchov
5e88de62ea
add sndiod.service file for systemd-based systems
2017-09-18 19:42:31 +02:00
Alexandre Ratchov
d0eda3c80a
add sndiod.service file for systemd-based systems
2017-09-18 19:40:44 +02:00
Alexandre Ratchov
7178903317
mixer: use (name, unit) couple for groups as well
2017-08-03 01:53:40 +02:00
Alexandre Ratchov
8c7d6cd46c
Merge branch 'master' into mixer
2017-07-20 12:50:56 +02:00
Alexandre Ratchov
0f5f91fae3
tweak RETURN VALUES, from jmc@
2017-07-20 12:50:12 +02:00
Alexandre Ratchov
98b2feaca0
Fix typos. From Michael W. Bombardieri <mb at ii.net>. Thanks!
2017-07-20 12:49:31 +02:00
Alexandre Ratchov
00a5bfe57a
Merge branch 'master' into mixer
2017-07-20 12:32:22 +02:00
Alexandre Ratchov
258faa30f7
Fix int overflow that causes >12hour files to not properly relocate.
2017-07-20 11:10:13 +02:00
Alexandre Ratchov
6ad32cca29
Print par.bps instead of par.bits in debug printf()
...
found by coverity.
2017-07-20 11:08:59 +02:00