MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / AudioPlaybackThread

Method AudioPlaybackThread

src/Qt/AudioPlaybackThread.cpp:190–202  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

188
189 // Constructor
190 AudioPlaybackThread::AudioPlaybackThread(openshot::VideoCacheThread* cache)
191 : juce::Thread("audio-playback")
192 , player()
193 , transport()
194 , mixer()
195 , source(NULL)
196 , sampleRate(0.0)
197 , numChannels(0)
198 , is_playing(false)
199 , time_thread("audio-buffer")
200 , videoCache(cache)
201 {
202 }
203
204 // Destructor
205 AudioPlaybackThread::~AudioPlaybackThread()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected