Commit graph

1973 commits

Author SHA1 Message Date
badaix
5a68f95828 update stream configuraion 2019-11-20 22:06:16 +01:00
badaix
cdc5dd2bac remove unused function 2019-11-17 15:57:07 +01:00
badaix
ba2e40909e update webinterface 2019-11-17 15:17:32 +01:00
badaix
b8be0e5349 Opus encoder handles arbitrary chunk sizes 2019-11-17 15:17:10 +01:00
badaix
10db57406b force stream buffer to at least 10ms 2019-11-17 15:15:37 +01:00
badaix
211b5afdd3 fix mem leak 2019-11-17 15:14:55 +01:00
badaix
dbd0b018e2 update jsonrpc++ to v1.3.0 2019-11-15 17:46:10 +01:00
badaix
e9dbb6c3b6 fix crash during heavy websocket load 2019-11-15 17:45:49 +01:00
Johannes Pohl
5d7bac11ba
Update TODO.md 2019-11-06 11:12:24 +00:00
Bart Ribbers
276e42890e README: improve Alpine Linux installation instructions
snapcast has been moved to the community repositories, so the notice for
the testing repository is not needed anymore
Also add instructions on how to just install the server or client
2019-11-05 15:26:43 +00:00
badaix
d198b4d0b1 some more items on the todo list 2019-11-04 22:42:32 +01:00
badaix
a332a3c994 Add information for v0.17.0 2019-11-04 17:24:28 +01:00
badaix
badbef3eb6 Add Opus in stream section 2019-11-04 17:22:52 +01:00
badaix
0355293f4a Add string signal to signal handler callback 2019-11-04 16:55:23 +01:00
badaix
49f492ba97 Add libopus to CI 2019-11-04 15:08:10 +01:00
badaix
c439549d1e Add callback function to signal handler 2019-11-04 15:07:18 +01:00
badaix
07e8290ee4 Add namespace for encoder and decoder 2019-11-04 14:53:02 +01:00
Szabolcs Hubai
c1a2fedd8d cmake: set CMAKE_CXX_LINK_FLAGS in CheckAtomic module
The checks are valid, the "atomic" is added to CMAKE_REQUIRED_LIBRARIES,
but it fails during linking with undefined reference to __atomic_store_8
error.

"-latomic" needs to be added to CMAKE_CXX_LINK_FLAGS to fix that.
2019-11-04 14:37:35 +01:00
Szabolcs Hubai
e177689426 cmake: fix test HAVE_CXX_LIBATOMICS64_2ARGS in CheckAtomic module
It's no sense to repeat an already failed check.
Looks like a copy-paste bug as the HAVE_CXX_LIBATOMICS64_2ARGS test
runs again the very same check as the HAVE_LIBATOMIC_2ARGS.

Without this change the check obviously fails:

-- Performing Test HAVE_LIBATOMIC_2ARGS
-- Performing Test HAVE_LIBATOMIC_2ARGS - Failed
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Failed
-- Looking for __atomic_load_8 in atomic
-- Looking for __atomic_load_8 in atomic - not found
-- Performing Test HAVE_CXX_LIBATOMICS64_2ARGS
-- Performing Test HAVE_CXX_LIBATOMICS64_2ARGS - Failed
CMake Error at cmake/CheckAtomic.cmake:146 (message):
  Host compiler appears to require libatomic, but cannot find it.
Call Stack (most recent call first):
  CMakeLists.txt:80 (include)

With this change the test HAVE_CXX_LIBATOMICS64_2ARGS succeeds:

-- Performing Test HAVE_LIBATOMIC_2ARGS
-- Performing Test HAVE_LIBATOMIC_2ARGS - Failed
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Failed
-- Looking for __atomic_load_8 in atomic
-- Looking for __atomic_load_8 in atomic - not found
-- Performing Test HAVE_CXX_LIBATOMICS64_2ARGS
-- Performing Test HAVE_CXX_LIBATOMICS64_2ARGS - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITH_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITH_LIB - Success
2019-11-04 14:37:35 +01:00
Szabolcs Hubai
5c4174cfc1 cmake: use 'long long' for atomic check
Use 'long long' in the check_working_cxx_atomics check.
Without it the check succeed but fails during linking:

-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success

Tested with the following toolchains with OpenWrt:
* toolchain-aarch64_cortex-a72_gcc-8.3.0_musl
* toolchain-arm_cortex-a7+neon-vfpv4_gcc-8.3.0_musl_eabi
* toolchain-i386_pentium_gcc-8.3.0_musl
* toolchain-mips_24kc_gcc-8.3.0_musl
* toolchain-mipsel_24kc_gcc-8.3.0_musl
2019-11-04 14:37:35 +01:00
badaix
7dffa6ed65 Opus improve error handling 2019-11-03 20:23:54 +01:00
badaix
6cd3b7df67 opus add pseudo header and configurable options 2019-11-03 17:37:04 +01:00
badaix
3fea89a60b move assign function into implementation 2019-11-03 12:41:08 +01:00
badaix
2657b439b2 suppress future_error 2019-11-03 12:40:47 +01:00
Jordan Speicher
17264a0409 Fix relative install paths 2019-11-03 10:54:06 +01:00
badaix
81fc9ba389 add opus dependency to debian package 2019-11-02 16:20:25 +01:00
badaix
2a47e0b672 add opus options to cmakefiles 2019-11-02 16:19:59 +01:00
badaix
258bab4f65 WIP opus is working, some values are hard coded 2019-11-02 13:19:55 +01:00
badaix
8d47371115 Merge branch 'elli89-opus' into develop 2019-11-01 23:08:04 +01:00
badaix
0c7691756c merge PR#4 2019-11-01 23:07:32 +01:00
badaix
017988f99e store server status in a more compact format 2019-11-01 18:48:50 +01:00
badaix
4d7f411bdc rename config.h to config.hpp 2019-11-01 18:43:03 +01:00
badaix
55d74cb3d5 reformat comments 2019-11-01 18:25:32 +01:00
badaix
505769760e socket on the stack 2019-11-01 17:54:25 +01:00
badaix
7884348ae6 add TODO.md 2019-11-01 16:50:41 +01:00
badaix
58da57b6d2 fix warning 2019-11-01 16:50:27 +01:00
badaix
068c6ccc6f fix thread race 2019-11-01 15:23:52 +01:00
badaix
b5d8cefbcc fix data race and speedup batch commands 2019-11-01 15:23:38 +01:00
badaix
698c94bc2d return const references instead of copies 2019-11-01 15:22:38 +01:00
badaix
696752680c add options for DEBUG and SANITIZE 2019-11-01 15:21:56 +01:00
badaix
4022e59018 configurable number of threads 2019-11-01 11:41:20 +01:00
badaix
c58f66a87a less logging 2019-11-01 11:40:31 +01:00
badaix
7d8e77cfc0 check for 32bit lib atomic 2019-10-28 21:19:48 +01:00
badaix
ef36b406f5 Merge branch 'master' into develop 2019-10-28 19:38:00 +01:00
badaix
6fae88dff7 merge with master 2019-10-28 19:33:57 +01:00
badaix
786d8b71e3 merge with master 2019-10-28 19:23:15 +01:00
badaix
64c78d1a14 add CheckAtomic cmake module 2019-10-28 19:18:01 +01:00
badaix
388df08a7a remove unused var 2019-10-27 22:26:30 +01:00
badaix
1690f5ccc1 fix signal-unsafe call inside of a signal 2019-10-27 18:22:35 +01:00
badaix
f045602915 fix lock order inversion 2019-10-27 12:55:37 +01:00