~audio-recorder/audio-recorder/trunk

« back to all changes in this revision

Viewing changes to src/settings-pipe.c

  • Committer: Osmo Antero
  • Date: 2015-02-07 22:14:14 UTC
  • Revision ID: osmoma@gmail.com-20150207221414-qrv21079spf2xlcm
Small updates in timer-syntax.html and src/settings-pipe.c.

Show diffs side-by-side

added added

removed removed

Lines of Context:
320
320
    const gchar *s2 = _("# The devices are taken from the GUI (main window).");
321
321
 
322
322
    // Translators: This is shown in Additional settings -> Recording commands -> [Show Cmd].
323
 
    gchar *s3 = g_strdup_printf(_("# This command will record to %s file."), parms->filename);
324
 
 
325
 
    gchar *tmp_str = g_strdup_printf("%s\n%s\n%s\n\n", s1, s2, s3);
 
323
    const gchar *s3 = _("# Use the pactl tool to list all available audio (input) devices in your system.");
 
324
 
 
325
    // Translators: This is shown in Additional settings -> Recording commands -> [Show Cmd].
 
326
    const gchar *s4 = _("# pactl list | grep -A3 'Source #'");
 
327
 
 
328
    // Translators: This is shown in Additional settings -> Recording commands -> [Show Cmd].
 
329
    gchar *s5 = g_strdup_printf(_("# This command will record to %s file."), parms->filename);
 
330
 
 
331
    gchar *tmp_str = g_strdup_printf("%s\n%s\n%s\n%s\n%s\n\n", s1, s2, s3, s4, s5);
326
332
 
327
333
    str = g_string_prepend(str, tmp_str);
328
334
 
329
 
    g_free(s3);
 
335
    g_free(s5);
330
336
    g_free(tmp_str);
331
337
 
332
338
    gchar *cmd = g_string_free(str, FALSE);