MCPcopy Create free account
hub / github.com/AbyssEngine/AbyssEngineOld / stop

Method stop

src/Abyss/Streams/AudioStream.cpp:233–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233void Abyss::Streams::AudioStream::stop() {
234 std::lock_guard lock(_mutex);
235
236 _isPlaying = false;
237 _isPaused = false;
238 av_seek_frame(_avFormatContext, _audioStreamIdx, 0, AVSEEK_FLAG_FRAME);
239}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected