Commit graph

30 commits

Author SHA1 Message Date
badaix
d5677b6f78 Reformat code 2025-01-09 15:06:35 +01:00
badaix
6f040d3d22 Cleanup Snapserver includes 2024-04-04 19:02:45 +02:00
badaix
b6d69ca919 Fix typo 2024-03-15 12:01:51 +01:00
badaix
275a53a845 Remove PosixStream layer 2024-03-13 20:27:13 +01:00
badaix
e1c8250876 Reformat code 2022-12-29 19:10:38 +01:00
badaix
caef2b7b87 Clean up asio includes 2022-01-31 21:07:34 +01:00
badaix
d326252268 Rename PcmListener to PcmStream::Listener
Reorganize include order
2021-12-12 12:19:46 +01:00
badaix
12aeb5859c Use strand executors 2021-09-18 11:11:34 +02:00
badaix
2e64d81f79 Add control_script to stream sources
New parameter "control_script", starting a script on stream start.
Parameters "--snapcast-port" and "--stream" are passed to the script
2021-05-23 12:39:47 +02:00
badaix
27a9e710a2 Add meta stream source 2020-09-26 12:44:33 +02:00
badaix
dec7306a84 Replace some pointers with references 2020-08-18 23:36:17 +02:00
badaix
ed0521a1d2 Rename onChunkRead to onNewChunk 2020-07-11 19:39:58 +02:00
badaix
2b14641704 Makre resync more tolerant 2020-03-01 18:54:00 +01:00
badaix
a8998997e9 Change stream reader to use actual chunk duration
e.g. a configured chunk_ms of 11 will read a 44.1kHz stream in chunks of 485 frames (=10.9977ms)
2020-02-29 19:24:47 +01:00
Jean-Philippe Menil
3e91984d3e fix missing include 2020-02-16 21:04:27 +01:00
badaix
3a7f1573f2 Less debug logging 2020-01-28 00:06:54 +01:00
badaix
7b268b83df Remove unused shared_from_this 2020-01-08 21:22:56 +01:00
badaix
d80c87351c Small fixes and reformats 2020-01-05 21:51:59 +01:00
badaix
9353c61d7b Use helper function for async_wait
PosixStream waits 100ms before reconnecting
2020-01-05 14:36:46 +01:00
badaix
6d7e25e9af Switch stream readers to use asio event loop 2020-01-03 22:40:34 +01:00
badaix
8429c82091 Fix timestamp for first chunk 2019-12-29 21:07:04 +01:00
badaix
aa3ce3d5ab Rename stream parameter "read_ms" to "chunk_ms" 2019-12-07 14:58:19 +01:00
badaix
210ab80f71 Switch from deadline_timer to steady_timer 2019-12-05 23:01:18 +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
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
43c58febd7 Add stream buffer to AsioStream 2019-11-28 20:05:54 +01:00
badaix
5c1f35d6db Reintroduce player state 2019-11-27 21:33:25 +01:00
badaix
48e76ea58d Add abstract AsioStream class 2019-11-27 20:44:34 +01:00