| 248 | } |
| 249 | |
| 250 | std::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 | |
| 266 | std::string CChannelHandler::GetCustomEffectString() const // // // |
| 267 | { |
nothing calls this directly
no test coverage detected