Commit Graph
168 Commits
Author SHA1 Message Date
Mike Brady 1704916a47 Squashed commit of the following:
commit 85fae473bb
Merge: bf91d35 854942d
Author: Mike Brady <mikebrady@eircom.net>
Date:   Tue Jun 4 22:15:37 2019 +0100

    Merge pull request #860 from joerg-krause/patch-2

    Debug requested period size value

commit 854942df92
Author: Jörg Krause <joerg.krause@embedded.rocks>
Date:   Tue Jun 4 20:47:43 2019 +0200

    Debug requested period size value

commit bf91d35bfb
Author: Mike Brady <mikebrady@eircom.net>
Date:   Tue Jun 4 15:33:30 2019 +0100

    Update RELEASENOTES-DEVELOPMENT.md

commit 3ca3408255
Author: Mike Brady <mikebrady@eircom.net>
Date:   Tue Jun 4 15:32:10 2019 +0100

    Fix error message for invalid standby mode choice

commit 4bafe1c982
Author: Mike Brady <mikebrady@eircom.net>
Date:   Mon Jun 3 10:03:54 2019 +0100

    quieten a compilation warning

commit 9d96906402
Author: Mike Brady <mikebrady@eircom.net>
Date:   Sun Jun 2 18:05:40 2019 +0100

    Update configure.ac

commit 0c5c4bfe3f
Author: Mike Brady <mikebrady@eircom.net>
Date:   Sun Jun 2 18:04:51 2019 +0100

    Update RELEASENOTES-DEVELOPMENT.md

commit 85cc1bdd97
Author: Mike Brady <mikebrady@eircom.net>
Date:   Sun Jun 2 17:56:47 2019 +0100

    Fix the dither calculation -- it was 12 dB too high, really noticable on the U8 setting.

commit 25f0fbc24d
Author: Mike Brady <mikebrady@eircom.net>
Date:   Sun Jun 2 13:42:19 2019 +0100

    Update INSTALL.md

commit d91e41d976
Author: Mike Brady <mikebrady@eircom.net>
Date:   Wed May 29 17:26:44 2019 +0100

    Add missing support for S32_LE, S32_BE, S24_LE and S24_LE formats.

commit 7f2e6b1aac
Author: Mike Brady <mikebrady@eircom.net>
Date:   Wed May 29 16:18:51 2019 +0100

    Add support for S32_LE, S32_BE, S24_LE and S24_BE wqhen generating frames of dithered silence

commit 76ad4e6a73
Author: Mike Brady <mikebrady@eircom.net>
Date:   Wed May 29 16:00:47 2019 +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.

commit a8222e3f85
Merge: c677006 19fbede
Author: Mike Brady <mikebrady@eircom.net>
Date:   Mon May 27 09:30:57 2019 +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.

commit 19fbededcf
Author: David Crook <idcrook@users.noreply.github.com>
Date:   Sat May 25 13:01:22 2019 -0600

    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>

commit c677006541
Merge: 744c595 3c4a878
Author: Mike Brady <mikebrady@eircom.net>
Date:   Fri May 24 17:37:26 2019 +0100

    Bring into line with master 3.3
2019-06-05 15:02:26 +01: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 BradyandGitHub 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
Jörn Nettingsmeier 0b589cbe6d Remove option to configure port names. This is very unusual for a JACK client, nothing is gained by offering this, and it might confuse users. 2019-02-15 19:29:24 +00:00
Mike Brady 5af6179875 use the term'state' rather than 'mode' when taling about the active state. Use 'while_active' rather than 'while active' 2019-02-12 15:47:10 +00:00
Mike Brady 552218ab6e Clean up audio help texts, add in the volume_range_hw_priority setting. 2019-02-05 11:26:54 +00:00
Mike Brady 90ed88dbc5 add hooks for active mode start and end and add in the timeout into the configuration file. 2019-01-27 15:15:05 +00:00
Mike Brady 01dbf625fe Add the interpolation threshold setting. 2019-01-04 17:09:37 +00:00
Mike BradyandGitHub bbc0ea1ab9 Update shairport-sync.conf 2018-12-13 15:42:51 +00:00
Mike Brady 7cc434e989 Experimentally, add the ability to prevent the DAC making popping noises by feeding it with silence instead of allowing it to stop. 2018-12-13 14:47:52 +00:00
Mike Brady e454572dc7 Further debug tidy-ups and update the configuration file. 2018-12-11 11:26:39 +00:00
Mike Brady f20fa4f1c2 Fix RTSP timeout and add timing checks for interfacing with the ALSA subsystem. Add entries to the configuration file. 2018-12-08 14:37:36 +00:00
Mike Brady 277d401d24 Ensure watchdog always starts with the starting time of the thread. Add watchdog bark count. On the third bark, execute an unfixable error script if present. 2018-12-04 17:25:15 +00:00
Mike Brady 093bf1dd46 Rotate usage of UDP ports if a session is interrupted. Avoids out-of-date packets landing in a new session. 2018-11-23 13:29:09 +00:00
Mike BradyandGitHub 23eb7d7038 Update shairport-sync.conf 2018-11-22 10:08:00 +00:00
Robert Lange 3553656914 normalize whitespaces in scripts/shairport-sync.conf 2018-10-13 16:21:39 +02:00
Robert Lange f619a658ca normalize whitespaces in scripts/shairport-sync.conf 2018-10-06 17:46:11 +02:00
Mike Brady 97920454d0 Fix typo 2018-09-02 17:54:27 +01:00
Mike Brady 6c6dda9cce Add ability for the jack back end to automaticlly connect a client when the jack server comes up and to drop the client when a play session is finished. 2018-09-02 17:25:29 +01:00
Mike Brady 959aa08b8f Clean up the jack backend and add a few options. 2018-08-31 21:41:25 +01:00
Mike Brady 92bd0254e3 Tidy the init.d script up a little more to reflect the true situation upon (attempted) startup 2018-08-20 22:44:27 +01:00
Mike Brady d613d719ba Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
Forgot some of the changes
2018-08-20 22:29:14 +01:00
Mike Brady 711b6e6413 Move creation of the /var/run/shairport-sync directory from install time to just before launch -- it may be deleted when the machine is powered down. 2018-08-20 22:28:36 +01:00
Mike BradyandGitHub ae73f37b24 Update shairport-sync.freebsd 2018-08-20 21:57:46 +01:00
Mike Brady fe8480b74b Fix up System V initialisation file to start with user and group "shairport-sync" and to be able to locate the PID file correcly so as to kill it later. 2018-08-20 18:50:58 +01:00
Till Zimmermann 3bfafa48a2 Fixed handling w/o config file. 2018-06-19 21:08:22 +02:00
Till Zimmermann 02694948f3 Initial MQTT Version 2018-06-19 19:40:08 +02:00
fumittiandGitHub 9e89eff303 Update shairport-sync.conf
remove mixed spaces
2018-06-01 14:57:46 +09:00
Mike Brady e66a47943d Treat volume-based muting the same as playback-switch-based muting and disable both by default. Rename the setting to "use_hardware_mute_if_available". 2018-05-25 09:22:48 +01:00
Mike BradyandGitHub 1a0b59e8ee Update shairport-sync.conf 2018-05-11 11:44:50 +01:00
Mike BradyandGitHub f8822ddf98 Update shairport-sync.conf 2018-05-11 11:24:29 +01:00