Commit Graph

20 Commits

Author SHA1 Message Date
4ba8ad9b8f [#1881] Remove default buffer from MainBuffer (update unit-tests) 2009-08-13 17:25:17 -04:00
b985c2f7be [#1881] Add ring buffer read pointer tests 2009-08-13 09:31:53 -04:00
acf77af862 [#1883] Fix issues in ringbuffer reader pointers 2009-08-12 14:58:05 -04:00
0a64e53760 [#1882] Fixed MainBuffer::UnBinCallID() in case there is no ringbuffer 2009-08-05 09:27:34 -04:00
8ccca4ee85 [#1882] Test (and fixe) high level conference and mixing functionalities
test for multiple conference participants

MainBuffer::getData
MainBuffer::putData
MainBuffer::discard
MainBuffer::flush
2009-08-04 17:03:25 -04:00
69f21fdc11 [#1882] Update Bind, unBind call_id in MainBuffer
Now, creation and deletion of rngbuffers is automated.

It fixes the problem concerning discarding the data
2009-08-03 18:21:08 -04:00
d213ea72aa [#1882] Finilize multiple reading pointer in RingBuffer 2009-07-31 14:40:39 -04:00
176c4e2450 [#1882] Add default ringbuffer pointer 2009-07-31 10:53:21 -04:00
9a6c475851 [#1882] Add RingBuffer multiple read pointer basic functionnalities
create, remove, get, store  ReadPointer
2009-07-31 10:47:56 -04:00
9f04a85a93 [#1882] Fix MainBuffer flushData unit test 2009-07-31 08:57:52 -04:00
02f6f22fcf [#1882] Added Multiple CallID mapping to MainBuffer 2009-07-30 18:23:28 -04:00
ba8fd56e74 [#1881] Add discard and flush unit-tests 2009-07-29 12:00:44 -04:00
b2ebfa42e2 [#1881] Add availForGet in MainBuffer 2009-07-29 11:24:44 -04:00
ae2b3851b3 [#1881] Add availForPut function to MainBuffer 2009-07-29 10:58:31 -04:00
317605f5d9 [#1881] Add a map between call id and coresponding ring buffer
This buffer is not one coresponding to the call ID since we do not
want to send back the incoming data
In case of a conference, we just need to extend this id to a set of ids
and mix them together if the set is greater than one
2009-07-28 17:48:09 -04:00
063e3720bb [#1881] MainBuffe now robust to false ids on getData and putData 2009-07-28 16:23:58 -04:00
f808d247ca [#1881] Fix big big big memory leak
Only the pointer from the ringbuffer map were erased,
not the ring buffer itself...
2009-07-28 16:05:26 -04:00
ceb8a05c5d [#1881] Add getData and putData to mainBuffer
The audio frame is copied into the right ring buffer given the CallID
as an argument
2009-07-28 15:54:25 -04:00
0f4dbdacc2 [#1881] Unit-test basic ring buffer functionnaities
Put(int), Get(int), Put(float), Get(float),
using two pointer (which should be in AudioLayer and in AudioRtp)
2009-07-28 13:52:23 -04:00
cac8db7ae0 [#1881] Add class MainBuffer and basic buffer creation unit-tests 2009-07-28 13:18:57 -04:00