mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
remove sndfile debugging from export code
git-svn-id: svn://localhost/ardour2/branches/3.0@12805 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
85c2fd2b69
commit
b8d724d57a
1 changed files with 1 additions and 6 deletions
|
|
@ -52,8 +52,6 @@
|
|||
#ifndef SNDFILE_HH
|
||||
#define SNDFILE_HH
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <sndfile.h>
|
||||
|
||||
#include <string>
|
||||
|
|
@ -152,7 +150,7 @@ SndfileHandle::SNDFILE_ref::SNDFILE_ref (void)
|
|||
|
||||
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)
|
||||
|
|
@ -171,7 +169,6 @@ SndfileHandle::SndfileHandle (const char *path, int mode, int fmt, int chans, in
|
|||
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 ;
|
||||
|
|
@ -194,7 +191,6 @@ SndfileHandle::SndfileHandle (std::string const & path, int mode, int fmt, int c
|
|||
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 ;
|
||||
|
|
@ -220,7 +216,6 @@ SndfileHandle::SndfileHandle (int fd, bool close_desc, int mode, int fmt, int ch
|
|||
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 ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue