#ifndef SNDFILE_HH
#define SNDFILE_HH
-#include <iostream>
-
#include <sndfile.h>
#include <string>
inline
SndfileHandle::SNDFILE_ref::~SNDFILE_ref (void)
-{ if (sf != NULL) { std::cerr << "sf_closing " << sf << std::endl; sf_close (sf) ; } }
+{ if (sf != NULL) { sf_close (sf) ; } }
inline
SndfileHandle::SndfileHandle (const char *path, int mode, int fmt, int chans, int srate)
p->sfinfo.seekable = 0 ;
p->sf = sf_open (path, mode, &p->sfinfo) ;
- std::cerr << "3 attempted to open " << path << " got " << p->sf << std::endl;
} ;
return ;
p->sfinfo.seekable = 0 ;
p->sf = sf_open (path.c_str (), mode, &p->sfinfo) ;
- std::cerr << "attempted to open " << path << " got " << p->sf << std::endl;
} ;
return ;
p->sfinfo.seekable = 0 ;
p->sf = sf_open_fd (fd, mode, &p->sfinfo, close_desc) ;
- std::cerr << "2 attempted to open via fd " << fd << " got " << p->sf << std::endl;
} ;
return ;