Browse Source

Fix a couple error message typos

Alex Szpakowski 3 years ago
parent
commit
e167a77994
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/modules/sound/lullaby/CoreAudioDecoder.cpp

+ 2 - 2
src/modules/sound/lullaby/CoreAudioDecoder.cpp

@@ -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);