Twitch SDK (Internal)
passthroughaudiodevice.h
Go to the documentation of this file.
1 /********************************************************************************************
2 * Twitch Broadcasting SDK
3 *
4 * This software is supplied under the terms of a license agreement with Twitch Interactive, Inc. and
5 * may not be copied or used except in accordance with the terms of that agreement
6 * Copyright (c) 2012-2016 Twitch Interactive, Inc.
7 *********************************************************************************************/
8 
9 #pragma once
10 
12 
13 //namespace ttv
14 //{
15 // namespace broadcast
16 // {
17 // class PassthroughAudioDevice;
18 // }
19 //}
20 //
21 //class ttv::broadcast::PassthroughAudioDevice : public AudioCaptureBase
22 //{
23 //public:
24 // PassthroughAudioDevice();
25 //
26 //public: // IAudioCapture
27 // virtual TTV_ErrorCode Initialize() override;
28 // virtual TTV_ErrorCode Shutdown() override;
29 // virtual TTV_ErrorCode Process(const std::shared_ptr<IAudioMixer>& mixer, uint64_t& lastSampleTime) override;
30 //
31 //public:
32 // TTV_ErrorCode SubmitAudioSamples(const int16_t* samplesBuffer, uint numSamples);
33 //
34 //private:
35 // uint32_t mWritePos;
36 // uint32_t mReadPos;
37 // uint64_t mSampleTime;
38 // std::vector<int16_t> mSamplesBuffer;
39 //};