Under the hood, it manages a pool of ffplay instances and uses OS-level process suspension (via ctypes on Windows and signal on POSIX) to provide an "instant-off" pause experience without cutting the audio buffer mid-stream.
Check it out here: https://github.com/iamekabir-web/Nirvana