| 194 | } |
| 195 | |
| 196 | void Mp3StreamDecoderImpl::end() { |
| 197 | mDecoder.reset(); |
| 198 | if (mStream) { |
| 199 | mStream->close(); |
| 200 | mStream = nullptr; |
| 201 | } |
| 202 | mBuffer.clear(); |
| 203 | } |
| 204 | |
| 205 | bool Mp3StreamDecoderImpl::hasError(fl::string* msg) const { |
| 206 | if (msg && mHasError) { |
no test coverage detected