mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-09 15:16:42 +02:00
added "TARGET=MAC" and dummy CoreAudio player
This commit is contained in:
parent
875bbf9551
commit
71e0a89e29
8 changed files with 119 additions and 5 deletions
|
@ -116,6 +116,8 @@ void Controller::onMessageReceived(ClientConnection* connection, const msg::Base
|
|||
player_.reset(new AlsaPlayer(pcmDevice_, stream_.get()));
|
||||
#elif HAS_OPENSL
|
||||
player_.reset(new OpenslPlayer(pcmDevice_, stream_.get()));
|
||||
#elif HAS_COREAUDIO
|
||||
player_.reset(new CoreAudioPlayer(pcmDevice_, stream_.get()));
|
||||
#else
|
||||
throw SnapException("No ALSA or OPENSL support");
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue