|
| SndfileWriter (std::string const &path, int format, ChannelCount channels, samplecnt_t samplerate, std::shared_ptr< BroadcastInfo > broadcast_info) |
|
virtual | ~SndfileWriter () |
|
samplecnt_t | get_samples_written () const |
|
void | reset_samples_written_count () |
|
virtual void | process (ProcessContext< T > const &c) |
| Writes data to file. More...
|
|
SndfileHandle & | operator= (const SndfileHandle &rhs) |
|
Public Member Functions inherited from AudioGrapher::SndfileHandle |
| SndfileHandle (void) |
|
| SndfileHandle (const char *path, int mode=SFM_READ, int format=0, int channels=0, int samplerate=0) |
|
| SndfileHandle (std::string const &path, int mode=SFM_READ, int format=0, int channels=0, int samplerate=0) |
|
| SndfileHandle (int fd, bool close_desc, int mode=SFM_READ, int format=0, int channels=0, int samplerate=0) |
|
| ~SndfileHandle (void) |
|
| SndfileHandle (const SndfileHandle &orig) |
|
SndfileHandle & | operator= (const SndfileHandle &rhs) |
|
void | close (void) |
|
int | refCount (void) const |
|
| operator bool () const |
|
bool | operator== (const SndfileHandle &rhs) const |
|
sf_count_t | frames (void) const |
|
int | format (void) const |
|
int | channels (void) const |
|
int | samplerate (void) const |
|
int | error (void) const |
|
const char * | strError (void) const |
|
int | command (int cmd, void *data, int datasize) |
|
sf_count_t | seek (sf_count_t frames, int whence) |
|
void | writeSync (void) |
|
int | setString (int str_type, const char *str) |
|
const char * | getString (int str_type) const |
|
sf_count_t | read (short *ptr, sf_count_t items) |
|
sf_count_t | read (int *ptr, sf_count_t items) |
|
sf_count_t | read (float *ptr, sf_count_t items) |
|
sf_count_t | read (double *ptr, sf_count_t items) |
|
sf_count_t | write (const short *ptr, sf_count_t items) |
|
sf_count_t | write (const int *ptr, sf_count_t items) |
|
sf_count_t | write (const float *ptr, sf_count_t items) |
|
sf_count_t | write (const double *ptr, sf_count_t items) |
|
sf_count_t | readf (short *ptr, sf_count_t frames) |
|
sf_count_t | readf (int *ptr, sf_count_t frames) |
|
sf_count_t | readf (float *ptr, sf_count_t frames) |
|
sf_count_t | readf (double *ptr, sf_count_t frames) |
|
sf_count_t | writef (const short *ptr, sf_count_t frames) |
|
sf_count_t | writef (const int *ptr, sf_count_t frames) |
|
sf_count_t | writef (const float *ptr, sf_count_t frames) |
|
sf_count_t | writef (const double *ptr, sf_count_t frames) |
|
sf_count_t | readRaw (void *ptr, sf_count_t bytes) |
|
sf_count_t | writeRaw (const void *ptr, sf_count_t bytes) |
|
virtual | ~Sink () |
|
virtual void | process (ProcessContext< DefaultSampleType > const &context)=0 |
|
virtual void | process (ProcessContext< DefaultSampleType > &context) |
|
template<typename T = DefaultSampleType>
class AudioGrapher::SndfileWriter< T >
Writer for audio files using libsndfile. Only short, int and float are valid template parameters
Definition at line 22 of file sndfile_writer.h.