///////////////////////////////////////////////////////
| 76 | { |
| 77 | //////////////////////////////////////////////////////////// |
| 78 | bool SoundFileReaderOgg::check(InputStream& stream) |
| 79 | { |
| 80 | OggVorbis_File file; |
| 81 | if (ov_test_callbacks(&stream, &file, nullptr, 0, callbacks) == 0) |
| 82 | { |
| 83 | ov_clear(&file); |
| 84 | return true; |
| 85 | } |
| 86 | |
| 87 | return false; |
| 88 | } |
| 89 | |
| 90 | |
| 91 | //////////////////////////////////////////////////////////// |
nothing calls this directly
no outgoing calls
no test coverage detected