| 410 | } |
| 411 | |
| 412 | const char *StringConverter::fec_to_string(int fec) { |
| 413 | switch (fec) { |
| 414 | case FEC_1_2: |
| 415 | return "12"; |
| 416 | case FEC_2_3: |
| 417 | return "23"; |
| 418 | case FEC_3_4: |
| 419 | return "34"; |
| 420 | case FEC_3_5: |
| 421 | return "35"; |
| 422 | case FEC_4_5: |
| 423 | return "45"; |
| 424 | case FEC_5_6: |
| 425 | return "56"; |
| 426 | case FEC_6_7: |
| 427 | return "67"; |
| 428 | case FEC_7_8: |
| 429 | return "78"; |
| 430 | case FEC_8_9: |
| 431 | return "89"; |
| 432 | case FEC_9_10: |
| 433 | return "910"; |
| 434 | case FEC_AUTO: |
| 435 | return " "; |
| 436 | case FEC_NONE: |
| 437 | return " "; |
| 438 | default: |
| 439 | return "UNKNOWN FEC"; |
| 440 | } |
| 441 | } |
| 442 | |
| 443 | const char *StringConverter::delsys_to_string(input::InputSystem system) { |
| 444 | switch (system) { |
nothing calls this directly
no outgoing calls
no test coverage detected