Commit graph

1973 commits

Author SHA1 Message Date
badaix
7da35880e8 EncoderFactory returns a unique_ptr 2019-12-29 21:10:40 +01:00
badaix
8429c82091 Fix timestamp for first chunk 2019-12-29 21:07:04 +01:00
badaix
3b9c2db79b EncoderFactory returns a unique_ptr 2019-12-29 21:06:02 +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
e9a5a36855 Client uses less memory allocations 2019-12-12 21:46:23 +01:00
badaix
6999391f43 Update comment in snapserver.conf 2019-12-11 22:54:11 +01:00
badaix
6b793dfb76 Replace some shared_ptr with unique_ptr 2019-12-11 22:48:21 +01:00
badaix
d8a6e63691 Use promise/future for sync messages 2019-12-11 22:47:11 +01:00
badaix
565da8c04a Log phase in error logging 2019-12-11 21:34:02 +01:00
badaix
33136df424 Use at least two worker threads 2019-12-11 09:17:59 +01:00
badaix
31e7375ed4 Add plist files for macOS 2019-12-11 09:17:34 +01:00
badaix
49d5444bb3 Add boost and opus to macOS build instructions 2019-12-10 22:17:48 +01:00
badaix
73e42f69cb Android hostname uses ro.product.model as fallback 2019-12-08 21:25:43 +01:00
badaix
aa3ce3d5ab Rename stream parameter "read_ms" to "chunk_ms" 2019-12-07 14:58:19 +01:00
badaix
b5551d9451 Server can run on the main thread only 2019-12-06 09:12:21 +01:00
badaix
210ab80f71 Switch from deadline_timer to steady_timer 2019-12-05 23:01:18 +01:00
badaix
6c819b8f0c Add Opus to Android make targets 2019-12-05 22:56:20 +01:00
badaix
5da2df1e48 Start snapcast from init scripts 2019-12-04 20:09:17 +01:00
badaix
daf4591d55 Switch PipeStream to read from stream_descriptor 2019-12-03 00:21:32 +01:00
badaix
eb94867b57 Improve check for systime vs streamtime 2019-12-01 22:56:49 +01:00
badaix
f35efe568a Rename buffer parameter 2019-12-01 22:07:03 +01:00
badaix
0341174d5d Reformat code 2019-12-01 22:06:50 +01:00
badaix
a47849a571 Clean up AsioStream reader code 2019-12-01 11:38:55 +01:00
badaix
3cb9902bbe Rename experimental.tcp to tcp 2019-11-28 22:31:03 +01:00
badaix
fd616956cb Add client mode to TcpStream 2019-11-28 20:07:43 +01:00
badaix
43c58febd7 Add stream buffer to AsioStream 2019-11-28 20:05:54 +01:00
badaix
ea62d8d768 Add server section to config 2019-11-27 23:03:47 +01:00
badaix
22262bd203 Delete UDP stream 2019-11-27 23:03:13 +01:00
badaix
40c910104b Path component in URI is optional 2019-11-27 22:59:12 +01:00
badaix
a625a5d806 Fix crash in TCP stream disconnect 2019-11-27 22:58:32 +01:00
badaix
5c1f35d6db Reintroduce player state 2019-11-27 21:33:25 +01:00
badaix
e998f9e3b0 Fix travis error on xcode 10.3 2019-11-27 20:45:13 +01:00
badaix
48e76ea58d Add abstract AsioStream class 2019-11-27 20:44:34 +01:00
badaix
b00ee4aaf8 Auto detect number of threads to use
use min 2 threads, max 4, depending on the number of hardware threads
2019-11-25 23:54:00 +01:00
badaix
b6a4ffa758 Server can run on a single thread
Number of threads can be configure in snapserver.conf:
[server]
threads = 1
2019-11-25 23:00:44 +01:00
badaix
0ad3f1a57d Fix compile error 2019-11-24 21:13:34 +01:00
badaix
646c7593c1 Add experimental TCP and UDP streams 2019-11-24 18:24:39 +01:00
badaix
6e138ff49f Pass io_context to stream readers 2019-11-23 12:09:23 +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