Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
63388c99
Commit
63388c99
authored
13 years ago
by
Rafaël Carré
Browse files
Options
Downloads
Patches
Plain Diff
remove unused func
parent
52d01e2f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sflphone-common/src/audio/sound/audiofile.cpp
+0
-24
0 additions, 24 deletions
sflphone-common/src/audio/sound/audiofile.cpp
sflphone-common/src/audio/sound/audiofile.h
+0
-10
0 additions, 10 deletions
sflphone-common/src/audio/sound/audiofile.h
with
0 additions
and
34 deletions
sflphone-common/src/audio/sound/audiofile.cpp
+
0
−
24
View file @
63388c99
...
...
@@ -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
);
}
...
...
This diff is collapsed.
Click to expand it.
sflphone-common/src/audio/sound/audiofile.h
+
0
−
10
View file @
63388c99
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment