Browse Source

Always decompress OGGs updated by plUruLauncher.

This prevents users from needing to manually delete files from their
streamingCache folder when an audio file is updated. Note that this will
not fix streamingCaches that are already in a borked state.

(cherry picked from commit fa41ec7f16)
working_subtitles
Adam Johnson 3 years ago committed by rarified
parent
commit
2160831221
  1. 4
      Sources/Plasma/Apps/plClientPatcher/UruPlayer.cpp

4
Sources/Plasma/Apps/plClientPatcher/UruPlayer.cpp

@ -329,9 +329,9 @@ static void DecompressOgg (ManifestFile *mf) {
} }
if (hsCheckBits(flags, plManifestFile::kSndFlagCacheSplit)) if (hsCheckBits(flags, plManifestFile::kSndFlagCacheSplit))
plAudioFileReader::CacheFile(path, true, true); plAudioFileReader::CacheFile(path, true, false);
if (hsCheckBits(flags, plManifestFile::kSndFlagCacheStereo)) if (hsCheckBits(flags, plManifestFile::kSndFlagCacheStereo))
plAudioFileReader::CacheFile(path, false, true); plAudioFileReader::CacheFile(path, false, false);
} }
break; break;
} }

Loading…
Cancel
Save