mozilla / cubeb

Cross platform audio library
ISC License
439 stars 124 forks source link

Add a header to be able to use a frame profiler in cubeb #716

Closed padenot closed 2 years ago

padenot commented 2 years ago

The purpose of this header is to be swapped by cubeb users to use any number of frame profiler (tracy/Gecko Profiler/trace_event.h, etc.).

It's likely that this will get a bit more sophisticated in the future, if we don't switch to rust tracing facilities first. I mostly need the thread registration for now.