Commit Graph

99 Commits

Author SHA1 Message Date
F. Duncanh
fdf741f46c cleanup unitialized variables 2025-12-09 02:08:17 -05:00
F. Duncanh
c9f35a379d fix memory leap in raop_rtp.c 2025-11-17 13:55:40 -05:00
F. Duncanh
738866a625 improve audio progress report with 1 sec updating 2025-08-31 10:51:28 -04:00
F. Duncanh
b3679fd630 discard payload_size=12 no-data audio packets (seen in AirMyPC) 2025-08-15 14:23:05 -04:00
F. Duncanh
ab9a9d20b8 whitespace 2025-08-09 07:37:17 -04:00
F. Duncanh
c8ce350226 raop : whitespace cleanup 2025-08-08 12:52:59 -04:00
F. Duncanh
890948bf3d add -d 1 option: suppress audio-video packet data in debug output 2025-02-20 02:15:14 -05:00
F. Duncanh
496253fa28 join threads before closing sockets when stopping
fix for historical (minor) errors in RPiPlay from a mis-transcription
of changes in upstream AirplayServer
2025-02-14 09:24:39 -05:00
F. Duncanh
d01c27d62a cleanup new rtp to ntp conversion 2025-02-01 01:21:06 -05:00
F. Duncanh
bccc42e4e2 raop_rtp fixes/cleanups to remove unneeded ntp use 2025-01-28 22:02:01 -05:00
F. Duncanh
f1e05045c2 raop_handlers, rtp, rtp_mirror: remove dead "use_udp" code 2023-09-02 12:39:52 -04:00
F. Duncanh
70f467ed23 eliminate unneeded socket address returns from recvfrom 2023-09-02 05:20:33 -04:00
F. Duncanh
682175733c allow IPV6 clients (untested) 2023-09-02 05:02:31 -04:00
F. Duncanh
e9823f1e1c code cleanup: remove unused variable "delay" 2023-08-29 11:34:28 -04:00
F. Duncanh
c50a3bcf21 cosmetic fixes to debug output 2023-06-14 12:11:49 -04:00
F. Duncanh
a800fe213e fix unsafe strcmp (AirMyPC segfault) + timing fix for AirMyPC client 2023-05-31 03:41:53 -04:00
F. Duncanh
3dfdf42fad only call utils_data_to_string in -d debug mode 2023-04-18 02:25:57 -04:00
F. Duncanh
67e9c0eca1 replace sprintf by snprintf (silence warning by macOS compiler) 2023-04-15 18:19:04 -04:00
F. Duncanh
6d9f2a2b88 introduce -vsync, -async options 2023-02-12 19:06:29 -05:00
F. Duncanh
9fc195877d cleaned up raop_rtp.c 2023-02-11 05:02:17 -05:00
F. Duncanh
28afb1fbb8 export both local and remote ntp times with audio and video frames 2023-02-10 14:05:08 -05:00
F. Duncanh
e2357bd687 add change statement: authorship, dates to LGPL v2.1 files 2023-02-09 11:01:58 -05:00
F. Duncanh
995a4bded8 improved debug output for timings 2023-02-09 07:00:14 -05:00
F. Duncanh
ad451b4c33 remove unnecessary "audio delay" feature. 2023-02-07 23:54:23 -05:00
F. Duncanh
dfd98efbab cleanups of initial latency code. ntp and rtp times 2023-02-07 22:49:30 -05:00
F. Duncanh
c8025be711 v1.63: fix audio sync with client video in Audio-only mode 2023-02-06 17:44:47 -05:00
F. Duncanh
f6a18a5a37 use rtp_clock_rate instead of rtp_sync_scale 2023-02-05 14:15:07 -05:00
F. Duncanh
cf6452b713 convert all times from micro to nano secs 2023-02-05 02:09:22 -05:00
F. Duncanh
bb5b70305b remove unnecessary audio buffer flush on volume change
(may cause audio artefacts)
This was first introduced in RPiPlay 2019-07-12 in commit
ad0872961f
2023-01-16 01:49:49 -05:00
fduncanh
6e8491a30a revert a change that used assert in a way that fails with NDEBUG
(pointed out by @heweishing, thanks)
2022-08-28 02:37:28 -04:00
fduncanh
30700758e9 only start processing resent audio packet if length >=12 2022-06-16 21:16:24 -04:00
fduncanh
7fdbe57363 send uint64_t rtp_time to sync_clock (without subtraction of rtp_start_time) 2022-06-16 18:10:55 -04:00
fduncanh
15531ccd05 remove assertion in rtp64_time 2022-06-16 04:18:08 -04:00
fduncanh
33257a9a1d fir minor typo in comment 2022-06-16 02:56:56 -04:00
fduncanh
baa6c30dcd send uint64_t ntp_times to raop_rtp_sync_clock without subtracting ntp_start_time 2022-06-16 02:27:46 -04:00
fduncanh
1c0550977e add seqnum to audio_decode_struct 2022-06-15 13:27:44 -04:00
fduncanh
c8210c9c60 whitespace 2022-06-15 12:58:31 -04:00
fduncanh
1be1ef2612 cleaner implementation of 32->64 bit rtp_time 2022-06-15 12:50:33 -04:00
fduncanh
6b5d85a403 whitespace 2022-06-15 02:38:14 -04:00
fduncanh
fd0eadd72d raop_rtp.c more code cleanup in audio rtp_sync 2022-06-15 02:27:40 -04:00
fduncanh
29691516c3 start rtp64_time at a sync event if it happens before audio is received 2022-06-14 02:48:36 -04:00
fduncanh
4491175e45 remove sync_scale (now unused) from raop_rtp_t 2022-06-14 00:37:43 -04:00
fduncanh
78eff9854e cosmetic (typo in comment) 2022-06-13 20:50:44 -04:00
fduncanh
7844e0b64c cosmetic cleanups to recent changes in raop_rtp.c 2022-06-13 20:48:58 -04:00
fduncanh
42ff575833 prepare for v 1.53, remove "have_synced" from audio data structure. 2022-06-13 19:19:41 -04:00
fduncanh
617f385788 make arguments to rtp32_to_64time const 2022-06-13 18:35:31 -04:00
fduncanh
c18bb43008 whitespace 2022-06-13 18:23:04 -04:00
fduncanh
966064e677 whitespace 2022-06-13 18:20:44 -04:00
fduncanh
cf89f4b7d2 cleanup initial audio sync; now use 64-bit rpt time to avoid epoch issues 2022-06-13 18:06:45 -04:00
fduncanh
1a01a4694b whitespace and cosmetic cleanups 2022-06-12 06:31:45 -04:00