Index: Source/platform/audio/HRTFDatabaseLoader.h |
diff --git a/Source/platform/audio/HRTFDatabaseLoader.h b/Source/platform/audio/HRTFDatabaseLoader.h |
index 74408b2cf76efdf53acb8ca1eae4dffafdcbe8b1..4b7fffa7913f54f0d7aa740ad743afa61dd8b898 100644 |
--- a/Source/platform/audio/HRTFDatabaseLoader.h |
+++ b/Source/platform/audio/HRTFDatabaseLoader.h |
@@ -37,6 +37,8 @@ |
namespace blink { |
+class TaskSynchronizer; |
+ |
// HRTFDatabaseLoader will asynchronously load the default HRTFDatabase in a new thread. |
class PLATFORM_EXPORT HRTFDatabaseLoader final : public GarbageCollectedFinalized<HRTFDatabaseLoader> { |
@@ -61,7 +63,9 @@ public: |
float databaseSampleRate() const { return m_databaseSampleRate; } |
// Called in asynchronous loading thread. |
- void load(); |
+ void loadTask(); |
+ |
+ void cleanupTask(TaskSynchronizer*); |
sof
2014/11/11 12:05:30
Can we make this private?
haraken
2014/11/11 14:25:41
Done.
|
void trace(Visitor*) { } |