Mike Brady
|
1d2288702a
|
If statistics are enabled, log when a play starts and what type the stream is.
|
2022-05-18 11:05:28 +01:00 |
|
Mike Brady
|
f06524cfa0
|
Ensure the AP2 Buffered Stream buffer size is hidden when playing an AP1 stream in AP2 mode.
|
2022-05-18 10:03:01 +01:00 |
|
Mike Brady
|
1115ec4f19
|
Small cosmetic changes.
|
2022-05-17 16:39:13 +01:00 |
|
Mike Brady
|
b4d676fe04
|
Small alterations in how play time is calculated. Debug and format changes.
|
2022-05-14 18:56:35 +10:00 |
|
Mike Brady
|
e7098c4529
|
List the total number of frames sent to DAC and current DAC delay to diagnostics when a large sync error occurs. Stop listing the total number of packets in statistics.
|
2022-03-16 10:21:54 +11:00 |
|
Mike Brady
|
a382ac6672
|
Clang Format
|
2022-03-14 11:56:43 +11:00 |
|
Mike Brady
|
08afa822f5
|
Add buffer size to statistcs information for a Buffered Audio stream.
|
2022-03-13 12:33:53 +11:00 |
|
Mike Brady
|
f135d857c0
|
Ensure that when ignore_volume_control is true, the volume metadata has the current, max and min values of the [now ignored] attenuator set to 0.0.
|
2022-02-01 15:44:43 +00:00 |
|
Mike Brady
|
deb11654ab
|
Add some sanity checking of latency-affecting settings.
|
2022-01-24 10:17:07 +01:00 |
|
Mike Brady
|
703717a58a
|
Reset the realtime clock information when a realtimne stream play terminates.
|
2022-01-23 10:04:04 +01:00 |
|
Mike Brady
|
73eec0a1be
|
Add some code to investigate possible unclean teardowns in AP2 modes. Also add code which might obviate the problem!
|
2022-01-02 17:37:23 +00:00 |
|
Mike Brady
|
59d92db39f
|
Improve a few debug messages.
|
2022-01-01 19:01:20 +00:00 |
|
Mike Brady
|
966d68bdec
|
Begin to get SPS to give a unique shm interface name to nqptp. Also clang format
|
2021-12-27 12:19:01 +00:00 |
|
Mike Brady
|
30b9d15e36
|
Quieten a few debug mssages, slightly shorten the minimum lead time needed for good initial sync.
|
2021-12-22 13:47:49 +00:00 |
|
Mike Brady
|
8656149d68
|
Adjust the time needed to allow the clock to settle and the lead time.
|
2021-12-21 15:32:16 +00:00 |
|
Mike Brady
|
fc736cd12f
|
Look for 0.15 seconds of a lead time...
|
2021-12-21 15:18:14 +00:00 |
|
Mike Brady
|
f0134387b9
|
Flush if the first packet is less than 100 ms in the future.
|
2021-12-21 15:04:15 +00:00 |
|
Mike Brady
|
fd3d461a16
|
stop removing the play lock at the end of a play session. That's the job of the rtsp thread.
|
2021-12-07 15:09:05 +00:00 |
|
Mike Brady
|
3de7e9a5c5
|
Look for at least 0.1 seconds of leadtime, ensure a master clock is at least 0.275 seconds old before use, quieten a few debug messages.
|
2021-12-07 12:09:49 +00:00 |
|
Mike Brady
|
70821f8127
|
Clang Format
|
2021-12-06 18:45:25 +00:00 |
|
Mike Brady
|
41f55ac1cb
|
Stop clearing the timing peer list and stop removing the anchor clock info.
|
2021-12-06 18:03:42 +00:00 |
|
Mike Brady
|
231d5242d7
|
clang format only
|
2021-12-02 11:19:52 +00:00 |
|
Mike Brady
|
60f830bc75
|
Tidy up the statistics printout table and stop outputting (non existent) nominal fps for AP2 Realtime Streams.
|
2021-12-02 11:16:00 +00:00 |
|
Mike Brady
|
7b8e293f8b
|
Change behaviour after an unrecoverable error -- if not handled, exit Shairport Sync.
|
2021-12-01 09:01:31 +00:00 |
|
Mike Brady
|
56bef8e7dd
|
Use CLOCK_MONOLITHIC_RAW to avoid NTP effects, report raw and corrected timing from audio_alsa. Clean up statistics. Stop watchdog timing out AP2 sessions. CLean up some debug messages.
|
2021-11-28 16:08:48 +00:00 |
|
Mike Brady
|
dc5b8f1a11
|
Clang format
|
2021-11-26 18:02:23 +00:00 |
|
Mike Brady
|
7890188dcf
|
Quieten some debug messages.
|
2021-11-26 18:01:36 +00:00 |
|
Mike Brady
|
b9d3abfa24
|
Add some debug messages to help check the output rate calculations.
|
2021-11-26 15:18:27 +00:00 |
|
Mike Brady
|
87d887f412
|
Remove the commas in the statistics logs -- easier to get into a spreadsheet.
|
2021-11-25 18:13:56 +00:00 |
|
Mike Brady
|
14bfba2724
|
Add code to check divisions and mods for a potrntial divide by zero problem. MAy cause SPS to terminate but leave a log message.
|
2021-11-21 21:47:32 +00:00 |
|
Mike Brady
|
881a5ca25e
|
Don't display output FPS, as it's not clear how accurate it is...
|
2021-11-20 15:11:57 +00:00 |
|
Mike Brady
|
1797b4164b
|
Check for the stats function before allowing expanded stats info.
|
2021-11-20 14:18:13 +00:00 |
|
Mike Brady
|
cd9da86fc3
|
Add a 'stats' function to the audio back ends to replace the 'rate_info' function. Zero all except the alsa back end.
|
2021-11-20 13:59:16 +00:00 |
|
Mike Brady
|
5f8e6e3989
|
attempt to increase the precision of the FPS timing
|
2021-11-20 12:14:23 +00:00 |
|
Mike Brady
|
c0a3dacf30
|
Working to check for divide / mod by 0's
|
2021-11-17 10:35:21 +00:00 |
|
Mike Brady
|
4729b3ea71
|
Merge branch 'development' of git.aillwee.com:base/shairport-sync into development
Merge independent changes.
|
2021-11-14 15:13:54 +00:00 |
|
Mike Brady
|
3f6f09328d
|
Fix a bug by ensuring certain ap2 variables are initialised by the player thread.
|
2021-11-14 11:18:39 +00:00 |
|
Mike Brady
|
04240708a9
|
Try using the monotonic clock for checking output rate...
|
2021-11-08 10:14:42 +00:00 |
|
Mike Brady
|
99c6638573
|
Ensure the frame rate calculator allows for silent frames added to disable standby. Clean up outmoded and unused stuff in audio_alsa.c. More to do.
|
2021-11-06 18:32:26 +00:00 |
|
Mike Brady
|
d3c067d009
|
Honour the volume_range_db with a hardware attenuator, duh.
|
2021-09-29 09:26:46 +01:00 |
|
Mike Brady
|
b24380d34b
|
Move the release of the group UUID to when the connection ends, not when the play session ends.
|
2021-09-02 12:20:53 +01:00 |
|
Mike Brady
|
063b02cb11
|
Mark the airplay_gid free by nulling it.
|
2021-09-01 16:40:04 +01:00 |
|
Mike Brady
|
7d36f04025
|
If the airplay_gid is not NULL, free it before deleting the player.
|
2021-09-01 10:31:06 +01:00 |
|
Mike Brady
|
3a6297bc9a
|
Honour max_output_db setting even when ignore_volume_control is true. Spell out "Shairport Sync" in the Home app information.
|
2021-07-16 15:04:51 +01:00 |
|
Mike Brady
|
27895723b9
|
Prevent a crash when statistics are requested over the D-Bus interface by preparing for them even when not initially requested.
|
2021-07-07 17:00:52 +00:00 |
|
Mike Brady
|
7b8e68650f
|
Fix the rtptime modulo calculations -- the SIGNEX idea doesn't seem to be portable, so it has to be done the hard way.
|
2021-06-23 14:40:38 +01:00 |
|
Mike Brady
|
767bed6b9f
|
Sometimes the output_rtptime_mask seems to be calculated in 32-bit arithmetic (?), so do it all explicitly in 64-bit signed int as soon as the output_rtptime_sign_bit is calculated.
|
2021-06-23 11:21:32 +01:00 |
|
Mike Brady
|
0ac00359f7
|
remove those warnings
|
2021-06-17 18:16:15 +01:00 |
|
Mike Brady
|
c37ee4542d
|
Add code to skip packets of buffered audio that are late or too early.
|
2021-06-09 19:35:08 +01:00 |
|
Mike Brady
|
5c48580db9
|
Get it working for multiples of 44100 again. It's stuck accepting only 44,100 fps input for the moment.
|
2021-06-06 15:51:39 +01:00 |
|