added "TARGET=MAC" and dummy CoreAudio player

This commit is contained in:
Johannes Pohl 2016-09-11 20:51:01 +02:00
parent 875bbf9551
commit 71e0a89e29
8 changed files with 119 additions and 5 deletions

View file

@ -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