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

« back to all changes in this revision

Viewing changes to libecasound/generic-linear-envelope.cpp

  • 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:
1
1
// ------------------------------------------------------------------------
2
2
// generic-linear-envelope.cpp: Generic linear envelope
3
 
// Copyright (C) 2000-2002,2006 Kai Vehmanen
 
3
// Copyright (C) 2000-2002,2006,2008 Kai Vehmanen
4
4
// Copyright (C) 2001 Arto Hamara
5
5
//
6
6
// Attributes:
50
50
{
51
51
52
52
 
53
 
CONTROLLER_SOURCE::parameter_t GENERIC_LINEAR_ENVELOPE::value(void)
 
53
CONTROLLER_SOURCE::parameter_t GENERIC_LINEAR_ENVELOPE::value(double curpos)
54
54
{
55
 
  parameter_t curpos = position_in_seconds_exact();
 
55
  /* FIXME: not really seeking-safe */
 
56
 
56
57
  if (curpos < pos_rep[0] || curstage == -2) {
57
58
    /* not reached the first position yet, or processing not 
58
59
       started yet */