mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-06 14:35:32 +01:00
Update scorealign to SVN r227.
This commit is contained in:
17
lib-src/libscorealign/audiofilereader.h
Normal file
17
lib-src/libscorealign/audiofilereader.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#define MAX_NAME_LEN 255
|
||||
|
||||
class Audio_file_reader : public Audio_reader {
|
||||
public:
|
||||
virtual long read(float *data, long n);
|
||||
SNDFILE *sf;
|
||||
SF_INFO sf_info;
|
||||
char name[MAX_NAME_LEN + 1];
|
||||
int bytes_per_frame;
|
||||
long total_frames;
|
||||
bool open(const char *filename, Scorealign &sa, bool verbose);
|
||||
void close();
|
||||
double get_sample_rate();
|
||||
long get_frames();
|
||||
void print_info();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user