~ubuntu-branches/ubuntu/trusty/speech-dispatcher/trusty-proposed

« back to all changes in this revision

Viewing changes to src/c/clients/say/options.h

  • Committer: Package Import Robot
  • Author(s): Luke Yelavich, Samuel Thibault, Luke Yelavich, Jason White, David Henningsson
  • Date: 2013-11-11 16:38:46 UTC
  • mfrom: (1.1.19)
  • Revision ID: package-import@ubuntu.com-20131111163846-lvu37ypp5sy9z5so
Tags: 0.8-0ubuntu1
[ Samuel Thibault ]
* debian/control: Set libspeechd2 multi-arch: same.
* debian/rules: Set multiarch libdir.
* debian/libspeechd-dev.install,libspeechd2.install,
  speech-dispatcher.install: Use multiarch libdir.
* Do not depend on dpkg | install-info, now that we use the install-info
  trigger.
* Bump Standards-Version to 3.9.5.
* Bump dotconf dependency to >= 1.3.

[ Luke Yelavich ]
* New upstream release
* debian/patches/infinite-loop.patch: Refreshed
* Dropped patches:
  - debian/patches/build-doc.patch
  - debian/patches/procname.patch
  - debian/patches/paths+files.patch
  - debian/patches/pthread.patch
* Add libltdl-dev and intltool to build-depends
* Update packaging for speech-dispatcher python 3 bindings.
* Move speech-dispatcher modules to an architecture independant dir, since
  modules can be written in any language, and i386 only modules can be
  used on amd64 systems
* Create separate audio plugins package
* Convert to debhelper 7+ packaging.
* Use dh-autoreconf to handle autotools file rebuilds.
* Update standards version to 3.9.3.
* Add X-Python-Version related fields to debian/control.
* Patch in the speech-dispatcher-cs.texi file since it was forgotten in the
  0.8 tarball
* Add translations to speech-dispatcher
* Merge from debian unreleased git.  Remaining changes:
  - Moved the flite output module to a separate package, and added
    it to suggests, we don't want flite on the Ubuntu CD image
  - Don't build depend on libaudio-dev or libao-dev, Ubuntu CD size is an
    issue, every little bit helps
  - debian/gbp.conf: Adjust for the Ubuntu git branch
  - Python3-speechd needs to conflict against python-speechd

[ Jason White ]
* Raise level of subsection in fdl.texi to correct document structure.

[ David Henningsson ]
* debian/patches/pulse-default-latency.patch:
  Default to 20 ms latency instead of 1 ms latency (LP: #1208826)

[ Luke Yelavich ]
* spd_audio: Expose dlopened library's symbols to libs it loads. Thanks to
  Christopher Brannon <chris@the-brannons.com> for the patch, taken from
  the speech-dispatcher mailing list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * options.h - Defines possible command line options
3
 
 *
4
 
 * Copyright (C) 2003 Brailcom, o.p.s.
5
 
 *
6
 
 * This is free software; you can redistribute it and/or modify it
7
 
 * under the terms of the GNU General Public License as published by
8
 
 * the Free Software Foundation; either version 2, or (at your option)
9
 
 * any later version.
10
 
 *
11
 
 * This software is distributed in the hope that it will be useful,
12
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14
 
 * General Public License for more details.
15
 
 *
16
 
 * You should have received a copy of the GNU General Public License
17
 
 * along with this package; see the file COPYING.  If not, write to
18
 
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19
 
 * Boston, MA 02110-1301, USA.
20
 
 *
21
 
 * $Id: options.h,v 1.10 2006-07-11 16:12:27 hanke Exp $
22
 
 */
23
 
 
24
 
#include <getopt.h>
25
 
 
26
 
signed int rate;
27
 
signed int pitch;
28
 
signed int volume;
29
 
 
30
 
char *output_module;
31
 
char *language;
32
 
char *voice_type;
33
 
char *punctuation_mode;
34
 
char *priority;
35
 
int pipe_mode;
36
 
int ssml_mode;
37
 
int spelling;
38
 
int wait_till_end;
39
 
int stop_previous;
40
 
int cancel_previous;
41
 
 
42
 
char *application_name;
43
 
char *connection_name;
44
 
 
45
 
static struct option long_options[] = {
46
 
    {"rate", 1, 0, 'r'},
47
 
    {"pitch", 1, 0, 'p'},
48
 
    {"volume", 1, 0, 'i'},
49
 
    {"output-module", 1, 0, 'o'},
50
 
    {"language", 1, 0, 'l'},
51
 
    {"voice-type", 1, 0, 't'},
52
 
    {"punctuation-mode", 1, 0, 'm'},
53
 
    {"spelling", 0, 0, 's'},
54
 
    {"ssml", 0, 0, 'x'},
55
 
    {"pipe-mode", 0, 0, 'e'},
56
 
    {"priority", 1, 0, 'P'},
57
 
    {"application-name", 1, 0, 'N'},
58
 
    {"connection-name", 1, 0, 'n'},
59
 
    {"wait", 0, 0, 'w'},
60
 
    {"stop", 1, 0, 'S'},
61
 
    {"cancel", 1, 0, 'C'},
62
 
    {"version", 0, 0, 'v'},
63
 
    {"help", 0, 0, 'h'},
64
 
    {0, 0, 0, 0}
65
 
};
66
 
 
67
 
static char* short_options = "r:p:i:l:o:t:m:sxeP:N:n:wSCvh";
68
 
 
69
 
int options_parse(int argc, char *argv[]);
70
 
void options_print_version();
71
 
void options_print_help(char *argv[]);