Commit graph

133 commits

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