Mike Brady
54d761ff7d
Clean up some of the wording and layout of the configuration file
...
Clean up and improve the way lead-in sillence is used to give a more accurate sync time to the first packet of audio.
Allow very good sync to occur with 0.3 seconds of lead-in silence.
Improve the use of the buffer offset.
Format some other files.
2020-05-18 16:55:09 +01:00
Mike Brady
4c6b0e83c5
Remove some unwanted and unused variable declarations from audio_dummy.c and audio_soundio.c
2020-02-18 16:25:28 +00:00
Mike Brady
c8b0be30b4
find . \( -name \*.cpp -or -name \*.h -or -name \*.c \) -exec clang-format -i -style='{BasedOnStyle: llvm, IndentWidth: 2, ColumnLimit: 100}' '{}' \;
2019-06-19 19:06:54 +01:00
Mike Brady
83c0405d03
Add automatic bit depth and speed selection for alsa devices. Set rate and format to "auto" by default. Always look for the greatest bit depth, but the lowest multiple of 44,100.
...
Improve support for big-endian CPUs by adding support for explicit -endian formats, i.e. S16_LE, S16_BE, S24_LE, S24_BE, S32_LE, S32_BE.
For the "disable_standby_mode" setting, change "while_active" to "auto".
2019-05-07 10:19:04 +01:00
Mike Brady
aa5698fce2
Remove the preflight call - don't seem to need it.
2019-01-27 15:53:36 +00:00
Mike Brady
2e4428538d
Add an "active" mode that can time out after a period -- 10 seconds by default -- after play ends.
2019-01-21 21:43:55 +00:00
Mike Brady
caf06c5aba
Add the idea of a preflight message to tell the backend that frames will be coming...
2019-01-07 17:34:50 +00:00
Mike Brady
8cabb16f25
Initial very rough attempt at a jackaudio backend.
2018-08-31 12:39:18 +01:00
Mike Brady
76c5dd9285
Stop using SIGUSR1 for cancelling threads, use pthread_cancel and friends instead, fix some memory leaks, add accurate ouput rate calculation to statistics, add "quit" verb to MPRIS and native d-bus interfaces. Probably still buggy.
2018-07-30 10:07:11 +01:00
Mike Brady
ea20840d6c
Make the play function return a status (ignored for the present). Clean up audio_alsa by removing all the die calls and placing the alsa_mutex calls in pthread cleanup routines.
2018-07-29 13:45:42 +01:00
Mike Brady
f1d4503431
Try to add proper cancellation code to all threads -- not complete, buggy.
2018-07-20 13:50:38 +01:00
Mike Brady
3fbd47ad05
Fix minor warnings from some of the backend modules and make the configure messages a little more helpful.
2018-05-18 15:22:20 +01:00
Mike Brady
0cd8a2ce90
Remove more causes of warnings at -Wextra levels
2018-03-07 22:05:11 +00:00
Mike Brady
f8518af7e0
Remove some more causes of warnings.
2018-03-07 19:22:18 +00:00
Mike Brady
e513e5330c
Tidy up source using clang-format
2017-07-31 11:57:57 +02:00
Mike Brady
b7864b4ecf
Move common audio backend settings like buffer size and offsets to the "general" settings stanza. Improve the resync code a little.
2017-07-21 12:29:03 +02:00
Mike Brady
cf29625d2c
Clang Format
2017-02-11 12:12:07 +00:00
shtirlic
71fc1a2c70
Initial support for libsoundio
2016-12-04 00:03:23 +02:00