Skip to content

Commit 0252d67

Browse files
committed
[audioplugins] fix stale Discovered state comment
persistDiscoveredPlaceholders() produces the Discovered state (the validate-later flow), so it is no longer 'reserved with no producer'.
1 parent b41fa87 commit 0252d67

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

framework/audioplugins/audiopluginstypes.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,10 @@ inline int intAttribute(const PluginMeta& meta, const String& key, int fallback
113113
}
114114

115115
// Lifecycle state of a plugin entry in the cache.
116-
// Discovered: scanner found the file at `path`; validation has not yet completed.
117-
// (Reserved: no producer in the framework yet — apps that want a
118-
// pre-validation insertion flow can transition to this state.)
116+
// Discovered: scanner found the file at `path`; validation has not yet
117+
// completed. RegisterAudioPluginsScenario::persistDiscoveredPlaceholders()
118+
// writes these when paths are registered with validate=false (the
119+
// "validate later" flow); scanPlugins() re-validates them later.
119120
// Validated: validation succeeded; the plugin is usable.
120121
// Missing: `path` was known previously but the scanner no longer finds it.
121122
// Error: validation failed; `errorCode` carries the details.

0 commit comments

Comments
 (0)