Commit Graph

65 Commits

Author SHA1 Message Date
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
fduncanh
96a9dd165b code cleanup in raop_rtp.c (uint32 issues) 2022-06-12 06:12:09 -04:00
fduncanh
64a7dd0fa0 cleanup resent data code in raop_rtp.c 2022-06-11 14:28:30 -04:00
fduncanh
42f37f15b4 cleanup in raop_rtp.c for unusual control and data packets 2022-06-11 04:00:25 -04:00
fduncanh
f0b1e3d737 simplified call to raop_buffer_enqueue: packet contains rtp_timestamp 2022-06-11 02:24:44 -04:00
fduncanh
dc103af6f3 small cleanup in raop_rtp.c 2022-06-10 05:10:49 -04:00
fduncanh
1de61cfa0c fix for too-short resent audio packets crash reported by @ephemient 2022-06-10 04:28:43 -04:00
fduncanh
c1dde65e6e typo in comment 2022-05-04 17:01:27 -04:00
fduncanh
584572fd33 set shift to 0 as default for ALAC 2022-05-04 16:59:42 -04:00
fduncanh
49971d8d0b fix small memory leak (from valgrind) 2022-05-04 13:56:01 -04:00
fduncanh
419852bb46 fix typo in last commit 2022-05-04 13:27:34 -04:00
fduncanh
300d0439f0 initialize pointers for coverart dacp_id etc. 2022-05-04 13:16:36 -04:00
fduncanh
8fd59814be whitespace 2022-05-03 16:35:32 -04:00
fduncanh
e6ffc828d2 place more complete timing data in audio_decode_struct 2022-05-03 16:29:08 -04:00
fduncanh
83aee1fd07 cosmetic changes 2022-05-02 22:12:05 -04:00
fduncanh
d67cecbb45 whitespace cleanup 2022-05-02 15:33:21 -04:00
fduncanh
3a1a244b0f cleanups of debug text and initial audio syc 2022-05-02 15:28:35 -04:00
fduncanh
73e77dc09b clean up debug output 2022-05-02 01:44:54 -04:00
fduncanh
1d2bf6ec78 rename aac_decode_struct to audio_decode_struct and cosmetic fixes 2022-05-01 17:54:37 -04:00
fduncanh
1379079220 cleanup of initial audio synchronization 2022-05-01 17:26:38 -04:00
fduncanh
bdb949c6e2 activate resend in raop_rpt, add "compression type" ct to raop_rtp_t 2022-04-30 11:07:18 -04:00
fduncanh
f0fcba8fac clean up initial timestamp of audio stream, before first sync event 2022-04-29 19:22:45 -04:00
fduncanh
2f6cf2e8f2 rtp time wraps around uint32_t after 27 hours! 2022-04-29 03:10:58 -04:00
fduncanh
af238faab0 subtract off start times from rpt and ntp timestamps 2022-04-29 02:35:17 -04:00
fduncanh
7625ce85db store rtp_timestamp, not ntp_timestamp, in audio buffer 2022-04-29 01:24:15 -04:00
fduncanh
89ffc41b30 typo in comment 2022-04-28 00:45:48 -04:00
fduncanh
ac1f0c168f extra info in debug for time sync 2022-04-27 14:42:29 -04:00
fduncanh
3a6cd39053 next_rtp is not needed in time sync 2022-04-27 13:21:26 -04:00
fduncanh
7a9631d82b cosmetic (typo in comment) 2022-04-27 13:18:32 -04:00
fduncanh
0651a440be whitespace 2022-04-27 13:17:01 -04:00
fduncanh
82303e8be7 identify meaning of rtp_next in time synchronization 2022-04-27 13:14:07 -04:00
fduncanh
50e9ec0751 whitespace 2022-04-26 18:53:24 -04:00
fduncanh
1e9f6be43b add some comments about packet structure 2022-04-26 18:50:37 -04:00
fduncanh
2f4d13d879 whitespace 2022-02-20 11:26:42 -05:00
fduncanh
af9e37333a byteuils used in cleanup 2022-02-20 11:23:57 -05:00