Overte C++ Documentation
recording/src/recording/Forward.h
1 //
2 // Created by Bradley Austin Davis 2015/11/04
3 // Copyright 2015 High Fidelity, Inc.
4 //
5 // Distributed under the Apache License, Version 2.0.
6 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
7 //
8 
9 #pragma once
10 #ifndef hifi_Recording_Forward_h
11 #define hifi_Recording_Forward_h
12 
13 #include <memory>
14 #include <list>
15 #include <limits>
16 #include <cstdint>
17 
18 namespace recording {
19 
20 using FrameType = uint16_t;
21 
22 using FrameSize = uint16_t;
23 
24 struct Frame;
25 
26 using FramePointer = std::shared_ptr<Frame>;
27 
28 using FrameConstPointer = std::shared_ptr<const Frame>;
29 
30 // A recording of some set of state from the application, usually avatar
31 // data + audio for a single person
32 class Clip;
33 
34 using ClipPointer = std::shared_ptr<Clip>;
35 
36 using ClipConstPointer = std::shared_ptr<const Clip>;
37 
38 // An interface for playing back clips
39 class Deck;
40 
41 // An interface for recording a single clip
42 class Recorder;
43 
44 }
45 
46 #endif