Mike Brady
3d720d65bf
MQTT -- add code to deal with empty payloads by adding a dummy payload to empty messages by default.
2022-02-07 12:36:08 +00:00
Mike Brady
6ced6bc67d
Add a "mixer_control_index" setting to the "alsa" part of ther configuration file. A mixer is fully identified by a name and index, duh. Change some debug messages and add an entry to the sample configuration file.
2022-01-21 18:18:13 +01:00
Mike Brady
5617f40edd
Update the documentation a little.
2021-12-24 11:22:27 +00:00
Mike Brady
1997f16fba
Allow the airplay_device_id to be varied either by adding an offset or by replacing it completely.
2021-12-24 11:03:19 +00:00
Mike Brady
953ad8ac14
Move AP2 player termination code from handle_teardown into the player cleanup function so that cancelling the player thread cleans up properly.
2021-05-08 17:46:13 +01:00
Mike Brady
8de7f34611
fix typo
2021-03-27 14:20:22 +00:00
Mike Brady and GitHub
91adfedfd2
Update shairport-sync.conf
2021-03-07 11:18:56 +00:00
Mike Brady and GitHub
c5a3b438ff
Update shairport-sync.conf
2021-03-07 11:17:06 +00:00
Mike Brady
485e18db17
Add a default name for the pipe backend: /tmp/shairport-sync-audio
2020-09-11 17:31:55 +01:00
Mike Brady
f266e4c08b
Allow Shairport Sync native D-Bus and MPRIS services to be owned by root as well as user "shairport-sync"
2020-06-21 09:57:05 +01:00
Mike Brady
c0e5d0473e
Add the ability to direct logs etc. to a file or pipe.
2020-05-28 12:19:59 +01:00
Mike Brady
6406c296f5
Add setting to direct logs to syslog, STDERR or STDOUT
2020-05-27 16:21:35 +01:00
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
012dd26c77
Add the ability to set the silent lead-in parameters initial_period, minimum number of adjustments and adjustment interval, and give them sensible defaults.
2020-05-17 12:48:25 +01:00
Mike Brady
18749bc315
Add brief message about finding ALSA devices.
2020-05-16 12:49:00 +01:00
Mike Brady
a4edc649f8
Add code to do calculations involving the audio_backend_latency_offset_in_seconds and audio_backend_silent_lead_in_time settings correctly. Clean up the audio_backend_silent_lead_in_time setting by adding an "auto" setting.
2020-05-16 12:23:08 +01:00
Guillaume Revaillot
aacc4e802b
Allow to specify pulseaudio server instead of using default one.
...
Add "server" entry to pa config section, allowing to connect to a remote or a local system
pulseaudio instance instead of letting pulseaudio choose.
2020-03-27 09:39:11 +01:00
Mike Brady
1b7e23c093
Add ability to set the missing DACP port scan interval.
2020-03-25 10:40:05 +00:00
Pieter De Gendt and Pieter De Gendt
32646f22e2
jack: Rename soxr "recipe" to "quality" and configurable buffer size
2019-12-23 09:10:08 +01:00
Mike Brady
e0ffb18dbf
Modify behaviour when receiving an invalid RTSP packet to be the same as a genuine AirPort Express, but time out after two minutes anyway. Also move the retain_artwork flag to diagnostics.
2019-10-26 16:11:54 +01:00
Mike Brady and GitHub
9745d794c9
Update shairport-sync.conf
2019-10-24 10:35:27 +01:00
Mike Brady
6c57ce97d5
Add two cover_art control settings -- the cache directory to use, (or the empty string to prevent caching) and a flag to retain all art work
2019-10-20 15:43:31 +01:00
Mike Brady
686fc2a5c1
Add missing frame status field, fix a bug with the first missing frame variable, expose the settings for resending, remove some commented out code.
2019-10-10 09:23:20 +01:00
Mike Brady
db8f10cfa1
add the option (normally on) of including the file name and line number of the originrating message in a debug log message
2019-09-17 12:14:55 +01:00
Chris Boot
b9cf91b2bb
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
2019-07-27 00:05:38 -03:00
Mike Brady
a8faacd3fc
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.
2019-06-20 10:45:27 +01:00
Mike Brady and GitHub
7fc977d8d3
Change comments for use_precision_timing
2019-06-17 22:44:12 +01:00
Mike Brady
76ad4e6a73
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.
2019-05-29 16:00:47 +01:00
David Crook
19fbededcf
mqtt port config changes
...
1. update example shairport-sync.conf file
2. update config file mqtt port parsing
Signed-off-by: David Crook <idcrook@users.noreply.github.com >
2019-05-25 13:01:22 -06:00
Mike Brady
d9168f4aa7
remove a strncpy truncation warning
...
update a timing setting in the settings file
list the alsa hardware devices in the -h message
2019-05-17 10:43: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
1d32976d07
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.
2019-05-01 11:01:15 +01:00
Mike Brady
9aa8f91c0e
Add a new interpolation setting -- "auto" which will choose soxr if supported and the soxr delay is less or equal to the threshold of 30 (milliseconds).
2019-04-16 16:40:56 +01:00
Mike Brady
16235071ee
Default to "basic" stuffing even if soxr support is included.
2019-04-15 11:13:51 +01:00
Mike Brady
986f2fb4bd
hook up the alsa "use_precision_timing" option and update the sample conf file.
2019-04-09 11:06:52 +01:00
Mike Brady
6d088ac4d9
reinstate the development branch README.md, stop including libdaemon automatically, improve some erro messages concerning -k / -d options.
2019-04-05 16:21:58 +01:00
Mike Brady
178af21dab
Make soxr, metadata and apple_alac defaults if support for them is included in the build configuration.
2019-03-08 21:19:48 +00:00
Mike Brady
89340f20c9
3.3 release candidate 0
2019-03-04 12:38:20 +00:00
Mike Brady
182c0a31a4
set default for disable standby to 'never'
2019-02-28 21:53:07 +00:00
Mike Brady
d2e1910fba
set active state timeout to 10 seconds. Enough for a YouTube movie switch -- 3 or 5 seconds doesn't seem to be enough.
2019-02-28 17:33:51 +00:00
Mike Brady
a98a7906de
set active state timeout to 3 seconds. Enough for a YouTube movie switch.
2019-02-28 15:05:32 +00:00
Mike Brady
41b584bd43
bring the active state timeout to 1 second and tidy up a few debug messages.
2019-02-28 14:48:41 +00:00
Mike Brady
623b9b4b9f
Add a CYGWIN installer.
2019-02-21 16:10:30 +00:00
Mike Brady and GitHub
ec84f0fd98
Merge pull request #809 from nettings/development
...
Modify audio_jack.c to use native jack lockless buffers and to offer auto connect facilities. Overall, the backend is now written more in the idiom of jack audio.
Many thanks to [Jörn Nettingsmeier](https://github.com/nettings ).
2019-02-19 11:12:03 +00:00
Mike Brady
00be8bc2a6
fix the ability to give attenation priority to hardware or software, set the default to software
2019-02-17 14:10:45 +00:00
Jörn Nettingsmeier
97370d8bce
Actually implement auto-connection, and document it.
2019-02-16 18:45:51 +00:00
Jörn Nettingsmeier
bd5cfd3583
forgot to add new option autoconnect_pattern to default conf and common.h
2019-02-16 16:08:40 +00:00
Jörn Nettingsmeier
95246dcd84
Use more conservative JACK client name (a simple token without whitespace).
2019-02-16 02:05:05 +00:00
Jörn Nettingsmeier
8c5e85c87c
Remove audio_client_disconnect option. This is not good behaviour for a JACK client, and adds nothing.
2019-02-15 23:14:31 +00:00
Jörn Nettingsmeier
edd699dfbc
Remove auto_client_open_interval option, always open JACK connection immediately or fail.
...
Remove client creation thread and wrapper function.
2019-02-15 23:08:04 +00:00