mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-19 17:37:45 +02:00
re-added Outurnate's Windows client for master branch
This commit is contained in:
parent
6118e1a79d
commit
094ec9b53c
20 changed files with 857 additions and 107 deletions
|
@ -142,6 +142,10 @@ void Controller::onMessageReceived(ClientConnection* /*connection*/, const msg::
|
|||
#ifdef HAS_COREAUDIO
|
||||
if (!player_ && (player_name.empty() || (player_name == "coreaudio")))
|
||||
player_ = make_unique<CoreAudioPlayer>(pcm_device, stream_);
|
||||
#endif
|
||||
#ifdef HAS_WASAPI
|
||||
if (!player_ && (player_name.empty() || (player_name == "wasapi")))
|
||||
player_ = make_unique<WASAPIPlayer>(pcm_device, stream_);
|
||||
#endif
|
||||
if (!player_)
|
||||
throw SnapException("No audio player support");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue