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
11fa3b62
Commit
11fa3b62
authored
16 years ago
by
Emmanuel Milou
Browse files
Options
Downloads
Patches
Plain Diff
Remove unuseful file from build system
parent
b86f42f6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/audio/Makefile.am
+0
-2
0 additions, 2 deletions
src/audio/Makefile.am
src/audio/samplecache.cpp
+0
-38
0 additions, 38 deletions
src/audio/samplecache.cpp
src/audio/samplecache.h
+0
-48
0 additions, 48 deletions
src/audio/samplecache.h
with
0 additions
and
88 deletions
src/audio/Makefile.am
+
0
−
2
View file @
11fa3b62
...
...
@@ -36,7 +36,6 @@ libaudio_la_SOURCES = \
dtmfgenerator.cpp
\
tonegenerator.cpp
\
codecDescriptor.cpp
\
samplecache.cpp
\
audioloop.cpp
\
ringbuffer.cpp
\
$(
SPEEX_SOURCES_CPP
)
...
...
@@ -55,7 +54,6 @@ noinst_HEADERS = \
audiodevice.h
\
dtmfgenerator.h
\
tonegenerator.h
\
samplecache.h
\
codecDescriptor.h
\
dtmf.h
\
tone.h
...
...
This diff is collapsed.
Click to expand it.
src/audio/samplecache.cpp
deleted
100644 → 0
+
0
−
38
View file @
b86f42f6
/*
* Copyright (C) 2008 Savoir-Faire Linux inc.
* Author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include
<samplecache.h>
SampleCache
::
SampleCache
(
pa_stream
*
s
)
:
_stream
(
s
)
{
//_stream = s ;
}
SampleCache
::~
SampleCache
()
{
//delete _pulse;
}
bool
SampleCache
::
uploadSample
(
SFLDataFormat
*
buffer
UNUSED
,
size_t
size
UNUSED
)
{
//pa_stream_write( pulse->caching , buffer , size , pa_xfree, 0 , PA_SEEK_RELATIVE);
//pa_stream_finish_upload( pulse->caching );
return
true
;
}
This diff is collapsed.
Click to expand it.
src/audio/samplecache.h
deleted
100644 → 0
+
0
−
48
View file @
b86f42f6
/*
* Copyright (C) 2008 Savoir-Faire Linux inc.
* Author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef _SAMPLE_CACHE_H
#define _SAMPLE_CACHE_H
#include
<pulse/pulseaudio.h>
#include
<audiolayer.h>
class
SampleCache
{
public:
SampleCache
(
pa_stream
*
stream
);
~
SampleCache
();
bool
uploadSample
(
SFLDataFormat
*
buffer
,
size_t
size
);
bool
removeSample
(
);
bool
isSampleCached
(
);
private:
// Copy Constructor
SampleCache
(
const
SampleCache
&
rh
);
// Assignment Operator
SampleCache
&
operator
=
(
const
SampleCache
&
rh
);
pa_stream
*
_stream
;
};
#endif // _SAMPLE_CACHE_H
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