more debug output for bad buffer sized trout

This commit is contained in:
Paul Davis 2023-10-12 18:33:35 -06:00
parent ca1e466f26
commit dfbe4f61cd
1 changed files with 1 additions and 0 deletions

View File

@ -2605,6 +2605,7 @@ EngineControl::get_buffer_size () const
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, "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 ();
}