alstream rework
This commit is contained in:
parent
03808f9b9c
commit
3e0b9fe8aa
|
|
@ -230,11 +230,8 @@ void ALStream::openSource(const std::string &filename){
|
||||||
source = handler.source;
|
source = handler.source;
|
||||||
needsRewind.clear();
|
needsRewind.clear();
|
||||||
|
|
||||||
if (!source){
|
if (!source)
|
||||||
char buf[512];
|
crash(Exception::MEOW, "Unable to decode audio stream: %s: %s", filename.c_str(), handler.errorMsg.c_str());
|
||||||
snprintf(buf, sizeof(buf), "Unable to decode audio stream: %s: %s", filename.c_str(), handler.errorMsg.c_str());
|
|
||||||
crash(buf, Exception::MEOW, false);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ALStream::stopStream(){
|
void ALStream::stopStream(){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue