mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-21 04:56:13 +02:00
basic coreAudio playback is working
This commit is contained in:
parent
71e0a89e29
commit
20ab3deedb
4 changed files with 81 additions and 10 deletions
|
@ -119,7 +119,7 @@ void Controller::onMessageReceived(ClientConnection* connection, const msg::Base
|
|||
#elif HAS_COREAUDIO
|
||||
player_.reset(new CoreAudioPlayer(pcmDevice_, stream_.get()));
|
||||
#else
|
||||
throw SnapException("No ALSA or OPENSL support");
|
||||
throw SnapException("No audio player support");
|
||||
#endif
|
||||
player_->setVolume(serverSettings_->getVolume() / 100.);
|
||||
player_->setMute(serverSettings_->isMuted());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue