Overte C++ Documentation
MixedAudioStream.h
1 //
2 // MixedAudioStream.h
3 // libraries/audio/src
4 //
5 // Created by Yixin Wang on 8/4/14.
6 // Copyright 2013 High Fidelity, Inc.
7 //
8 // Distributed under the Apache License, Version 2.0.
9 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
10 //
11 
12 #ifndef hifi_MixedAudioStream_h
13 #define hifi_MixedAudioStream_h
14 
15 #include "InboundAudioStream.h"
16 
17 class MixedAudioStream : public InboundAudioStream {
18 public:
19  MixedAudioStream(int numFramesCapacity, int numStaticJitterFrames = -1);
20 
21  float getNextOutputFrameLoudness() const { return _ringBuffer.getNextOutputFrameLoudness(); }
22 };
23 
24 #endif // hifi_MixedAudioStream_h