~ubuntu-branches/ubuntu/precise/speakup/precise

« back to all changes in this revision

Viewing changes to src/speakup_bns.c

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Thibault
  • Date: 2010-08-24 21:34:33 UTC
  • mfrom: (1.3.5 upstream)
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: james.westby@ubuntu.com-20100824213433-suy4gzzolbzkhsgu
Tags: 3.1.5.dfsg.1-1
* New upstream fix-only release.
  Also cherry-pick upstream fixes up to de98895e.
* debian/control: Bump Standards-Version to 3.9.1 (no change needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include "spk_priv.h"
26
26
#include "speakup.h"
27
27
 
28
 
#define DRV_VERSION "2.10"
 
28
#define DRV_VERSION "2.11"
29
29
#define SYNTH_CLEAR 0x18
30
30
#define PROCSPEECH '\r'
31
31
 
36
36
        { PITCH, .u.n = {"\x05%dP", 8, 0, 16, 0, 0, NULL }},
37
37
        { VOL, .u.n = {"\x05%dV", 8, 0, 16, 0, 0, NULL }},
38
38
        { TONE, .u.n = {"\x05%dT", 8, 0, 16, 0, 0, NULL }},
 
39
        { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL }},
39
40
        V_LAST_VAR
40
41
};
41
42
 
57
58
 
58
59
static struct kobj_attribute delay_time_attribute =
59
60
        __ATTR(delay_time, ROOT_W, spk_var_show, spk_var_store);
 
61
static struct kobj_attribute direct_attribute =
 
62
        __ATTR(direct, USER_RW, spk_var_show, spk_var_store);
60
63
static struct kobj_attribute full_time_attribute =
61
64
        __ATTR(full_time, ROOT_W, spk_var_show, spk_var_store);
62
65
static struct kobj_attribute jiffy_delta_attribute =
76
79
        &tone_attribute.attr,
77
80
        &vol_attribute.attr,
78
81
        &delay_time_attribute.attr,
 
82
        &direct_attribute.attr,
79
83
        &full_time_attribute.attr,
80
84
        &jiffy_delta_attribute.attr,
81
85
        &trigger_time_attribute.attr,