MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / getMusicTrack

Method getMusicTrack

framework/video/smk.cpp:325–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323 }
324
325 sp<MusicTrack> getMusicTrack() override
326 {
327 auto ptr = this->music_track.lock();
328 if (!ptr)
329 {
330 ptr = mksp<SMKMusicTrack>(shared_from_this());
331 this->music_track = ptr;
332 }
333 return ptr;
334 }
335
336 ~SMKVideo() override
337 {

Callers 1

beginMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected