~ubuntu-branches/ubuntu/raring/muse/raring

« back to all changes in this revision

Viewing changes to muse/event.h

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2010-11-17 21:43:38 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20101117214338-1hvfl7oo2dsqnvrb
Tags: 1.1-0ubuntu1
* New upstream release (LP: #668631)
* Switch to dpkg-source 3.0 (quilt) format
* Switch to dh7 short form
* debian/rules:
  - added --enable-dssi and --enable-osc to conf flags for dssi support
  - added -ljackserver to LDFLAGS to fix a FTBFS because of --as-needed
* debian/control:
  - added build build dependency on liblo-dev and dssi-dev for dssi support
  - bump Standards-version to 3.9.1. No changes required.
* debian/muse.desktop, debian/muse.xpm: dropped as desktop file and icon is
  now shipped upstream.
* fix-desktop-categories.patch: fix Categories tag in upstream desktop file
* 10_es_locale_fix.dpatch: refreshed and converted to quilt as
  fix_es_locale.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
class Xml;
24
24
class EventBase;
25
 
class AudioConverter;
 
25
//class AudioConverter;
 
26
class WavePart;
26
27
 
27
28
//---------------------------------------------------------
28
29
//   Event
31
32
class Event {
32
33
      EventBase* ev;
33
34
 
34
 
      off_t _sfCurFrame;
35
 
      AudioConverter* _audConv;
 
35
      //off_t _sfCurFrame;
 
36
      //AudioConverter* _audConv;
36
37
      
37
38
   public:
38
39
      //Event() { ev = 0; }
40
41
      Event(EventType t);
41
42
      Event(const Event& e);
42
43
      Event(EventBase* eb);
 
44
      
 
45
      //#ifdef USE_SAMPLERATE
 
46
      //Event(EventBase* eb, AudioConverter* cv); 
 
47
      //#endif  
 
48
      
43
49
      virtual ~Event();
44
50
 
45
51
      bool empty() const;
89
95
      //AudioConverter* audioConverter() { return _audConv;} 
90
96
      SndFileR sndFile() const;
91
97
      virtual void setSndFile(SndFileR& sf);
 
98
      
92
99
      //virtual void read(unsigned offset, float** bpp, int channels, int nn, bool overwrite = true);
93
 
      virtual void readAudio(unsigned /*offset*/, float** /*bpp*/, int /*channels*/, int /*nn*/, bool /*doSeek*/, bool /*overwrite*/);
 
100
      //virtual void readAudio(unsigned /*offset*/, float** /*bpp*/, int /*channels*/, int /*nn*/, bool /*doSeek*/, bool /*overwrite*/);
 
101
      virtual void readAudio(WavePart* /*part*/, unsigned /*offset*/, float** /*bpp*/, int /*channels*/, int /*nn*/, bool /*doSeek*/, bool /*overwrite*/);
 
102
      
94
103
      void setTick(unsigned val);
95
104
      unsigned tick() const;
96
105
      unsigned frame() const;