mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-02 19:01:47 +02:00
Fix noise when paused
This commit is contained in:
parent
3b50f7a1ad
commit
c342b15a61
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ void PulsePlayer::writeCallback(pa_stream* stream, size_t nbytes)
|
|||
if (!stream_->getPlayerChunk(buffer_.data(), std::chrono::microseconds(usec), numFrames))
|
||||
{
|
||||
// LOG(INFO, LOG_TAG) << "Failed to get chunk. Playing silence.\n";
|
||||
memset(buffer_.data(), 0, numFrames);
|
||||
memset(buffer_.data(), 0, buffer_.size());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue