Fixed audio destruction and construction.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
@@ -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.
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user