src/experiments/babybot/soundlocalization/ITDBuffer.cpp
void CITDBuffer ::PutItem (CORR_DATA item)
{ 
	pointer [actual].itd=item.itd;
	pointer [actual].shift=item.shift;
	pointer [actual].peak_level=item.peak_level;
	pointer [actual].valid=item.valid;

	actual++;
	
	if (actual == m_size) actual=0;
}
//--------------------------------------------------------------------------------------
//       Class:  CITDBuffer
//      Method:  PutItem(item)
// Description:  Adds a new item into the buffer
//--------------------------------------------------------------------------------------
CITDBuffer
Method:  PutItem(item)
Description:  Adds a new item into the buffer
CITDBuffer Method : PutItem ( item ) Description : Adds a new item into the buffer
void CITDBuffer ::PutItem (CORR_DATA item)
{ 
	pointer [actual].itd=item.itd;
	pointer [actual].shift=item.shift;
	pointer [actual].peak_level=item.peak_level;
	pointer [actual].valid=item.valid;
	actual++;
	if (actual == m_size) actual=0;
}
void CITDBuffer :: PutItem ( CORR_DATA item ) { pointer [ actual ] . itd = item . itd ; pointer [ actual ] . shift = item . shift ; pointer [ actual ] . peak_level = item . peak_level ; pointer [ actual ] . valid = item . valid ; actual ++ ; if ( actual == m_size ) actual = 0 ; }
Class:  CITDBuffer
Method:  PutItem(item)
Description:  Adds a new item into the buffer
Class : CITDBuffer Method : PutItem ( item ) Description : Adds a new item into the buffer