mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-31 01:46:16 +02:00
Rename WasapiMode to SharingMode
The mode is more general and will be applied in a second step also to other audio devices
This commit is contained in:
parent
5cc37f98f4
commit
30753f9f61
5 changed files with 17 additions and 21 deletions
|
@ -27,13 +27,11 @@
|
|||
|
||||
struct ClientSettings
|
||||
{
|
||||
#ifdef HAS_WASAPI
|
||||
enum class WasapiMode
|
||||
enum class SharingMode
|
||||
{
|
||||
SHARED,
|
||||
EXCLUSIVE
|
||||
exclusive,
|
||||
shared
|
||||
};
|
||||
#endif
|
||||
|
||||
struct ServerSettings
|
||||
{
|
||||
|
@ -47,9 +45,7 @@ struct ClientSettings
|
|||
int latency{0};
|
||||
PcmDevice pcm_device;
|
||||
SampleFormat sample_format;
|
||||
#ifdef HAS_WASAPI
|
||||
WasapiMode wasapi_mode{WasapiMode::SHARED};
|
||||
#endif
|
||||
SharingMode sharing_mode{SharingMode::shared};
|
||||
};
|
||||
|
||||
struct LoggingSettings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue