Skip to content
Snippets Groups Projects
Commit 63388c99 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

remove unused func

parent 52d01e2f
Branches
Tags
No related merge requests found
......@@ -199,15 +199,6 @@ void WaveFile::openFile (const std::string& fileName, int audioSamplingRate) thr
}
bool WaveFile::closeFile()
{
fileStream.close();
return true;
}
bool WaveFile::isFileExist (const std::string& fileName)
{
std::fstream fs (fileName.c_str(), std::ios_base::in);
......@@ -222,19 +213,6 @@ bool WaveFile::isFileExist (const std::string& fileName)
}
bool WaveFile::isFileOpened()
{
if (fileStream.is_open()) {
_debug ("WaveFile: file is openened");
return true;
} else {
_debug ("WaveFile: file is not openend");
return false;
}
}
void WaveFile::openExistingWaveFile (const std::string& fileName, int audioSamplingRate) throw(AudioFileException)
{
......@@ -442,8 +420,6 @@ void WaveFile::openExistingWaveFile (const std::string& fileName, int audioSampl
void WaveFile::loadFile (const std::string& name, sfl::AudioCodec * /*codec*/, unsigned int sampleRate) throw(AudioFileException)
{
_debug("WaveFile: Load new file %s", name.c_str());
try {
openFile (name, sampleRate);
}
......
......@@ -163,21 +163,11 @@ class WaveFile : public AudioFile
*/
void openFile (const std::string&, int) throw(AudioFileException);
/**
* Close an opened file
*/
bool closeFile();
/**
* Test if the specified file already exist
*/
bool isFileExist (const std::string&);
/**
* Test if file opend
*/
bool isFileOpened();
/**
* Load a sound file in memory
* @param filename The absolute path to the file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment