Commit graph

1787 commits

Author SHA1 Message Date
Jordan Speicher
ec2e7b23f5 Update instructions to include opus dependencies 2020-01-08 15:57:41 +01:00
badaix
865701aa0f Fix travis error on xcode 10.3 2019-12-26 14:00:30 +01:00
Johannes Pohl
982e538540
Update README.md 2019-12-26 13:57:59 +01:00
badaix
7a58526736 Add issue numbers in changelog 2019-11-22 20:09:48 +01:00
badaix
2794d747ff Update version number to v0.17.1 2019-11-22 19:37:07 +01:00
badaix
557c742e47 Fix random crash during client disconnect 2019-11-22 19:35:05 +01:00
badaix
0b94a56fe5 Fix compile error if u_char is not defined 2019-11-22 18:26:59 +01:00
badaix
3fe1d24715 Fix heap corruption 2019-11-21 23:55:40 +01:00
badaix
810c65773c Fix HAS_VORBIS_ENC define 2019-11-21 22:23:34 +01:00
badaix
bba4d4a5ef Fix release date 2019-11-21 00:14:43 +01:00
badaix
d4d67f5b1a Change release date 2019-11-20 23:47:55 +01:00
badaix
3f58875cdd Merge branch 'master' into develop 2019-11-20 23:40:47 +01:00
badaix
f20bd1b1e4 update version to 0.17.0 2019-11-20 22:40:21 +01:00
badaix
09bd4c3bf7 Remove underscore from usernames
Cleanup init scripts, use $USERNAME and $HOMDIR variables
2019-11-20 22:25:41 +01:00
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