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 |
|
Mike Brady
|
768dc7759a
|
Tidy up log output and add timers to inform statements. Move more stuff to the player thread pop function. Warn about cancellation points in debug versions of mutex lock and unlock. Ensure they are not cancellation points when debug not in use. Warn about Mac OS X cancellation points.
|
2018-07-15 11:54:48 +01:00 |
|
Mike Brady
|
d3b79b965d
|
Make more of the code amenable to pthread cancel
|
2018-07-14 19:34:31 +01:00 |
|
Mike Brady
|
bae7585cff
|
Make pc add and get items work if pthread_cancel occurs
|
2018-07-14 14:32:22 +01:00 |
|
Mike Brady
|
c2e3fa5aa7
|
Move ab_mutex, flow control CV and flush mutex initialisation and teardown out of the player thread. Thus remove need for player theread lock. Format some of the surce files.
|
2018-07-14 13:38:29 +01:00 |
|
 Mike BradyandGitHub
|
b19b14746a
|
Update RELEASENOTES.md
|
2018-07-13 11:43:18 +01:00 |
|
 Mike BradyandGitHub
|
a0ee75bd84
|
Update RELEASENOTES.md
|
2018-07-13 10:52:35 +01:00 |
|
 Mike BradyandGitHub
|
074914f60c
|
Update RELEASENOTES.md
|
2018-07-13 09:27:17 +01:00 |
|
 Mike BradyandGitHub
|
d1d6462899
|
Update RELEASENOTES.md
|
2018-07-13 09:26:42 +01:00 |
|
 Mike BradyandGitHub
|
b21a53d879
|
Update CAR SETUP ALTERNATIVE APPROACH.md
|
2018-07-12 12:10:45 +01:00 |
|
 Mike BradyandGitHub
|
65de2ddefc
|
Update RELEASENOTES.md
|
2018-07-11 21:08:50 +01:00 |
|
 Mike BradyandGitHub
|
b7e070e530
|
Update configure.ac
|
2018-07-11 21:04:31 +01:00 |
|
Mike Brady
|
65807a8b41
|
Fix a bug that caused a crash when soxr was enabled and play stopped. Also may have caused other apparently random crashes
|
2018-07-11 21:00:23 +01:00 |
|