Commit Graph
3690 Commits
Author SHA1 Message Date
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 848467a817 Add "auto" interpolation support to the dbus interface. 2019-04-28 21:39:42 +01:00
Mike BradyandGitHub b488a0ed6d Update RELEASENOTES.md 2019-04-28 21:02:42 +01:00
Mike Brady fc1418fcc2 RC4, and remove code that always adds the commit signature -- not ready for its close-up yet. 2019-04-28 20:48:03 +01:00
Mike Brady 19a1a28374 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. 2019-04-21 14:25:27 +01:00
Mike Brady 4c57ca08c4 Remove a few bogus warnings. 2019-04-20 10:01:42 +01:00
Mike Brady 7ad8907356 quieten a debug message 2019-04-17 16:43:18 +01:00
Mike Brady 8568b58b49 Tidy up some debug and information messages 2019-04-17 16:33:08 +01:00
Mike Brady a69aedf225 Take a fixed amount of time to check the soxr_delay_index, not a fixed number of iterations. 2019-04-16 23:11:30 +01:00
Mike Brady db8fc8057f Always include the up-to-date abbreviated git hash if we are in the git repository. 2019-04-16 22:45:45 +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 ca8acb4a3f Move the soxr timer checker to run as soon as the system powers up. 2019-04-16 12:59:02 +01:00
Mike Brady d0917fc304 Add code to time soxr_oneshot without playing anything. It's in the wrong place, but it's a start. 2019-04-16 09:10:45 +01:00
Mike Brady 8cdb4dc70e a bit less noisy debug/timing of soxr! 2019-04-15 17:22:52 +01:00
Mike Brady 3a96a5a62d very noisy debug of soxr! 2019-04-15 17:16:30 +01:00
Mike Brady 6cbaa15bdd Turn on the configuration flag for building soxr support in when the pkg_config is not available. 2019-04-15 17:07:34 +01:00
Mike Brady 1b1348e1ac Add git commit and dirty status if available. Slightly reorder the debug messages at the start. 2019-04-15 16:27:44 +01:00
Mike Brady c985ee6059 Include build_details.h as part of Shairport Sync 2019-04-15 16:26:43 +01:00
Mike Brady 026d2114cc ignore build_details.h 2019-04-15 16:25:47 +01:00
Mike Brady 2dd184165a add soxr interpolation statistics gathering. 2019-04-15 11:52:01 +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 042dd0d036 Fix a warning about ending a funrtion without a return value. 2019-04-15 11:13:14 +01:00
Mike Brady 57bcea52c7 Tidy up the exit() arguments. 2019-04-10 21:32:08 +01:00
Mike Brady 449a9be55e make Shairport Sync die for some other serious alsa device errors 2019-04-09 22:37:59 +01:00
Mike Brady 84eecaf722 use abort() to exit after a "die" call and fix the logic of opening the alsa device -- success was causing it to die, duh. 2019-04-09 22:26:26 +01:00
Mike Brady d3072ae827 Give error if alsa output device can't be found. 2019-04-09 11:35:46 +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 aac57c9cdc add standard timing -- more compatible -- and precision timing -- more precise. Add option reader but it's not connected up yet. 2019-04-09 10:23:23 +01:00
Mike Brady 5d005e211a Dirty Hack #11 -- avoid using pcm_get_status 2019-04-08 21:55:18 +01:00
Mike Brady 06e9f370c2 Dirty Hack #10 -- add a snd_pcm_prepare call 2019-04-08 21:45:59 +01:00
Mike Brady 3d73e8153d Dirty Hack #9 2019-04-08 21:28:56 +01:00
Mike Brady 60c2bf27f6 Dirty Hack #8 2019-04-08 21:14:46 +01:00
Mike BradyandGitHub bdc98468d6 Update OPENBSD.md 2019-04-05 20:12:23 +01:00
Mike BradyandGitHub 83e3c2a212 Update INSTALL.md 2019-04-05 17:01:40 +01:00
Mike BradyandGitHub 0f8090c457 Update CAR INSTALL.md 2019-04-05 16:59:22 +01:00
Mike BradyandGitHub 70c90c16ed Update README.md 2019-04-05 16:58:14 +01:00
Mike BradyandGitHub c224a33fc2 Update README.md 2019-04-05 16:51:29 +01:00
Mike BradyandGitHub b8e7c66a0f Update README.md 2019-04-05 16:45:35 +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 BradyandGitHub 25765ef555 Update shairport-sync.spec 2019-04-05 15:21:12 +01:00
Mike BradyandGitHub 92d983dd17 Update CYGWIN.md 2019-04-05 15:10:04 +01:00
Mike BradyandGitHub c5b464c431 Update OPENBSD.md 2019-04-05 15:08:11 +01:00
Mike BradyandGitHub 1e74d37c09 Update FREEBSD.md 2019-04-05 15:06:44 +01:00
Mike Brady 3609327c3a Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development 2019-04-02 16:58:12 +01:00
Mike Brady 223dfd7801 only need to ensure at least one packet has been received, it seems. 2019-04-02 16:33:30 +01:00
Mike Brady 40ed76b411 wait for packets to be received before starting to calculate the nominal remote input rate. 2019-04-02 16:29:17 +01:00
Mike BradyandGitHub cb324f3c51 Update RELEASENOTES.md 2019-04-02 16:07:22 +01:00
Mike BradyandGitHub 6a4ffdf164 Update RELEASENOTES.md 2019-04-02 16:06:40 +01:00
Mike Brady 1f45b8c006 allow calculation of nominal source frame rates even when the connection is error prone. 2019-04-02 15:37:38 +01:00
Mike Brady ac51c10116 Add back the flag to control the logging of the note, duh. 2019-04-02 14:45:51 +01:00