Commit graph

24 commits

Author SHA1 Message Date
badaix
6f040d3d22 Cleanup Snapserver includes 2024-04-04 19:02:45 +02:00
badaix
e1c8250876 Reformat code 2022-12-29 19:10:38 +01:00
badaix
0eb987f66e Meta stream considers paused streams as inactive 2022-07-20 21:01:19 +02:00
badaix
9e3c0fdf55 Add "mute" to stream API 2022-07-13 17:35:49 +02:00
badaix
d326252268 Rename PcmListener to PcmStream::Listener
Reorganize include order
2021-12-12 12:19:46 +01:00
badaix
4df05105a9 Fix data races 2021-09-23 20:32:44 +02:00
badaix
2efd00d8ef Clean up mutexes 2021-09-18 13:42:43 +02:00
badaix
004ea21e3f Make metadata part of the properties 2021-09-01 18:18:36 +02:00
badaix
077a6fc1a4 Add control functions to PcmStream
-move json parsing to Server class
-improve error handling with the new ErrorCode object
2021-07-04 21:33:45 +02:00
badaix
cee6b2cfee Enable control of meta streams 2021-06-28 22:25:21 +02:00
badaix
3120a18326 Forward metadata and properties in meta stream 2021-06-27 13:00:35 +02:00
badaix
0853c7c701 Make metadata thread safe, poll properties 2021-06-23 20:48:25 +02:00
badaix
f817602a50 Rename "meta" to "metadata" 2021-06-22 14:35:38 +02:00
badaix
7c11cb7559 Add support for Player.Properties 2021-05-30 22:20:49 +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
1725cffc6e Log stream state as string 2021-05-04 23:51:57 +02:00
badaix
7597f15d24 Tidy up code 2021-02-11 08:33:36 +01:00
badaix
7abec2eaf6 Fix warning 2020-11-16 20:54:04 +01:00
badaix
541d803452 Make audio backend "file" configurable 2020-10-05 22:42:56 +02:00
badaix
876f424bae Add null encoder for use with meta streams 2020-09-27 12:55:32 +02:00
badaix
888e19a8a4 Avoid copying of the PCM stream 2020-09-27 11:06:00 +02:00
badaix
fcb40f325a Resample only if needed 2020-09-26 22:35:04 +02:00
badaix
b1a990be57 Improve sync between meta streams 2020-09-26 21:48:08 +02:00
badaix
27a9e710a2 Add meta stream source 2020-09-26 12:44:33 +02:00