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

audiolayer::putMain() : remove unused func

parent 4270a30d
No related branches found
No related tags found
No related merge requests found
...@@ -55,13 +55,6 @@ void AudioLayer::putUrgent (void* buffer, int toCopy) ...@@ -55,13 +55,6 @@ void AudioLayer::putUrgent (void* buffer, int toCopy)
_urgentRingBuffer.Put (buffer, toCopy); _urgentRingBuffer.Put (buffer, toCopy);
} }
int AudioLayer::putMain (void *buffer, int toCopy, std::string call_id)
{
ost::MutexLock guard (_mutex);
return getMainBuffer()->putData (buffer, toCopy, call_id);
}
void AudioLayer::notifyincomingCall() void AudioLayer::notifyincomingCall()
{ {
// Notify (with a beep) an incoming call when there is already a call // Notify (with a beep) an incoming call when there is already a call
......
...@@ -137,14 +137,6 @@ class AudioLayer ...@@ -137,14 +137,6 @@ class AudioLayer
*/ */
void putUrgent (void* buffer, int toCopy); void putUrgent (void* buffer, int toCopy);
/**
* Put voice data in the main sound buffer
* @param buffer The buffer containing the voice data ()
* @param toCopy The size of the buffer
* @return int The number of bytes copied
*/
int putMain (void* buffer, int toCopy, std::string call_id = default_id);
void flushMain (void); void flushMain (void);
void flushUrgent (void); void flushUrgent (void);
......
...@@ -74,14 +74,6 @@ public: ...@@ -74,14 +74,6 @@ public:
*/ */
~AudioStream(); ~AudioStream();
/**
* Write data to the main abstraction ring buffer.
* @param buffer The buffer containing the data to be played
* @param toCopy The number of samples, in bytes
* @return int The number of bytes played
*/
int putMain(void* buffer, int toCopy);
/** /**
* Write data to the urgent abstraction ring buffer. ( dtmf , double calls ) * Write data to the urgent abstraction ring buffer. ( dtmf , double calls )
* @param buffer The buffer containing the data to be played * @param buffer The buffer containing the data to be played
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment