mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-19 03:56:14 +02:00
Remove unused code
This commit is contained in:
parent
b348bb3379
commit
a5f79cdf90
3 changed files with 16 additions and 17 deletions
|
@ -66,22 +66,6 @@ void StreamServer::addSession(std::shared_ptr<StreamSession> session)
|
|||
}
|
||||
|
||||
|
||||
// void StreamServer::onMetadataChanged(const PcmStream* pcmStream, std::shared_ptr<msg::StreamTags> meta)
|
||||
// {
|
||||
// // Send meta to all connected clients
|
||||
|
||||
// std::lock_guard<std::recursive_mutex> mlock(sessionsMutex_);
|
||||
// for (const auto& s : sessions_)
|
||||
// {
|
||||
// if (auto session = s.lock())
|
||||
// {
|
||||
// if (session->pcmStream().get() == pcmStream)
|
||||
// session->send(meta);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
void StreamServer::onChunkEncoded(const PcmStream* pcmStream, bool isDefaultStream, std::shared_ptr<msg::PcmChunk> chunk, double /*duration*/)
|
||||
{
|
||||
// LOG(TRACE, LOG_TAG) << "onChunkRead (" << pcmStream->getName() << "): " << duration << "ms\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue