MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / SwapChannels

Method SwapChannels

Source/SongData.cpp:277–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277void CSongData::SwapChannels(stChannelID First, stChannelID Second) // // //
278{
279 if (auto *lhs = GetTrack(First))
280 if (auto *rhs = GetTrack(Second))
281 std::swap(*lhs, *rhs);
282}
283
284bool CSongData::AddFrames(unsigned Frame, unsigned Count) {
285 const unsigned FrameCount = GetFrameCount();

Callers 1

OnBnClickedOkMethod · 0.80

Calls 1

swapFunction · 0.85

Tested by

no test coverage detected