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

« back to all changes in this revision

Viewing changes to muse/wave.h

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2012-11-22 01:16:59 UTC
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: package-import@ubuntu.com-20121122011659-a2fwbf33ceqe1s0t
Tags: upstream-2.1~rc1
ImportĀ upstreamĀ versionĀ 2.1~rc1

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
      bool openFlag;
65
65
      bool writeFlag;
66
66
      size_t readInternal(int srcChannels, float** dst, size_t n, bool overwrite, float *buffer);
67
 
 
 
67
      
68
68
   protected:
69
69
      int refCount;
70
70
 
86
86
      bool isOpen() const     { return openFlag; }
87
87
      bool isWritable() const { return writeFlag; }
88
88
      void update();
 
89
      bool checkCopyOnWrite();      //!< check if the file should be copied before writing to it
89
90
 
90
91
      QString basename() const;     //!< filename without extension
91
92
      QString dirPath() const;      //!< path
 
93
      QString canonicalDirPath() const; //!< path, resolved (no symlinks or . .. etc)
92
94
      QString path() const;         //!< path with filename
 
95
      QString canonicalPath() const; //!< path with filename, resolved (no symlinks or . .. etc)
93
96
      QString name() const;         //!< filename
94
97
 
95
98
      unsigned samples() const;
143
146
      bool isOpen() const     { return sf->isOpen(); }
144
147
      bool isWritable() const { return sf->isWritable(); }
145
148
      void update()           { sf->update(); }
 
149
      bool checkCopyOnWrite() { return sf->checkCopyOnWrite(); };  
146
150
 
147
151
      QString basename() const { return sf->basename(); }
148
152
      QString dirPath() const  { return sf->dirPath(); }
 
153
      QString canonicalDirPath() const  { return sf->canonicalDirPath(); }
149
154
      QString path() const     { return sf->path(); }
 
155
      QString canonicalPath() const  { return sf->canonicalPath(); }
150
156
      QString name() const     { return sf->name(); }
151
157
 
152
158
      unsigned samples() const    { return sf->samples(); }