profilesservices/RingingTone3DPlugin/src/C3DAudioPattern.cpp
branchRCL_3
changeset 22 673fb3e04649
parent 0 8c5d936e5675
equal deleted inserted replaced
20:3b67655da2cc 22:673fb3e04649
   161 		{
   161 		{
   162 		T3DLoop tempLoop;
   162 		T3DLoop tempLoop;
   163 		tempLoop.iLoopStart = aStream.ReadUint8L();
   163 		tempLoop.iLoopStart = aStream.ReadUint8L();
   164 		tempLoop.iLoopEnd = aStream.ReadUint8L();
   164 		tempLoop.iLoopEnd = aStream.ReadUint8L();
   165 		tempLoop.iCount = aStream.ReadUint8L();
   165 		tempLoop.iCount = aStream.ReadUint8L();
   166 		iLoops.Append( tempLoop );
   166 		iLoops.AppendL( tempLoop );
   167 		}
   167 		}
   168 	
   168 	
   169 	// Reset the array of loops.
   169 	// Reset the array of loops.
   170 	iScript.Reset();
   170 	iScript.Reset();
   171 	TInt scriptCount = aStream.ReadUint8L();
   171 	TInt scriptCount = aStream.ReadUint8L();
   186 		
   186 		
   187 		T3DScriptUpdate tempScript;
   187 		T3DScriptUpdate tempScript;
   188 		tempScript.iDTime = aStream.ReadUint16L();
   188 		tempScript.iDTime = aStream.ReadUint16L();
   189 		tempScript.iPosition = tempPosition;
   189 		tempScript.iPosition = tempPosition;
   190 		tempScript.iVelocity = tempVelocity;
   190 		tempScript.iVelocity = tempVelocity;
   191 		iScript.Append( tempScript );
   191 		iScript.AppendL( tempScript );
   192 		}
   192 		}
   193 	}
   193 	}
   194 
   194 
   195 // -----------------------------------------------------------------------------
   195 // -----------------------------------------------------------------------------
   196 // C3DAudioPattern::SetName
   196 // C3DAudioPattern::SetName