implemented audio keyframing

This mostly builds on the keyframing we already set up for video, but the
audio renderer will now appropriately updated keyframe inputs per sample in
accordance with keyframe values.
This commit is contained in:
itsmattkc
2019-12-30 20:14:45 +11:00
parent 7cc31e01e4
commit e6c47b14f4
6 changed files with 66 additions and 28 deletions
+5 -1
View File
@@ -35,7 +35,7 @@ protected:
virtual NodeValueTable RenderInternal(const NodeDependency& path);
virtual void RunNodeAccelerated(const Node *node, const TimeRange& range, const NodeValueDatabase *input_params, NodeValueTable* output_params);
virtual void RunNodeAccelerated(const Node *node, const TimeRange& range, const NodeValueDatabase &input_params, NodeValueTable* output_params);
StreamPtr ResolveStreamFromInput(NodeInput* input);
DecoderPtr ResolveDecoderFromInput(StreamPtr stream);
@@ -48,7 +48,11 @@ protected:
virtual NodeValueTable RenderBlock(const TrackOutput *track, const TimeRange& range) = 0;
NodeValueTable ProcessInput(const NodeInput* input, const TimeRange &range);
private:
NodeValueDatabase GenerateDatabase(const Node *node, const TimeRange &range);
bool started_;
DecoderCache decoder_cache_;