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.
tickets/29/29/1
Adam Johnson 3 years ago
parent
commit
fa41ec7f16
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  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