~ubuntu-branches/ubuntu/natty/ecasound2.2/natty

« back to all changes in this revision

Viewing changes to libecasound/generic-controller.h

  • Committer: Bazaar Package Importer
  • Author(s): Junichi Uekawa
  • Date: 2008-09-26 09:58:52 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080926095852-k3v9ewhmxpaltusw
Tags: 2.5.2-3
yodl 2.13.1 removed --unique-output option. Remove --unique-output
accordingly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
   *
42
42
   * @pre is_valid() == true
43
43
   */
44
 
  virtual parameter_t value(void);
 
44
  virtual parameter_t value(double pos_secs);
45
45
 
46
46
  virtual void set_initial_value(parameter_t arg) { }
47
47
 
57
57
  /** @name Public functions reimplemented from DYNAMIC_PARAMETERS */
58
58
  /*@{*/
59
59
 
 
60
  virtual bool variable_params(void) const { return true; }
60
61
  virtual std::string parameter_names(void) const { return("param-id,range-low,range-high," +  source->parameter_names()); }
61
62
  virtual void set_parameter(int param, parameter_t value);
62
63
  virtual parameter_t get_parameter(int param) const;
63
64
 
64
65
  /*@}*/
65
66
 
66
 
  /** @name Functions implemented from ECA_SAMPLERATE_AWARE */
67
 
  /*@{*/
68
 
 
69
 
  virtual void set_samples_per_second(SAMPLE_SPECS::sample_rate_t v);
70
 
 
71
 
  /*@}*/
72
 
 
73
 
  /** @name Functions implemented from ECA_AUDIO_POSITION */
74
 
  /*@{*/
75
 
 
76
 
  virtual void seek_position(void);
77
 
 
78
 
  /*@}*/
79
 
 
80
67
  /** @name Public functions  */
81
68
  /*@{*/
82
69
 
96
83
  OPERATOR* target;
97
84
  CONTROLLER_SOURCE* source;
98
85
 
 
86
  bool init_called_rep;
99
87
  int param_id_rep;
100
88
  double rangelow_rep, rangehigh_rep;
 
89
  double last_value_pos_rep;
101
90
};
102
91
 
103
92
#endif