alstream rework

This commit is contained in:
DepressedTWM 2026-06-01 10:19:01 -04:00
parent 03808f9b9c
commit 3e0b9fe8aa

View file

@ -230,11 +230,8 @@ void ALStream::openSource(const std::string &filename){
source = handler.source;
needsRewind.clear();
if (!source){
char buf[512];
snprintf(buf, sizeof(buf), "Unable to decode audio stream: %s: %s", filename.c_str(), handler.errorMsg.c_str());
crash(buf, Exception::MEOW, false);
}
if (!source)
crash(Exception::MEOW, "Unable to decode audio stream: %s: %s", filename.c_str(), handler.errorMsg.c_str());
}
void ALStream::stopStream(){