LogLevel: rename DEFAULT to NOTICE

"DEFAULT" is a bad name - all it says is that it's the default value,
but it doesn't say what it means.  The name NOTICE mimics the syslog
level.
This commit is contained in:
Max Kellermann
2020-09-23 12:54:15 +02:00
parent e3106a019d
commit c843bce9f5
18 changed files with 60 additions and 58 deletions

View File

@@ -364,17 +364,17 @@ faad_stream_decode(DecoderClient &client, InputStream &is,
}
if (frame_info.channels != audio_format.channels) {
FormatDefault(faad_decoder_domain,
"channel count changed from %u to %u",
audio_format.channels, frame_info.channels);
FormatNotice(faad_decoder_domain,
"channel count changed from %u to %u",
audio_format.channels, frame_info.channels);
break;
}
if (frame_info.samplerate != audio_format.sample_rate) {
FormatDefault(faad_decoder_domain,
"sample rate changed from %u to %lu",
audio_format.sample_rate,
(unsigned long)frame_info.samplerate);
FormatNotice(faad_decoder_domain,
"sample rate changed from %u to %lu",
audio_format.sample_rate,
(unsigned long)frame_info.samplerate);
break;
}