reads running-length value from data stream
| 504 | |
| 505 | //reads running-length value from data stream |
| 506 | int get_numseq(unsigned char** mus_ptr) |
| 507 | { |
| 508 | unsigned char c; |
| 509 | int v=0; |
| 510 | do { |
| 511 | c = *(*(unsigned char**)mus_ptr); |
| 512 | v = (v<<7) + (c & 0x7f); |
| 513 | (*((unsigned char**)mus_ptr))++; |
| 514 | } while (c&0x80); |
| 515 | return v; |
| 516 | } |
| 517 | |
| 518 | //MAIN FUNCTION - instantly stops music |
| 519 | void func_mute() |
no outgoing calls
no test coverage detected