Commit Graph
2971 Commits
Author SHA1 Message Date
Mike Brady 3dbea79962 Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
Forgot the documentation update.
2018-08-06 12:34:27 +01:00
Mike Brady 51283d2e07 Update some debug messages 2018-08-06 12:33:45 +01:00
Mike Brady 78f1cd614c Allow for different output rates in the new calculations 2018-08-06 09:48:36 +01:00
Mike Brady 3870195cf9 Begin to use a unified and more accurate scheme for translating between local time and rtp timestamp, taking clock drift and actualt source rate into account if available. Not dealing with highes output rates yet. 2018-08-05 17:23:07 +01:00
Mike BradyandGitHub e8de38546a Update RELEASENOTES.md 2018-08-01 09:49:34 +01:00
Mike Brady e90f172254 Forgot documentation updates.
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
2018-08-01 09:37:06 +01:00
Mike Brady 3a0fb4c919 Change calculation order to prevent overflow after about 26 hours at 44,100 fps in the frame rate calculations. Calculate frame rates whether statistcs are requested or not. Clean up some fps rate availability flags. 2018-08-01 09:36:28 +01:00
Mike Brady 3888125a24 Change calculation order to prevent overflow after about 26 hours at 44,100 fps in the frame rate calculations. Calculate frame rates whether statistcs are requested or not. Clean up some fps rate availability flags. 2018-08-01 09:35:28 +01:00
Mike BradyandGitHub db5a38b31e Update RELEASENOTES.md 2018-07-30 22:13:56 +01:00
Mike BradyandGitHub acc1c5d6df Update RELEASENOTES.md 2018-07-30 14:23:41 +01:00
Mike BradyandGitHub 7c182afcd7 Update RELEASENOTES.md 2018-07-30 14:20:28 +01:00
Mike Brady f6b3c420c7 Enable input frame rate calculation to handle a pause/resume correctly. 2018-07-30 14:07:39 +01:00
Mike Brady 1b1bf44cc2 Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
Forgot changes.
2018-07-30 13:40:14 +01:00
Mike Brady b75c82d14a Add input frame rate calculation. 2018-07-30 13:39:38 +01:00
Mike BradyandGitHub b01389c27b Update RELEASENOTES.md 2018-07-30 12:23:55 +01:00
Mike BradyandGitHub d3838bf390 Update RELEASENOTES.md 2018-07-30 12:17:32 +01:00
Mike BradyandGitHub 78ae53d2dc Update RELEASENOTES.md 2018-07-30 11:29:52 +01:00
Mike BradyandGitHub 15c80b7a93 Update RELEASENOTES.md 2018-07-30 11:29:28 +01:00
Mike Brady a5dd76d223 Stop using SIGUSR1 for cancelling threads, use pthread_cancel and friends instead, fix some memory leaks, add accurate ouput rate calculation to statistics, add "quit" verb to MPRIS and native d-bus interfaces. Remove incorrect warning, quiten some debug messages. 2018-07-30 10:31:21 +01:00
Mike Brady ac8afe0ab2 Remove an incorrect warning about using the "general" "statistics" setting. 2018-07-30 10:30:00 +01:00
Mike Brady 76c5dd9285 Stop using SIGUSR1 for cancelling threads, use pthread_cancel and friends instead, fix some memory leaks, add accurate ouput rate calculation to statistics, add "quit" verb to MPRIS and native d-bus interfaces. Probably still buggy. 2018-07-30 10:07:11 +01:00
Mike Brady 4ea9de7b8b Move car setup alternative to an issue thread 2018-07-30 08:57:42 +01:00
Mike Brady 6c7b26a633 Add debug message to try to understand a weird negagive memory request. 2018-07-29 15:33:42 +01:00
Mike Brady ea20840d6c Make the play function return a status (ignored for the present). Clean up audio_alsa by removing all the die calls and placing the alsa_mutex calls in pthread cleanup routines. 2018-07-29 13:45:42 +01:00
Mike Brady c91a991edd Prevent arithmetic overflow after 2^32 microseconds, i.e. about one hoour and 11 minutes... 2018-07-29 10:45:55 +01:00
Mike Brady 17793bd000 Change measurement of frames and timing to mimimise effects of paging, cache loading, asynchronous access to the DAC. 2018-07-29 09:47:53 +01:00
Mike Brady c03f6d8133 Ensure flush resets everything. 2018-07-29 08:35:06 +01:00
Mike Brady c85e7e05d1 Add a frames per second output. This should be exact if the machine is connected up to, say, an NTP time service. It uses CLOCK_MONOTONIC time. 2018-07-28 19:02:02 +01:00
Mike Brady 577449dffa Remove use of SIGUSR1 and pthread_kill to stop threads. Not debugged! 2018-07-27 10:58:36 +01:00
Mike Brady aa13fd9849 Remove hack to try to avoid whitespace removal by rsyslogd. It turns out that this has been fixed in recent versions of rsyslogd. Not on Raspbian Stretch yet though... 2018-07-23 17:37:43 +01:00
Mike Brady a30c254bb6 Quieten some debug messages. 2018-07-23 14:26:48 +01:00
Mike Brady dc4e577d8f Improve some debug messages. 2018-07-23 13:56:54 +01:00
Mike Brady 865c71b1d0 Remove an unwanted debug messages 2018-07-22 16:29:36 +01:00
Mike Brady f153a1f570 Remove some unwanted debug messages 2018-07-22 16:26:47 +01:00
Mike Brady 703ab8e556 Quieten a few debug messages 2018-07-22 16:13:49 +01:00
Mike Brady 5f750ba9b7 Fix a few memory leaks. 2018-07-22 16:12:52 +01:00
Mike Brady 2eaaa9cdb3 Fix a bug where the dacp notification handlers are called 2018-07-21 15:35:07 +01:00
Mike BradyandGitHub d70d7e5ec5 Update README.md 2018-07-21 11:05:04 +01:00
Mike Brady f1d4503431 Try to add proper cancellation code to all threads -- not complete, buggy. 2018-07-20 13:50:38 +01:00
Mike Brady c8c70b6016 Add quit commands to the MPRIS and native D-Bus command set. Not tested ecologically. 2018-07-18 15:32:07 +01:00
Mike Brady a4eaace76b Begin to try to get Shairport Sync to quit cleanly, relinquishing memory and ports etc. properly so that valgrind can be more useful. 2018-07-17 10:28:06 +01:00
Mike BradyandGitHub 624ac69a61 Delete CAR SETUP ALTERNATIVE APPROACH.md
Moved to a Discussion Thread
2018-07-15 18:30:06 +01:00
Mike Brady ebacd7f340 Add a little note to self. 2018-07-15 16:48:45 +01:00
Mike Brady 9a8a863825 Clean out player_+thread_please_stop references. 2018-07-15 16:25:56 +01:00
Mike Brady dc84d87b7b Make session interruption work properly. 2018-07-15 15:20:25 +01:00
Mike Brady b71ec06ac2 Move player_stop away from pthread_kill to pthread_cancel. Add in cancellation stacks. Check for hidden cancellation points. 2018-07-15 14:10:42 +01:00
Mike Brady 227f8ce457 Remove player_thread_please_stop stuff and the pthread_kill codes, quieten some debug messages 2018-07-15 14:09:07 +01:00
Mike Brady 01f2a374b9 Use pthread_cancel to stop a player thread rather than SIGUSR1 and pthread_kill. 2018-07-15 13:54:33 +01:00
Mike Brady 8ed8f808b8 Add a cancellation stack to get_buffer_frame. 2018-07-15 13:11:51 +01:00
Mike Brady 525ff37c1c Add a | to the statistics output to ensure the columns of numbers are aligned. Seems to be a bug in the daemon_log (?) 2018-07-15 12:25:38 +01:00