Skip to content
Snippets Groups Projects
Commit 11fa3b62 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Remove unuseful file from build system

parent b86f42f6
Branches
Tags
No related merge requests found
......@@ -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
......
/*
* 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;
}
/*
* 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment