mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
alstream rework
This commit is contained in:
parent
03808f9b9c
commit
3e0b9fe8aa
1 changed files with 2 additions and 5 deletions
|
|
@ -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(){
|
||||
|
|
|
|||
Loading…
Reference in a new issue