| 173 | } |
| 174 | |
| 175 | void VorbisDecoderImpl::end() { |
| 176 | mDecoder.close(); |
| 177 | mFileData.clear(); |
| 178 | mPosition = 0; |
| 179 | mEndOfStream = false; |
| 180 | mError.clear(); |
| 181 | } |
| 182 | |
| 183 | bool VorbisDecoderImpl::hasError(fl::string* msg) const { |
| 184 | if (!mError.empty()) { |