Skip to content

Commit

Permalink
make some failure messages a bit easier to find back in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
barbeque-squared committed Dec 20, 2023
1 parent 3688f2d commit 15564f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/base/UMusic.pas
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ procedure InitializeSound;
CurrentAudioDecoder := InterfaceList[i] as IAudioDecoder;
if (not CurrentAudioDecoder.InitializeDecoder()) then
begin
Log.LogError('Initialize failed, Removing - '+ CurrentAudioDecoder.GetName);
Log.LogError('Initialize failed, Removing decoder: '+ CurrentAudioDecoder.GetName);
MediaManager.Remove(CurrentAudioDecoder);
end;
end;
Expand All @@ -810,7 +810,7 @@ procedure InitializeSound;
DefaultAudioPlayback := CurrentAudioPlayback;
break;
end;
Log.LogError('Initialize failed, Removing - '+ CurrentAudioPlayback.GetName);
Log.LogError('Initialize failed, Removing playback: '+ CurrentAudioPlayback.GetName);
MediaManager.Remove(CurrentAudioPlayback);
end;

Expand All @@ -825,7 +825,7 @@ procedure InitializeSound;
DefaultAudioInput := CurrentAudioInput;
break;
end;
Log.LogError('Initialize failed, Removing - '+ CurrentAudioInput.GetName);
Log.LogError('Initialize failed, Removing input: '+ CurrentAudioInput.GetName);
MediaManager.Remove(CurrentAudioInput);
end;

Expand Down

0 comments on commit 15564f4

Please sign in to comment.