mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-04 03:41:43 +02:00
update logger
This commit is contained in:
parent
2955b20e9d
commit
ce55f15c02
36 changed files with 967 additions and 389 deletions
|
@ -71,7 +71,7 @@ bool OggDecoder::decode(msg::PcmChunk* chunk)
|
|||
if (result < 0)
|
||||
{
|
||||
/* missing or corrupt data at this page position */
|
||||
logE << "Corrupt or missing data in bitstream; continuing...\n";
|
||||
LOG(ERROR) << "Corrupt or missing data in bitstream; continuing...\n";
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -229,11 +229,11 @@ SampleFormat OggDecoder::setHeader(msg::CodecHeader* chunk)
|
|||
std::string comment(*ptr);
|
||||
if (comment.find("SAMPLE_FORMAT=") == 0)
|
||||
sampleFormat_.setFormat(comment.substr(comment.find("=") + 1));
|
||||
logO << "comment: " << comment << "\n";;
|
||||
LOG(INFO) << "comment: " << comment << "\n";;
|
||||
++ptr;
|
||||
}
|
||||
|
||||
logO << "Encoded by: " << vc.vendor << "\n";
|
||||
LOG(INFO) << "Encoded by: " << vc.vendor << "\n";
|
||||
|
||||
return sampleFormat_;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue