Add thread name, remove forward declarations for removed functions

This commit is contained in:
goeiecool9999 2024-12-14 22:28:57 +01:00
parent 4b78f35f7d
commit 13f3d91387

View file

@ -69,9 +69,6 @@ void LatteShaderCache_LoadVulkanPipelineCache(uint64 cacheTitleId);
bool LatteShaderCache_updatePipelineLoadingProgress();
void LatteShaderCache_ShowProgress(const std::function <bool(void)>& loadUpdateFunc, bool isPipelines);
void LatteShaderCache_InitBootSound();
void LatteShaderCache_ShutdownBootSound();
void LatteShaderCache_handleDeprecatedCacheFiles(fs::path pathGeneric, fs::path pathGenericPre1_25_0, fs::path pathGenericPre1_16_0);
struct
@ -201,6 +198,7 @@ class BootSoundPlayer
void StreamBootSound()
{
SetThreadName("bootsnd");
constexpr sint32 sampleRate = 48'000;
constexpr sint32 bitsPerSample = 16;
constexpr sint32 samplesPerBlock = sampleRate / 10; // block is 1/10th of a second