#ifdef __APPLE__ #include #include #include "macos/NowPlayingBridge.h" #include "os.h" uint64_t GetMemInfo() { uint64_t mem = 0; size_t size = sizeof(mem); sysctlbyname("hw.memsize", &mem, &size, nullptr, 0); return mem; } std::string GetNowPlaying() { return getCurrentPlayingTitle(); } #endif