mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-12 16:46:42 +02:00
Reintroduce player state
This commit is contained in:
parent
e998f9e3b0
commit
5c1f35d6db
3 changed files with 34 additions and 5 deletions
|
@ -138,6 +138,7 @@ void PcmStream::setState(const ReaderState& newState)
|
|||
{
|
||||
if (newState != state_)
|
||||
{
|
||||
LOG(DEBUG) << "State changed: " << state_ << " => " << newState << "\n";
|
||||
state_ = newState;
|
||||
if (pcmListener_)
|
||||
pcmListener_->onStateChanged(this, newState);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue