30 CSNDFile(
const std::string &filename);
33 SF_INFO &GetFileInfo();
35 std::string &GetLastError();
36 sf_count_t Read(
short int *ptr, sf_count_t items);
39 static sf_count_t SNDLength(
void *data);
40 static sf_count_t SNDSeek(sf_count_t offset,
int whence,
void *data);
41 static sf_count_t SNDRead(
void *ptr, sf_count_t count,
void *data);
42 static sf_count_t SNDWrite(
const void *ptr, sf_count_t count,
void *data);
43 static sf_count_t SNDTell(
void *data);
47 std::string m_last_error;
48 SF_VIRTUAL_IO m_snd_callbacks;