mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-31 22:15:35 +00:00
Improve audio open error message
This commit is contained in:
parent
67485d3454
commit
d348435a1d
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ namespace MWSound
|
||||||
{
|
{
|
||||||
if(devname.empty())
|
if(devname.empty())
|
||||||
throw;
|
throw;
|
||||||
std::cout <<"Failed to open device \""<<devname<<"\", trying default."<< std::endl << "The error given was: " << e.what() << std::endl;
|
std::cerr <<"Failed to open device \""<<devname<<"\": " << e.what() << std::endl;
|
||||||
mOutput->init();
|
mOutput->init();
|
||||||
Settings::Manager::setString("device", "Sound", "");
|
Settings::Manager::setString("device", "Sound", "");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue