static gboolean
tell_about_backend_death (void* /* ignored */)
{
- if (AudioEngine::instance()->processed_frames() == 0) {
+ if (AudioEngine::instance()->processed_samples() == 0) {
/* died during startup */
MessageDialog msg (string_compose (_("The audio backend (%1) has failed, or terminated"), AudioEngine::instance()->current_backend_name()), false);
msg.set_position (Gtk::WIN_POS_CENTER);
fftwf_make_planner_thread_safe ();
#endif
-#ifdef ENABLE_NLS
+#if ENABLE_NLS
/* initialize C locale to user preference */
if (ARDOUR::translations_are_enabled ()) {
setlocale (LC_ALL, "");
windows_vst_gui_init (&argc, &argv);
#endif
-#ifdef ENABLE_NLS
+#if ENABLE_NLS
cerr << "bind txt domain [" << PACKAGE << "] to " << localedir << endl;
(void) bindtextdomain (PACKAGE, localedir.c_str());
}
if (no_splash) {
- cerr << _("Copyright (C) 1999-2015 Paul Davis") << endl
+ cerr << _("Copyright (C) 1999-2018 Paul Davis") << endl
<< _("Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker, Robin Gareus") << endl
<< endl
<< string_compose (_("%1 comes with ABSOLUTELY NO WARRANTY"), PROGRAM_NAME) << endl