log: replace all NGLOG with LOG
This commit is contained in:
@ -25,7 +25,7 @@ struct SDL2Sink::Impl {
|
||||
|
||||
SDL2Sink::SDL2Sink() : impl(std::make_unique<Impl>()) {
|
||||
if (SDL_Init(SDL_INIT_AUDIO) < 0) {
|
||||
NGLOG_CRITICAL(Audio_Sink, "SDL_Init(SDL_INIT_AUDIO) failed with: {}", SDL_GetError());
|
||||
LOG_CRITICAL(Audio_Sink, "SDL_Init(SDL_INIT_AUDIO) failed with: {}", SDL_GetError());
|
||||
impl->audio_device_id = 0;
|
||||
return;
|
||||
}
|
||||
@ -58,7 +58,7 @@ SDL2Sink::SDL2Sink() : impl(std::make_unique<Impl>()) {
|
||||
impl->audio_device_id = SDL_OpenAudioDevice(
|
||||
device, false, &desired_audiospec, &obtained_audiospec, SDL_AUDIO_ALLOW_FREQUENCY_CHANGE);
|
||||
if (impl->audio_device_id <= 0) {
|
||||
NGLOG_CRITICAL(Audio_Sink, "SDL_OpenAudioDevice failed with code {} for device \"{}\"",
|
||||
LOG_CRITICAL(Audio_Sink, "SDL_OpenAudioDevice failed with code {} for device \"{}\"",
|
||||
impl->audio_device_id, Settings::values.audio_device_id);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user