mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-06 12:51:42 +02:00
clean ups
This commit is contained in:
parent
9bac003bb9
commit
6796209c9f
2 changed files with 1 additions and 2 deletions
|
@ -23,7 +23,6 @@
|
||||||
#include <thread>
|
#include <thread>
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <alsa/asoundlib.h>
|
|
||||||
#include "../stream.h"
|
#include "../stream.h"
|
||||||
#include "pcmDevice.h"
|
#include "pcmDevice.h"
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ int Log::sync()
|
||||||
std::cout << Timestamp() << " [err] " << buffer_.str() << std::flush;
|
std::cout << Timestamp() << " [err] " << buffer_.str() << std::flush;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
std::cout << Timestamp() << " [" << std::to_string(priority_) << "] " << buffer_.str() << std::flush;
|
std::cout << Timestamp() << " [" << priority_ << "] " << buffer_.str() << std::flush;
|
||||||
syslog(priority_, "%s", buffer_.str().c_str());
|
syslog(priority_, "%s", buffer_.str().c_str());
|
||||||
}
|
}
|
||||||
buffer_.str("");
|
buffer_.str("");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue