Commit graph

561 commits

Author SHA1 Message Date
badaix
a013558e81 Reformat code 2020-02-22 16:43:13 +01:00
badaix
de75ad9b2c Resampling can use original rate or bit depth 2020-02-21 21:11:26 +01:00
badaix
0de2bbde36 Fix compile error 2020-02-18 23:24:25 +01:00
badaix
1bc8f74c41 Change SampleFormat variables to getters 2020-02-18 22:47:04 +01:00
badaix
96856ae5a6 Fix macos compiler warning 2020-02-17 23:05:17 +01:00
badaix
3d80a5dd05 Fix compiler warnings 2020-02-17 22:27:15 +01:00
badaix
3c1e234bd7 Android link against soxr 2020-02-17 22:05:22 +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
835c4864bd Add soxr to cmake 2020-02-14 22:11:26 +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
eb3a240120 Add ClientSettings struct for client settings
Add "player" command line argument to choose the player backend.
Currently there are only for Android different players available.
2020-02-09 19:57:10 +01:00
badaix
d82c3c42ae Replace c casts with static_casts 2020-02-09 13:13:04 +01:00
badaix
546e62b508 Use smaller time diff buffer 2020-02-09 13:11:36 +01:00
badaix
13dd05545d Install Android libs in NDK/usr/local 2020-02-04 20:12:06 +01:00
badaix
51565176ab Adapt playback speed to latency 2020-02-02 21:51:03 +01:00
Felix Geyer
f6f107af28 cmake: properly link against libatomic when needed
Similar to CMAKE_REQUIRED_FLAGS, CMAKE_CXX_LINK_FLAGS is not an
appropriate variable for linking against libraries.
2020-02-02 16:20:23 +01:00
Felix Geyer
322f270839 Fix typos in log messages 2020-02-02 16:16:51 +01:00
badaix
a0be65fc45 Use dynamic FramesPerCallback in Oboe 2020-02-02 12:19:19 +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
71ed07a1d0 Check result of snd_pcm_avail_delay 2020-02-01 23:23:06 +01:00
badaix
f301c55cb0 Reduce playback speed adaptions 2020-02-01 13:37:51 +01:00
badaix
9fe41c87b8 Improve alsa latency estimation 2020-02-01 13:32:13 +01:00
badaix
c9474c6d51 Oboe improvements
Add latency tuner
Read defaults from environment
2020-01-30 08:46:38 +01:00
badaix
1fafa45de2 Merge branch 'master' into develop 2020-01-28 00:14:02 +01:00
badaix
862f08da9f Update version number to v0.18.1 2020-01-28 00:13:35 +01:00
badaix
08de66fe70 Improve oboe latency estimation 2020-01-25 14:32:39 +01:00
badaix
5b9fc3d68d Add Oboe player for Android 2020-01-24 23:06:12 +01:00
badaix
1f1c00981b Raise version number to v0.18.0 2020-01-22 21:24:40 +01:00
badaix
a575e9d3ef Reformat code 2020-01-22 21:17:57 +01:00
badaix
fbaad305d2 Merge branch 'develop' into resample 2020-01-21 08:55:33 +01:00
badaix
99cf9f8e81 Remove -Wno-psabi compiler flag 2020-01-20 21:23:05 +01:00
badaix
f94687827e Add -Wno-psabi to Makefiles 2020-01-20 21:10:06 +01:00
badaix
0edb7638b2 Add tsan lean as comment 2020-01-19 17:53:24 +01:00
badaix
8613e1f798 Add Android arm64 support 2020-01-15 21:37:57 +01:00
badaix
1bd5365c64 Fix AddressSanitizer alloc-dealloc-mismatch 2020-01-12 15:26:20 +01:00
badaix
ed8479873c Use soxr_process instead of soxr_oneshot 2020-01-12 14:29:46 +01:00
badaix
2d64ee25a2 Resample incoming chunks 2020-01-12 13:26:55 +01:00
badaix
cd9f785425 Code cleanup 2020-01-10 21:28:42 +01:00
badaix
8c6d703ec5 Update copyright dates 2020-01-04 01:03:48 +01:00
badaix
e9a5a36855 Client uses less memory allocations 2019-12-12 21:46:23 +01:00
badaix
6b793dfb76 Replace some shared_ptr with unique_ptr 2019-12-11 22:48:21 +01:00