Class DefaultAudioManager

    • Method Detail

      • getXMLOrder

        public int getXMLOrder()
        Description copied from interface: Manager
        Determine the order that types should be written when storing panel files. Uses one of the constants defined in this class.

        Yes, that's an overly-centralized methodology, but it works for now.

        Returns:
        write order for this Manager; larger is later.
      • createNewAudio

        protected Audio createNewAudio​(@Nonnull
                                       java.lang.String systemName,
                                       java.lang.String userName)
                                throws AudioException
        Description copied from class: AbstractAudioManager
        Internal method to invoke the factory, after all the logic for returning an existing Audio has been invoked.
        Specified by:
        createNewAudio in class AbstractAudioManager
        Parameters:
        systemName - Audio object system name (for example IAS1, IAB4)
        userName - Audio object user name
        Returns:
        never null
        Throws:
        AudioException - if error occurs during creation
      • getNamedBeanSet

        @Nonnull
        public java.util.SortedSet<AudiogetNamedBeanSet​(char subType)
        Get the specified Audio sub-type NamedBeans.
        Parameters:
        subType - sub-type to retrieve
        Returns:
        Unmodifiable access to a SortedSet of NamedBeans for the specified Audio sub-type .
      • init

        public void init()
        Initialise the manager and make connections.
      • isInitialised

        public boolean isInitialised()
        Determine if this AudioManager is initialised
        Returns:
        true if initialised
      • cleanup

        public void cleanup()
        Description copied from interface: AudioManager
        Perform any clean-up operations
      • getActiveAudioFactory

        public AudioFactory getActiveAudioFactory()
        Description copied from interface: AudioManager
        Returns the currently active AudioFactory object.

        An Audio factory is responsible for the creation of implementation specific audio objects.

        Returns:
        current active AudioFactory object