mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-02 19:59:30 +01:00
new file
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2960 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d3f64c2848
commit
bacf14d8a8
1 changed files with 20 additions and 0 deletions
20
libs/ardour/ardour/readable.h
Normal file
20
libs/ardour/ardour/readable.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef __ardour_readable_h__
|
||||
#define __ardour_readable_h__
|
||||
|
||||
#include <ardour/types.h>
|
||||
|
||||
namespace ARDOUR {
|
||||
|
||||
class Readable {
|
||||
public:
|
||||
Readable () {}
|
||||
virtual ~Readable() {}
|
||||
|
||||
virtual nframes64_t read (Sample*, nframes64_t pos, nframes64_t cnt, int channel) const = 0;
|
||||
virtual nframes64_t readable_length() const = 0;
|
||||
virtual uint32_t n_channels () const = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* __ardour_readable_h__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue