Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ASpoonPlaysGames committed Aug 26, 2024
1 parent 4ac2e70 commit 44a050b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions primedev/client/audio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ bool ShouldPlayAudioEvent(const char* eventName, const std::shared_ptr<EventOver
return true; // good to go
}

static bool (__fastcall* o_pLoadSampleMetadata)(void* sample, void* audioBuffer, unsigned int audioBufferLength, int audioType) = nullptr;
static bool(__fastcall* o_pLoadSampleMetadata)(void* sample, void* audioBuffer, unsigned int audioBufferLength, int audioType) = nullptr;
static bool __fastcall h_LoadSampleMetadata(void* sample, void* audioBuffer, unsigned int audioBufferLength, int audioType)
{
// Raw source, used for voice data only
Expand Down Expand Up @@ -493,14 +493,14 @@ static bool __fastcall h_LoadSampleMetadata(void* sample, void* audioBuffer, uns
return res;
}

static void* (__fastcall* o_pSub_1800294C0)(void* a1, void* a2) = nullptr;
static void*(__fastcall* o_pSub_1800294C0)(void* a1, void* a2) = nullptr;
static void* __fastcall h_Sub_1800294C0(void* a1, void* a2)
{
pszAudioEventName = reinterpret_cast<const char*>((*((__int64*)a2 + 6)));
return o_pSub_1800294C0(a1, a2);
}

static void (__fastcall* o_pMilesLog)(int level, const char* string) = nullptr;
static void(__fastcall* o_pMilesLog)(int level, const char* string) = nullptr;
static void __fastcall h_MilesLog(int level, const char* string)
{
if (!Cvar_mileslog_enable->GetBool())
Expand Down

0 comments on commit 44a050b

Please sign in to comment.