Commit graph

1936 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
Jean-Philippe Menil
3e91984d3e fix missing include 2020-02-16 21:04:27 +01:00
badaix
c9c08b59f5 Refactor stream synchronization 2020-02-16 13:26:12 +01:00
badaix
c9034b6d12 Add libsoxr to travis.yml 2020-02-15 21:04:35 +01:00
badaix
bbfefc9ee6 Add soxr dependency for debian 2020-02-14 22:53:39 +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
badaix
549fcba40f Use realloc to avoid memleak 2020-02-14 08:42:10 +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
03b5d639cc Add scripts.md with example HTTP requests 2020-02-09 20:03:15 +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
83ab1cb260 Small time sync fix 2020-02-09 19:51:48 +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
08902ae0a5 Remove call to gettimeofday 2020-02-09 12:22:26 +01:00
badaix
bac33043cf Use steady clock 2020-02-09 11:38:49 +01:00
badaix
5a3abc31ed Remove unused lambda parameter 2020-02-08 16:01:22 +01:00
badaix
384e71b7c9 Save server config deferred 2020-02-08 12:17:12 +01:00
badaix
13dd05545d Install Android libs in NDK/usr/local 2020-02-04 20:12:06 +01:00
badaix
6ad6467e73 Reformat code 2020-02-03 09:10:33 +01:00
badaix
51565176ab Adapt playback speed to latency 2020-02-02 21:51:03 +01:00
Johannes Pohl
e7e57d63cd
Merge pull request #539 from cmfcmf/librespot-killall
Add option to not kill all librespot instances
2020-02-02 19:58:27 +01:00
Johannes Pohl
a0c8800f24
Merge pull request #537 from cmfcmf/airplay-metadata
Fix Airplay metadata, auto Airplay port selection, fix Airplay device names
2020-02-02 16:42:58 +01:00
Johannes Pohl
a894520599
Merge branch 'develop' into airplay-metadata 2020-02-02 16:41:16 +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
c4a4c77417 cmake: fix libatomic checks
CMAKE_REQUIRED_FLAGS is not appropriate for libraries.
They are added before object files to the compiler command line arguments.
Depending on compiler settings it might decide that the library is not
actually needed because at that point it hasn't seen any object file
using a symbol from the library.
See "-Wl,--as-needed"
2020-02-02 16:20:23 +01:00
Felix Geyer
322f270839 Fix typos in log messages 2020-02-02 16:16:51 +01:00
amak
a8bfc32be5 Add Void Linux installation instructions 2020-02-02 16:16:02 +01:00
badaix
effa0e7115 Switch back to system time 2020-02-02 16:05:05 +01:00
badaix
f3c3d401c0 Use steady clock instead of system time 2020-02-02 13:32:46 +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
Christian Flach
678f102a98
Add option to not kill all librespot instances 2020-01-30 14:19:12 +01:00