Commit Graph
190 Commits
Author SHA1 Message Date
Mike Brady 1f3ab8fd77 Die if soxr option requested but not supported 2017-08-13 11:28:02 +01:00
Mike Brady e513e5330c Tidy up source using clang-format 2017-07-31 11:57:57 +02:00
Mike Brady 5663858c63 Tidy up and/or suppress some debug messages 2017-07-22 18:09:39 +02:00
Mike Brady ede276d4af Allow a zero silent lead-in time. 2017-07-22 17:37:02 +02:00
Mike Brady d428585715 Add code to read audio_backend_silent_lead_in_time settings. 2017-07-06 19:13:10 +01:00
Mike Brady 03887a0582 Quieten some debug messages. 2017-06-30 20:16:41 +01:00
Mike Brady 9ba3ed39a5 Add some settings to the new PulseAudio backend. Limit the silent lead-in time to pipe and stdout backends. Not tested much. 2017-06-30 20:05:48 +01:00
Mike BradyandGitHub c13ff31c82 Merge pull request #545 from ccutrer/dynamic_output_device
Read `stdout` from the on-start command to choose ALSA output device

Thanks for this. It looks well-implemented, but it also is very special-purpose. When a more general solution comes along that provides this functionality, I hope you won't mind if this code is removed...
2017-06-25 15:01:12 +01:00
Cody Cutrer 3e9e228564 read stdout from the on-start command to choose ALSA output device
refs GH-452
2017-06-24 19:46:03 -06:00
Mike Brady 5d725ee45b Fix silly bug whereby it was looking for the configuration file in the wrong place. 2017-06-22 08:25:45 +01:00
Troy Liu c081623a9d Fix typo in shairport-sync.c 2017-06-21 08:56:42 +08:00
Mike Brady 77b58621a8 Fix pid_file_proc which was retuning a null 2017-06-12 14:48:37 +01:00
Mike Brady d022c8b4b8 Add an extra option "-j" to daemonize withoput generating a PID file 2017-05-25 19:49:31 +01:00
Mike Brady 6195be0192 Change the order of evaluating command lione options so that the config file is read before any commands are executed. 2017-05-25 18:56:01 +01:00
Mike Brady b3ae05ea60 Initial very rough full-fat pulseaudio backend 2017-05-17 08:49:40 +01:00
Mike Brady 2dea79fa41 Add alsa_use_playback_switch_for_mute to the configuration data structure, so visible for debug summary. 2017-04-30 18:56:56 +01:00
Mike Brady e37c277b0a Add a "run_this_when_volume_is_set" facility to call a program when the volume is set. The AirPlay volume is passed. 2017-04-23 12:37:11 +01:00
Mike Brady 0df8bf3105 Add FreeBSD service and installation. Change default PID file directory. SystemV and SystemD scripts should be updated. 2017-04-22 15:00:22 +01:00
Mike Brady 2d8fbb7572 Add new command line option --logOutputLevel 2017-04-07 19:00:02 +01:00
Denys Berkovskyy 69c042585a Fix various typos. 2017-03-21 11:16:05 +00:00
Mike Brady 87eb53cf82 Fix small bug in interpolation error message. 2017-03-14 09:13:22 +00:00
Yann Pomarede 70a9d371ca prevent loudness if hardware mixer is used 2017-02-27 23:15:58 +01:00
Yann Pomarede 7b9cd28e90 2 audio filters added, a volume-dependent-loudness and a convolution filter. 2017-02-27 22:43:23 +01:00
Mike Brady cf29625d2c Clang Format 2017-02-11 12:12:07 +00:00
Mike Brady 7e831237e8 Include interface and max_volume_db in the debug message 2017-02-05 17:20:35 +00:00
Mike Brady 2a4a4ed22b Add volume_max_db setting which works on the hw mixer if it exists or the sw attenuator otherwise. 2017-02-05 16:18:05 +00:00
Mike Brady 2cab35cd55 Add a new setting to specify the interface the service should be provided on. 2017-02-05 13:47:01 +00:00
Mike Brady 957249f5f9 Fix a bug whereby the resync time would be zero, meaning no resync would occur. 2017-01-30 22:55:58 +00:00
Mike Brady 0764199545 Add possibility of using an array of precalculated pseudo random numbers to reduce processor load. 2017-01-30 18:34:09 +00:00
Mike Brady 5f61e30510 Recognise and use deprecated settings and issue warnings. 2017-01-30 18:23:49 +00:00
Mike Brady 62aaf07478 Add support for mbed TLS and deprecate polarssl support 2017-01-30 08:21:12 +00:00
shtirlic 71fc1a2c70 Initial support for libsoundio 2016-12-04 00:03:23 +02:00
Mike Brady b5ee350b3c Add *untested* support for S24_3LE and S24_3BE output format. 2016-09-28 11:47:44 +01:00
Mike Brady c80d59b3c4 Tidy up source with clang-format 2016-09-18 13:08:36 +01:00
Mike Brady 5a8241c71a Change names of drift, resync, alsa buffer offset and alsa buffer length to distinguish them from the old 44100-based settings. Add warning messages. 2016-09-18 12:56:22 +01:00
Mike Brady 8a9665f68e Get different playback modes working and update the configuration sample 2016-09-15 17:43:13 +01:00
Mike Brady 0499743bd9 Make endian-independent. Allow users to specify only U8/S8/S16/S24/S32 2016-09-12 22:01:57 +01:00
Mike Brady 064bd293c5 Tidy up with a clang-format 2016-09-11 10:35:53 +01:00
Mike Brady 3469a2ab02 New backend for converting 32-bit "native" samples to output format ready for testing 2016-09-08 21:53:19 +01:00
Mike Brady 4849c1d429 Remove mersenne generator -- too slow, try another one 2016-09-07 16:55:14 +01:00
Mike Brady e5eb441b31 Remove prng initialisation code -- it's not needed 2016-09-07 09:14:35 +01:00
Mike Brady 4e4edf9909 Add a fancy 64-bit pseudo random number generator -- thanks to its developers 2016-09-07 09:05:43 +01:00
Mike Brady ae84366e8d Change over to times as opposed to frames for setting timing options 2016-09-04 19:37:22 +01:00
Mike Brady 0479994c4c Apple ALAC decoder not working -- magic cookie contents are faulty. 2016-08-30 23:33:08 +01:00
Mike Brady 72f1c3b5ae Make the decoder choice a bit more general, highlight names of input format parameters 2016-08-30 22:01:05 +01:00
Mike Brady 945483d9c3 Merge support of apple's ALAC decoder 2016-08-28 21:38:24 +01:00
Mike Brady 01e5128507 Add ability to set output format and output rate 2016-08-19 12:51:15 +01:00
Mike Brady 94ec41aa5e make it sysconfdir rather than configdir -- for consistency, really. Rememeber Emerson. 2016-08-18 12:49:30 +01:00
Mike Brady 0316126560 make it configdir rather than settingsdir -- for consistency (rememeber Emerson) 2016-08-18 12:43:02 +01:00
Mike Brady b30415176f Look for the shairport-sync.conf in the directory specified by the sysconfdir directory, and append the sysconfdir directory path to the version string 2016-08-18 12:27:15 +01:00