| 91 | PCM=1 |
| 92 | }; |
| 93 | bool formatIsValid(uint16_t format, uint16_t bits) { |
| 94 | if (format == (uint16_t)Format::PCM) { |
| 95 | if (bits == 16) { |
| 96 | return true; |
| 97 | } |
| 98 | } |
| 99 | return false; |
| 100 | } |
| 101 | |
| 102 | Result read(std::string filename) { |
| 103 | std::ifstream file; |
nothing calls this directly
no outgoing calls
no test coverage detected