MCPcopy Create free account
hub / github.com/audacity/audacity / TrackFromChannel

Method TrackFromChannel

src/UIHandle.cpp:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62std::shared_ptr<const Track>
63UIHandle::TrackFromChannel(const std::shared_ptr<const Channel> &pChannel)
64{
65 return pChannel
66 ? static_cast<const Track &>(pChannel->GetChannelGroup())
67 .shared_from_this()
68 : nullptr;
69}

Callers

nothing calls this directly

Calls 1

GetChannelGroupMethod · 0.45

Tested by

no test coverage detected