blob: 67a34d484e3fe9ab4d486c83b873fc3b40a77fef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef AUDIOGRAPHER_SNDFILE_BASE_H
#define AUDIOGRAPHER_SNDFILE_BASE_H
// We need to use our modified version until
// the fd patch is accepted upstream
#include "private/sndfile.hh"
namespace AudioGrapher
{
/// Base class for all classes using libsndfile
class SndfileBase : public virtual AudioGrapher::SndfileHandle
{
public:
enum Mode
{
Read = SFM_READ,
Write = SFM_WRITE,
ReadWrite = SFM_RDWR
};
protected:
SndfileBase () {}
};
} // namespace
#endif // AUDIOGRAPHER_SNDFILE_BASE_H
|