135 Commits

Author SHA1 Message Date
c981cfd1a9 Reformat code 2025-08-18 11:31:12 +02:00
5802e0be0d fix: Use try_pop during Stream shutdown 2025-08-18 10:00:19 +02:00
aa82ba8397 Cleanup Snapclient includes 2024-04-03 21:50:03 +02:00
e57dc0888f Fix mixer script 2024-04-02 21:53:36 +02:00
6e786255e1 Fix cppcheck issues 2023-12-30 11:37:35 +01:00
8067394212 Fix data races 2021-09-12 12:03:27 +02:00
a5f79cdf90 Remove unused code 2021-09-03 20:33:53 +02:00
7597f15d24 Tidy up code 2021-02-11 08:33:36 +01:00
f5d4fcaf43 Tidy up 2021-02-10 18:36:40 +01:00
168bc3f98b Silence the PCM buffer if no chunk is available 2021-02-03 22:58:21 +01:00
55368bbd4d Rephrase exception 2021-01-06 21:59:57 +01:00
aab3c343d0 Fix warnings 2020-11-29 00:10:47 +01:00
cdb2227bf5 Log end to end latencies 2020-10-11 11:13:55 +02:00
136766412c Discard old chunks if not consumed (fixes #708) 2020-10-11 11:11:49 +02:00
8e9eb5c870 Improve hard sync if top of the stream is too old 2020-10-08 17:53:39 +02:00
9c01849a64 Change some log levels 2020-08-16 14:44:22 +02:00
ecd5f57b0c Log chunk age 2020-08-10 22:18:09 +02:00
2d88ee85cd Opus encoder resamples to 48000:16:2 2020-08-03 22:52:42 +02:00
ed0521a1d2 Rename onChunkRead to onNewChunk 2020-07-11 19:39:58 +02:00
424487a48e Add sharing mode for Oboe, log device settings 2020-05-05 21:46:21 +02:00
bfbd9e05a7 Speed up time sync after standby 2020-04-21 11:02:07 +02:00
a2311dfbfd Make logsink and filter configurable 2020-04-18 15:32:30 +02:00
ade0ee7be3 Fix warnings on Windows 2020-04-10 12:19:27 +02:00
bd373dc09c code review changes: use NOMINMAX hack, audio backend android only, move windows time defs to time_defs.hpp 2020-04-08 11:33:25 +02:00
094ec9b53c re-added Outurnate's Windows client for master branch 2020-04-08 11:33:25 +02:00
e15800450e Reformat code 2020-03-14 11:29:27 +01:00
3a8023ab93 Make soxr optional and add to build.md 2020-03-14 11:22:04 +01:00
d49b5c251c Switch to exception_ptr for async exceptions 2020-03-12 23:33:10 +01:00
0e259d1ab4 Fix initialization order 2020-03-10 13:46:50 +01:00
5f5b6b4638 Initialize correctAfterXFrames_ 2020-03-10 13:01:36 +01:00
5928d0e77b Reset chunk if there are no new ones to avoid loop 2020-03-09 21:44:50 +01:00
5ab89e1a54 Avoid unnecessary hard syncs 2020-03-01 18:18:27 +01:00
a8998997e9 Change stream reader to use actual chunk duration
e.g. a configured chunk_ms of 11 will read a 44.1kHz stream in chunks of 485 frames (=10.9977ms)
2020-02-29 19:24:47 +01:00
de75ad9b2c Resampling can use original rate or bit depth 2020-02-21 21:11:26 +01:00
1bc8f74c41 Change SampleFormat variables to getters 2020-02-18 22:47:04 +01:00
3d80a5dd05 Fix compiler warnings 2020-02-17 22:27:15 +01:00
fd862f1bd6 Fix deadlock and segfault in stream 2020-02-17 22:04:47 +01:00
99e147c5aa Remove timeout in getNextPlayerChunk 2020-02-16 21:23:26 +01:00
c9c08b59f5 Refactor stream synchronization 2020-02-16 13:26:12 +01:00
7119f0626c Add log tags 2020-02-14 22:53:08 +01:00
3fc8b9ca08 Add optional resampling of the output stream 2020-02-14 08:46:13 +01:00
6d4b91cf2b Fix comments - last slice may be bigger, not smaller 2020-02-12 22:46:15 +01:00
f842f5b3b8 Fix invalid memory accesses and underflows 2020-02-12 22:46:15 +01:00
8c8226f2dc Remove most usages of "new" and "malloc" in the client 2020-02-12 22:46:15 +01:00
689f550049 Uncomment resampling 2020-02-10 21:45:05 +01:00
d77d4dadd5 Merge branch 'resample' into develop 2020-02-10 21:17:17 +01:00
d82c3c42ae Replace c casts with static_casts 2020-02-09 13:13:04 +01:00
51565176ab Adapt playback speed to latency 2020-02-02 21:51:03 +01:00
d1b4acbfc4 Do fewer playback speed adaptions 2020-02-02 10:58:32 +01:00
4d4270dad5 Refactor getNextPlayerChunk 2020-02-01 23:26:02 +01:00