Fixed audio destruction and construction.

This commit is contained in:
2025-05-18 23:40:09 -07:00
parent 61fb586f86
commit f52afe9c92
7 changed files with 67 additions and 22 deletions

View File

@@ -25,6 +25,7 @@ namespace ehs
pw_core *core;
pw_stream *input;
pw_stream *output;
spa_hook paramsHook;
static void RegistryEventGlobal(void *data, UInt_32 id, UInt_32 permissions, const char *type, UInt_32 version, const spa_dict *props);

View File

@@ -6,7 +6,7 @@
#define EHS_64_BIT
#elif defined(_M_ARM64) || defined(__aarch64__)
#define EHS_LITTLE_ENDIAN
#define EHS_ARCH_ARM64
#define EHS_ARCH_AARCH64
#define EHS_64_BIT
#else
#error Unsupported architecture.

View File

@@ -281,6 +281,8 @@ namespace ehs
//static Str_8 ToStr();
static UInt_64 RetrieveFreq_AARCH64();
static UInt_64 RetrieveTSC_Freq();
static UInt_64 CalculateTSC_Freq();