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

AudioLayer::putUrgent() : remove unused return value

parent db83b2a3
Branches
Tags
No related merge requests found
......@@ -48,11 +48,11 @@ void AudioLayer::flushUrgent (void)
}
int AudioLayer::putUrgent (void* buffer, int toCopy)
void AudioLayer::putUrgent (void* buffer, int toCopy)
{
ost::MutexLock guard (_mutex);
return _urgentRingBuffer.Put (buffer, toCopy);
_urgentRingBuffer.Put (buffer, toCopy);
}
int AudioLayer::putMain (void *buffer, int toCopy, std::string call_id)
......
......@@ -134,9 +134,8 @@ class AudioLayer
* Copy data in the urgent buffer.
* @param buffer The buffer containing the data to be played ( ringtones )
* @param toCopy The size of the buffer
* @return int The number of bytes copied in the urgent buffer
*/
int putUrgent (void* buffer, int toCopy);
void putUrgent (void* buffer, int toCopy);
/**
* Put voice data in the main sound buffer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment