devsoundextensions/mmfcustominterfaces/SbcEncoderIntfc/SbcEncoderIntfcProxy/src/SbcEncoderIntfcProxy.cpp
changeset 58 b6dbf97aba93
parent 0 40261b775718
equal deleted inserted replaced
57:1cbb0d5bf7f2 58:b6dbf97aba93
   203    	RDesReadStream stream(ptr);
   203    	RDesReadStream stream(ptr);
   204     CleanupClosePushL(stream);
   204     CleanupClosePushL(stream);
   205 
   205 
   206    	for (TInt i = 0; i < pckgBuf(); i++)
   206    	for (TInt i = 0; i < pckgBuf(); i++)
   207       	{
   207       	{
   208    		aSupportedChannelModes.Append(
   208    		aSupportedChannelModes.AppendL(
   209    		    static_cast<TSbcChannelMode>(stream.ReadUint32L()));
   209    		    static_cast<TSbcChannelMode>(stream.ReadUint32L()));
   210    		}
   210    		}
   211 
   211 
   212    	CleanupStack::PopAndDestroy(&stream);
   212    	CleanupStack::PopAndDestroy(&stream);
   213    	CleanupStack::PopAndDestroy(buf);
   213    	CleanupStack::PopAndDestroy(buf);
   374    	RDesReadStream stream(ptr);
   374    	RDesReadStream stream(ptr);
   375     CleanupClosePushL(stream);
   375     CleanupClosePushL(stream);
   376 
   376 
   377    	for (TInt i = 0; i < pckgBuf(); i++)
   377    	for (TInt i = 0; i < pckgBuf(); i++)
   378       	{
   378       	{
   379    		aSupportedAllocationMethods.Append(
   379    		aSupportedAllocationMethods.AppendL(
   380    		            static_cast<TSbcAllocationMethod>(stream.ReadUint32L()));
   380    		            static_cast<TSbcAllocationMethod>(stream.ReadUint32L()));
   381    		}
   381    		}
   382 
   382 
   383    	CleanupStack::PopAndDestroy(&stream);
   383    	CleanupStack::PopAndDestroy(&stream);
   384    	CleanupStack::PopAndDestroy(buf);
   384    	CleanupStack::PopAndDestroy(buf);
   695    	RDesReadStream stream(aPtr);
   695    	RDesReadStream stream(aPtr);
   696     CleanupClosePushL(stream);
   696     CleanupClosePushL(stream);
   697 
   697 
   698    	for (TInt i = 0; i < aCount; i++)
   698    	for (TInt i = 0; i < aCount; i++)
   699       	{
   699       	{
   700    		aArray.Append(stream.ReadUint32L());
   700    		aArray.AppendL(stream.ReadUint32L());
   701    		}
   701    		}
   702 
   702 
   703    	CleanupStack::PopAndDestroy(&stream);
   703    	CleanupStack::PopAndDestroy(&stream);
   704     }
   704     }
   705 
   705