~morphis/aethercast/audio-streaming

« back to all changes in this revision

Viewing changes to src/mcs/video/baseencoder.h

Rework part of the streaming framework and add further unit tests

This reworks the streaming framework to be better testable which wasn't the case before
for all parts. Most critical parts are covered with tests now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
 
89
89
    void SetDelegate(const std::weak_ptr<Delegate> &delegate);
90
90
 
 
91
    virtual BaseEncoder::Config DefaultConfiguration() = 0;
 
92
 
91
93
    virtual bool Configure(const Config &config) = 0;
92
94
 
93
95
    virtual void QueueBuffer(const mcs::video::Buffer::Ptr &buffer) = 0;
94
96
 
95
 
    virtual void* NativeWindowHandle() const = 0;
96
 
 
97
97
    virtual Config Configuration() const = 0;
98
98
 
99
99
    virtual bool Running() const = 0;