more debug output for bad buffer sized trout
This commit is contained in:
parent
ca1e466f26
commit
dfbe4f61cd
@ -2605,6 +2605,7 @@ EngineControl::get_buffer_size () const
|
|||||||
if (sscanf (txt.c_str (), "%d", &samples) != 1) {
|
if (sscanf (txt.c_str (), "%d", &samples) != 1) {
|
||||||
fprintf (stderr, "Find a trout and repeatedly slap the nearest C++ developer who throws exceptions without catching them.\n");
|
fprintf (stderr, "Find a trout and repeatedly slap the nearest C++ developer who throws exceptions without catching them.\n");
|
||||||
fprintf (stderr, "Ardour will likely crash now, giving you time to get the trout.\n");
|
fprintf (stderr, "Ardour will likely crash now, giving you time to get the trout.\n");
|
||||||
|
fprintf (stderr, "the buffer size combo said [%s]\n", txt.c_str());
|
||||||
throw exception ();
|
throw exception ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user