MCPcopy Create free account
hub / github.com/SFML/SFML / close

Method close

src/SFML/Audio/SoundFileReaderOgg.cpp:234–242  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

232
233////////////////////////////////////////////////////////////
234void SoundFileReaderOgg::close()
235{
236 if (m_vorbis.datasource)
237 {
238 ov_clear(&m_vorbis);
239 m_vorbis.datasource = nullptr;
240 m_channelCount = 0;
241 }
242}
243
244} // namespace sf::priv

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected