Chris Boot [Sat, 27 Jul 2019 03:05:38 +0000 (00:05 -0300)]
More typo fixes across the tree
Previously I have made spelling changes as caught by Debian's lintian
tool, which has a short list of common misspellings that it tests for.
This time I decided to run codespell against the source and fix all the
obvious problems it came up with. It also uses a list of misspellings
but it's much larger than lintian's, but also has some false positives
so I went over the list by hand.
The command I used to do check the source was:
git ls-tree -rz --name-only HEAD | xargs -0 codespell -L minimise,errorstring
Mike Brady [Sun, 21 Jul 2019 07:06:37 +0000 (09:06 +0200)]
Fix a bug that sometimes caused a crash when a service name was specified in the configuration file. The fix was to be more systematic in allocating and deallocating memory for termporary strings. Thanks to Chris Boot, Ari Sovijarvi and Jeroen Massar for the bug report. Fixes Debian Bug report #925577.
Allow the rtsp_listen_loop to exit if the RTSP port (usually port 5000) is not available. This allows the system to exit cleanly rather than abort.
Mike Brady [Thu, 20 Jun 2019 09:45:27 +0000 (10:45 +0100)]
Expose some of the settings used in the disable_standby_mode.
Specifically, firstly, the disable_standby_mode_silence_threshold, which is the
amount of audio in the output device's hardware buffer. It should normally
be close to the value givein in the audio_backend_buffer_desired_length_in_seconds
setting. If it drops to this value, silence is added to the buffer to prevent
the output device from becoming idle.
Secondly, the disable_standby_mode_silence_scan_interval is the time between checks
of the output device's hardware buffer.
The code for generating frames of possibly-dithered silence has been simplified.
Mike Brady [Wed, 5 Jun 2019 14:05:54 +0000 (15:05 +0100)]
*Bug Fixes*
* Fix a bug in the MQTT documentation and add sanity checking for the port chosen.
* Fix a bug that caused manual format and rate setting to be ignored.
* Add missing support for format settings S24_LE, S24_BE, S32_LE and S32_BE.
* Fix a bug that caused dither to be too loud.
* Fix error message for invalid standby mode choice.
enable specification of specific formats and/or speeds to turn off automatic format/speed selection, fixing a bug. Clarify some of the warnings. Fix a few typos in the configuration file sample.
Merge pull request #855 from idcrook/conf_mqtt_port
mqtt port config changes – fix error in the configuration file and check port number for sanity.
Many thanks, David. It'll find it's easy into the next release.
Mike Brady [Wed, 29 May 2019 15:00:47 +0000 (16:00 +0100)]
enable specification of specific formats and/or speeds to turn off automatic format/speed selection, fixing a bug. Clarify some of the warnings. Fix a few typos in the configuration file sample.
Mike Brady [Mon, 27 May 2019 08:30:57 +0000 (09:30 +0100)]
Merge pull request #855 from idcrook/conf_mqtt_port
mqtt port config changes – fix error in the configuration file and check port number for sanity.
Many thanks, David. It'll find it's easy into the next release.
Mike Brady [Sun, 12 May 2019 14:40:40 +0000 (15:40 +0100)]
Always use /etc/dbus-1/system.d for dbus policy documents in Linux, but continue to use the top-level directory path specified by the sysconfdir variable for *BSD
Mike Brady [Tue, 7 May 2019 09:35:32 +0000 (10:35 +0100)]
Automatic rate and speed selection for alsa output devices. Better support for big-endian CPUs. Change "while_active" setting for "auto" in "disable_standby_mode"
Mike Brady [Tue, 7 May 2019 09:12:09 +0000 (10:12 +0100)]
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".
Mike Brady [Wed, 1 May 2019 10:01:15 +0000 (11:01 +0100)]
Improve support for bigendian devices. Add support for S16_LE, S16_BE, S24_LE, S24_BE, S32_LE and S32_BE formats. Make the default S16_LE. Allow precision timing only on alsa devices with names beginning with "hw:". Use snd_pcm_hw_params_is_monotonic() to see if clock is monotonic.
Mike Brady [Sun, 21 Apr 2019 13:25:27 +0000 (14:25 +0100)]
Add "auto" to interpolation settings. Time a few soxr_oneshots to get a figure for soxr_delay_index. Add a soxr_delay_threshold and in auto mode, select soxr if delay is below threshold.