nf-player
    Preparing search index...

    Class MemoryRenderer

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    autoRolloff: boolean = true
    contentCache: ContentCache = ...
    dequeuedScores: { id: string; rolloff: boolean }[] = []
    dnodes: SPDestinationNode[] = []
    effects: QueuedEffect<Mutation>[] = []
    enqueuedScores: { destination: SPDestinationNode; rolloff: boolean }[] = []
    playingState: PlayingState = PlayingState.STOPPED
    samplesElapsed: number = 0
    DEFAULT_QUANTUM_SIZE: number = 8192

    Accessors

    Methods

    • Render the specified duration, starting at current renderTime, into an XAudioBuffer. This could give more samples than expected if the quantumSize does not align with the specified sampleCount or duration!

      Parameters

      • sampleCount: number

      Returns XAudioBuffer

    • Render the specified duration, starting at current renderTime, into an XAudioBuffer. This could give more samples than expected if the quantumSize does not align with the specified sampleCount or duration!

      Parameters

      Returns XAudioBuffer