Ardour
9.0-pre0-427-gd2a3450e2f
sndfile.h
Go to the documentation of this file.
1
#ifndef AUDIOGRAPHER_SNDFILE_H
2
#define AUDIOGRAPHER_SNDFILE_H
3
4
#include "
sndfile_writer.h
"
5
#include "
sndfile_reader.h
"
6
7
namespace
AudioGrapher
8
{
9
13
template
<
typename
T = DefaultSampleType>
14
class
Sndfile
:
public
SndfileWriter
<T>,
public
SndfileReader
<T>
15
{
16
public
:
17
18
Sndfile
(std::string
const
& filename,
SndfileBase::Mode
mode =
SndfileBase::ReadWrite
,
int
format
= 0,
19
ChannelCount
channels
= 0,
samplecnt_t
samplerate
= 0)
20
:
SndfileHandle
(filename, mode,
format
,
channels
,
samplerate
)
21
{}
22
23
Sndfile
(
Sndfile
const
& other) :
SndfileHandle
(other) {}
24
using
SndfileHandle::operator=;
25
26
};
27
28
}
// namespace
29
30
#endif
// AUDIOGRAPHER_SNDFILE_H
AudioGrapher::SndfileBase::Mode
Mode
Definition:
sndfile_base.h:16
AudioGrapher::SndfileBase::ReadWrite
@ ReadWrite
Definition:
sndfile_base.h:19
AudioGrapher::SndfileHandle
Definition:
sndfile.hh:65
AudioGrapher::SndfileHandle::samplerate
int samplerate(void) const
Definition:
sndfile.hh:103
AudioGrapher::SndfileHandle::channels
int channels(void) const
Definition:
sndfile.hh:102
AudioGrapher::SndfileHandle::format
int format(void) const
Definition:
sndfile.hh:101
AudioGrapher::SndfileReader
Definition:
sndfile_reader.h:21
AudioGrapher::SndfileWriter
Definition:
sndfile_writer.h:27
AudioGrapher::Sndfile
Definition:
sndfile.h:15
AudioGrapher::Sndfile::Sndfile
Sndfile(Sndfile const &other)
Definition:
sndfile.h:23
AudioGrapher::Sndfile::Sndfile
Sndfile(std::string const &filename, SndfileBase::Mode mode=SndfileBase::ReadWrite, int format=0, ChannelCount channels=0, samplecnt_t samplerate=0)
Definition:
sndfile.h:18
AudioGrapher
Definition:
analysis_graph.h:33
AudioGrapher::ChannelCount
uint8_t ChannelCount
Definition:
audiographer/audiographer/types.h:13
AudioGrapher::samplecnt_t
int64_t samplecnt_t
Definition:
audiographer/audiographer/types.h:11
sndfile_reader.h
sndfile_writer.h
libs
audiographer
audiographer
sndfile
sndfile.h
Generated on Mon Nov 11 2024 08:49:06 for Ardour by
1.9.1