Fix a couple error message typos

This commit is contained in:
Alex Szpakowski
2022-04-22 19:38:17 -03:00
parent ce18340312
commit e167a77994
@@ -64,13 +64,13 @@ CoreAudioDecoder::CoreAudioDecoder(Stream *stream, int bufferSize)
// Open the file represented by the Stream.
err = AudioFileOpenWithCallbacks(stream, readFunc, nullptr, getSizeFunc, nullptr, kAudioFileMP3Type, &audioFile);
if (err != noErr)
throw love::Exception("Could open audio file for decoding with CoreAudio.");
throw love::Exception("Could not open audio file for decoding with CoreAudio.");
// We want to use the Extended AudioFile API.
err = ExtAudioFileWrapAudioFileID(audioFile, false, &extAudioFile);
if (err != noErr)
throw love::Exception("Could open audio file for decoding with CoreAudio.");
throw love::Exception("Could not open audio file for decoding with CoreAudio.");
// Get the format of the audio data.
UInt32 propertySize = sizeof(inputInfo);