Skip to content

Liquid Glass and Apple Music touches for the Spotify iOS app. A GPL-3.0 fork of spoti.pw 0.21.1.

C
566 B
Raw Blame
#pragma once
#import <Foundation/Foundation.h>
#import "SGAnchorRing.h"

#if SG_DRIVER
// Main thread only. The event's epoch and host time are captured where it happened.
void SGAnchorLog(NSString *kind, NSString *evidence, uint64_t epoch, uint64_t host);
// SpeedPitch owns the rings; only the diagnostic's main-thread drain calls this.
bool SGPlayerAnchorRead(SGAnchorSample *latest, unsigned *dropped);
double SGPlayerAnchorLatency(bool *engaged);
#else
static inline void SGAnchorLog(NSString *kind, NSString *evidence, uint64_t epoch, uint64_t host) {}
#endif