mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-03 19:31:43 +02:00
Add client support for websockets
This commit is contained in:
parent
9fbf273caa
commit
6c02252d84
13 changed files with 393 additions and 118 deletions
|
@ -47,19 +47,20 @@ struct ClientSettings
|
|||
};
|
||||
|
||||
Mode mode{Mode::software};
|
||||
std::string parameter{""};
|
||||
std::string parameter;
|
||||
};
|
||||
|
||||
struct Server
|
||||
{
|
||||
std::string host{""};
|
||||
std::string host;
|
||||
std::string protocol;
|
||||
size_t port{1704};
|
||||
};
|
||||
|
||||
struct Player
|
||||
{
|
||||
std::string player_name{""};
|
||||
std::string parameter{""};
|
||||
std::string player_name;
|
||||
std::string parameter;
|
||||
int latency{0};
|
||||
player::PcmDevice pcm_device;
|
||||
SampleFormat sample_format;
|
||||
|
@ -69,7 +70,7 @@ struct ClientSettings
|
|||
|
||||
struct Logging
|
||||
{
|
||||
std::string sink{""};
|
||||
std::string sink;
|
||||
std::string filter{"*:info"};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue