Home | History | Annotate | Download | only in audio

Lines Matching defs:HRTFDatabaseLoader

40 // HRTFDatabaseLoader will asynchronously load the default HRTFDatabase in a new thread.
42 class HRTFDatabaseLoader : public RefCounted<HRTFDatabaseLoader> {
44 // Lazily creates the singleton HRTFDatabaseLoader (if not already created) and starts loading asynchronously (when created the first time).
45 // Returns the singleton HRTFDatabaseLoader.
47 static PassRefPtr<HRTFDatabaseLoader> createAndLoadAsynchronouslyIfNecessary(double sampleRate);
49 // Returns the singleton HRTFDatabaseLoader.
50 static HRTFDatabaseLoader* loader() { return s_loader; }
53 ~HRTFDatabaseLoader();
68 // This can be called from any thread, but it is the callers responsibilty to call this while the context (and thus HRTFDatabaseLoader)
74 explicit HRTFDatabaseLoader(double sampleRate);
82 static HRTFDatabaseLoader* s_loader; // singleton