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

Method GetSlideEffectString

Source/ChannelHandler.cpp:250–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250std::string CChannelHandler::GetSlideEffectString() const // // //
251{
252 switch (m_iEffect) {
253 case effect_t::ARPEGGIO:
254 if (m_iEffectParam)
255 return MakeCommandString({m_iEffect, m_iEffectParam});
256 break;
257 case effect_t::PORTA_UP: case effect_t::PORTA_DOWN: case effect_t::PORTAMENTO:
258 if (m_iPortaSpeed)
259 return MakeCommandString({m_iEffect, static_cast<uint8_t>(m_iPortaSpeed)});
260 break;
261 }
262
263 return std::string();
264}
265
266std::string CChannelHandler::GetCustomEffectString() const // // //
267{

Callers

nothing calls this directly

Calls 1

MakeCommandStringFunction · 0.85

Tested by

no test coverage detected