Interface InternalAudioTrack

    • Method Detail

      • assignExecutor

        void assignExecutor​(AudioTrackExecutor executor,
                            boolean applyPrimordialState)
        Parameters:
        executor - Executor to assign to the track
        applyPrimordialState - True if the state previously applied to this track should be copied to new executor.
      • getActiveExecutor

        AudioTrackExecutor getActiveExecutor()
        Returns:
        Get the active track executor
      • process

        void process​(LocalAudioTrackExecutor executor)
              throws java.lang.Exception
        Perform any necessary loading and then enter the read/seek loop
        Parameters:
        executor - The local executor which processes this track
        Throws:
        java.lang.Exception - In case anything explodes.
      • createLocalExecutor

        AudioTrackExecutor createLocalExecutor​(AudioPlayerManager playerManager)
        Parameters:
        playerManager - The player manager which is executing this track
        Returns:
        A custom local executor for this track. Unless this track requires a special executor, this should return null as the default one will be used in that case.