Beispiel #1
0
int crossfade_show_channels_message (void)
{
    audgui_simple_message (& error_window, GTK_MESSAGE_ERROR,
     _("Crossfade Error"), _("Crossfading failed because the songs had a "
     "different number of channels."));
    return 0;
}
Beispiel #2
0
void vtx_file_info(const gchar *filename)
{
  static GtkWidget *box;
  ayemu_vtx_t vtx;

  if (!ayemu_vtx_open(&vtx, filename))
    {
      fprintf(stderr, "Can't open file %s\n", filename);
      return;
    }
  else
    {
      gchar head[1024];
      gchar body[8192];

      sprintf(head, "Details about %s", filename);

	  ayemu_vtx_sprintname(&vtx, body, sizeof(body),
	      "Title: %t\n"
	      "Author: %a\n"
	      "From : %f\n"
	      "Tracker : %T\n"
	      "Comment : %C\n"
	      "Chip type: %c\n"
	      "Stereo: %s\n"
	      "Loop: %l\n"
	      "Chip freq: %F\n"
	      "Player Freq:%P\n"
	      "Year: %y");

      audgui_simple_message (& box, GTK_MESSAGE_INFO, head, body);
    }
}
Beispiel #3
0
static void about (void)
{
    static GtkWidget * about_dialog = NULL;

    audgui_simple_message (& about_dialog, GTK_MESSAGE_INFO,
                           _("About Extra Stereo Plugin"), _(about_text));
}
Beispiel #4
0
int crossfade_show_rate_message (void)
{
    audgui_simple_message (& error_window, GTK_MESSAGE_ERROR, _("Crossfade "
     "Error"),
     _("Crossfading failed because the songs had different sample rates.\n\n"
     "You can use the Sample Rate Converter effect to resample the songs to "
     "the same rate."));
    return 0;
}
Beispiel #5
0
gint oss_show_error(gpointer message)
{
    static GtkWidget *dialog = NULL;

    audgui_simple_message (&dialog, GTK_MESSAGE_ERROR, _("OSS4 error"), message);
    g_free(message);

    return 0;
}
static void metronom_about (void)
{
    static GtkWidget * aboutbox = NULL;

    audgui_simple_message (& aboutbox, GTK_MESSAGE_INFO, _("About Metronom"),
                           _("A Tact Generator by Martin Strauss <*****@*****.**>\n\n"
                             "To use it, add a URL: tact://beats*num/den\n"
                             "e.g. tact://77 to play 77 beats per minute\n"
                             "or   tact://60*3/4 to play 60 bpm in 3/4 tacts"));
}
Beispiel #7
0
static void tone_about (void)
{
    static GtkWidget * aboutbox = NULL;

    audgui_simple_message (& aboutbox, GTK_MESSAGE_INFO,
     _("About Tone Generator"),
     /* I18N: UTF-8 Translation: "Haavard Kvaalen" -> "H\303\245vard Kv\303\245len" */
     _("Sinus tone generator by Haavard Kvaalen <*****@*****.**>\n"
     "Modified by Daniel J. Peng <*****@*****.**>\n\n"
     "To use it, add a URL: tone://frequency1;frequency2;frequency3;...\n"
     "e.g. tone://2000;2005 to play a 2000Hz tone and a 2005Hz tone"));
}
Beispiel #8
0
static void about (void)
{
    audgui_simple_message (& about_win, GTK_MESSAGE_INFO,
     _("About LADSPA Host"), "LADSPA Host for Audacious\n"
     "Copyright 2011 John Lindgren\n\n"
     "Redistribution and use in source and binary forms, with or without "
     "modification, are permitted provided that the following conditions are "
     "met:\n\n"
     "1. Redistributions of source code must retain the above copyright "
     "notice, this list of conditions, and the following disclaimer.\n\n"
     "2. Redistributions in binary form must reproduce the above copyright "
     "notice, this list of conditions, and the following disclaimer in the "
     "documentation provided with the distribution.\n\n"
     "This software is provided \"as is\" and without any warranty, express or "
     "implied. In no event shall the authors be liable for any damages arising "
     "from the use of this software.");
}
Beispiel #9
0
void about(void)
{
    static GtkWidget *aboutbox = NULL;
    gchar *tmp;

    tmp = g_strdup_printf(_(PACKAGE_STRING "\n\n"
          "Intelligent Multimedia Management System" "\n\n"
          "IMMS is an intelligent playlist plug-in for BPM" "\n"
          "that tracks your listening patterns" "\n"
          "and dynamically adapts to your taste." "\n\n"
          "It is incredibly unobtrusive and easy to use" "\n"
          "as it requires no direct user interaction." "\n\n"
          "For more information please visit" "\n"
          "http://www.luminal.org/wiki/index.php/IMMS" "\n\n"
          "Written by" "\n"
          "Michael \"mag\" Grigoriev <*****@*****.**>"));
    audgui_simple_message(&aboutbox, GTK_MESSAGE_INFO, _("About IMMS"),
        tmp);

    g_free(tmp);
}
void file_about (void)
{
    static GtkWidget * dialog;

    audgui_simple_message (& dialog, GTK_MESSAGE_INFO,
     _("About FileWriter-Plugin"),
     "FileWriter-Plugin\n\n"
     "This program is free software; you can redistribute it and/or modify\n"
     "it under the terms of the GNU General Public License as published by\n"
     "the Free Software Foundation; either version 2 of the License, or\n"
     "(at your option) any later version.\n"
     "\n"
     "This program is distributed in the hope that it will be useful,\n"
     "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
     "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n"
     "GNU General Public License for more details.\n"
     "\n"
     "You should have received a copy of the GNU General Public License\n"
     "along with this program; if not, write to the Free Software\n"
     "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,\n"
     "USA.");
}
Beispiel #11
0
static void vorbis_aboutbox (void)
{
    static GtkWidget * about_window = NULL;

    audgui_simple_message (& about_window, GTK_MESSAGE_INFO,
     _("About Ogg Vorbis Audio Plugin"),
     /*
      * I18N: UTF-8 Translation: "Haavard Kvaalen" ->
      * "H\303\245vard Kv\303\245len"
      */
     _("Ogg Vorbis Plugin by the Xiph.org Foundation\n\n"
     "Original code by\n"
     "Tony Arcieri <*****@*****.**>\n"
     "Contributions from\n"
     "Chris Montgomery <*****@*****.**>\n"
     "Peter Alm <*****@*****.**>\n"
     "Michael Smith <*****@*****.**>\n"
     "Jack Moffitt <*****@*****.**>\n"
     "Jorn Baayen <*****@*****.**>\n"
     "Haavard Kvaalen <*****@*****.**>\n"
     "Gian-Carlo Pascutto <*****@*****.**>\n"
     "Eugene Zagidullin <*****@*****.**>\n\n"
     "Visit the Xiph.org Foundation at http://www.xiph.org/\n"));
}
Beispiel #12
0
static void ui_show_error (const gchar * text)
{
    audgui_simple_message (& error_win, GTK_MESSAGE_ERROR, _("Error"), _(text));
}