@@ -519,7 +519,7 @@ class AudioModification
519519 // ! provide a matching c'tor if subclassing AudioModification.
520520 // ! \p optionalModificationToClone will be nullptr when creating new modifications with
521521 // ! default state from scratch, or will point to a modification (referencing the same
522- // ! \p audioSource) from which the internal state should be cloned into the new modifiction .
522+ // ! \p audioSource) from which the internal state should be cloned into the new modification .
523523 explicit AudioModification (AudioSource* audioSource, ARAAudioModificationHostRef hostRef, const AudioModification* optionalModificationToClone) noexcept ;
524524// @}
525525
@@ -1195,10 +1195,15 @@ class DocumentController : public DocumentControllerInterface,
11951195
11961196// ! @name Host Interface Access
11971197// @{
1198+ // ! Returns the audio access controller that the host has provided for this document controller.
11981199 HostAudioAccessController* getHostAudioAccessController () noexcept { return &_hostAudioAccessController; }
1200+ // ! Returns the archiving controller that the host has provided for this document controller.
11991201 HostArchivingController* getHostArchivingController () noexcept { return &_hostArchivingController; }
1202+ // ! Returns the optional content access controller that the host has provided for this document controller.
12001203 HostContentAccessController* getHostContentAccessController () noexcept { return (_hostContentAccessController.isProvided ()) ? &_hostContentAccessController : nullptr ; }
1204+ // ! Returns the optional model update controller that the host has provided for this document controller.
12011205 HostModelUpdateController* getHostModelUpdateController () noexcept { return (_hostModelUpdateController.isProvided ()) ? &_hostModelUpdateController : nullptr ; }
1206+ // ! Returns the optional playback controller that the host has provided for this document controller.
12021207 HostPlaybackController* getHostPlaybackController () noexcept { return (_hostPlaybackController.isProvided ()) ? &_hostPlaybackController : nullptr ; }
12031208// @}
12041209
@@ -1277,13 +1282,15 @@ class DocumentController : public DocumentControllerInterface,
12771282 friend class PlugInEntry ;
12781283
12791284 // Creation Helper
1280- // Only to be called by ARAFactory::createDocumentControllerWithDocument () implementations.
1285+ // Only to be called by the ARAFactory::createDocumentControllerWithDocument () implementations
1286+ // provided via PlugInEntry.
12811287 // Must be called directly after construction of the DocumentController
12821288 // (cannot be called from constructor because it calls virtual functions).
12831289 void initializeDocument (const ARADocumentProperties* properties) noexcept ;
12841290
12851291 // Creation Helper
1286- // Only to be called by ARAFactory::createDocumentControllerWithDocument () implementations.
1292+ // Only to be called by the ARAFactory::createDocumentControllerWithDocument () implementations
1293+ // provided via PlugInEntry.
12871294 const ARADocumentControllerInstance* getInstance () const noexcept { return &_instance; }
12881295#endif
12891296
@@ -1698,14 +1705,14 @@ class EditorView : public EditorViewInterface
16981705
16991706/* ******************************************************************************/
17001707// ! Utility class that wraps an ARAPlugInExtensionInstance.
1701- // ! Each Companion API plug-in instance owns one PlugInExtension (or custom subclass thereof).
1708+ // ! Each companion API plug-in instance owns one PlugInExtension (or custom subclass thereof).
17021709class PlugInExtension
17031710{
17041711public:
17051712 PlugInExtension () noexcept = default ;
17061713 virtual ~PlugInExtension () noexcept ;
17071714
1708- // ! Establish the binding to ARA when requested through the Companion API,
1715+ // ! Establish the binding to ARA when requested through the companion API,
17091716 // ! switching the plug-in from regular processing to ARA mode.
17101717 const ARAPlugInExtensionInstance* bindToARA (ARADocumentControllerRef documentControllerRef, ARAPlugInInstanceRoleFlags knownRoles, ARAPlugInInstanceRoleFlags assignedRoles) noexcept ;
17111718
0 commit comments