devsoundextensions/mmfcustominterfaces/WmaDecoderIntfc/WmaDecoderIntfcProxy/src/WmaDecoderIntfcProxy.cpp
equal
deleted
inserted
replaced
829 ptr); |
829 ptr); |
830 RDesReadStream stream(ptr); |
830 RDesReadStream stream(ptr); |
831 CleanupClosePushL(stream); // stream on cleanup |
831 CleanupClosePushL(stream); // stream on cleanup |
832 for (TInt i=0; i<supportedFormatsPkg(); i++) |
832 for (TInt i=0; i<supportedFormatsPkg(); i++) |
833 { |
833 { |
834 aSupportedFormats.Append(static_cast<TFormat>(stream.ReadUint32L())); |
834 aSupportedFormats.AppendL(static_cast<TFormat>(stream.ReadUint32L())); |
835 } |
835 } |
836 CleanupStack::PopAndDestroy(&stream); |
836 CleanupStack::PopAndDestroy(&stream); |
837 CleanupStack::PopAndDestroy(buf); |
837 CleanupStack::PopAndDestroy(buf); |
838 if (status != KErrNone && status != KErrNotFound) |
838 if (status != KErrNone && status != KErrNotFound) |
839 { |
839 { |
872 ptr); |
872 ptr); |
873 RDesReadStream stream(ptr); |
873 RDesReadStream stream(ptr); |
874 CleanupClosePushL(stream); // stream on cleanup |
874 CleanupClosePushL(stream); // stream on cleanup |
875 for (TInt i=0; i<supportedToolsPkg(); i++) |
875 for (TInt i=0; i<supportedToolsPkg(); i++) |
876 { |
876 { |
877 aSupportedTools.Append(static_cast<TTool>(stream.ReadUint32L())); |
877 aSupportedTools.AppendL(static_cast<TTool>(stream.ReadUint32L())); |
878 } |
878 } |
879 CleanupStack::PopAndDestroy(&stream); |
879 CleanupStack::PopAndDestroy(&stream); |
880 CleanupStack::PopAndDestroy(buf); |
880 CleanupStack::PopAndDestroy(buf); |
881 |
881 |
882 |
882 |
916 ptr); |
916 ptr); |
917 RDesReadStream stream(ptr); |
917 RDesReadStream stream(ptr); |
918 CleanupClosePushL(stream); // stream on cleanup |
918 CleanupClosePushL(stream); // stream on cleanup |
919 for (TInt i=0; i < numPckg(); i++) |
919 for (TInt i=0; i < numPckg(); i++) |
920 { |
920 { |
921 aControllableTools.Append(static_cast<TTool>(stream.ReadUint32L())); |
921 aControllableTools.AppendL(static_cast<TTool>(stream.ReadUint32L())); |
922 } |
922 } |
923 CleanupStack::PopAndDestroy(&stream); |
923 CleanupStack::PopAndDestroy(&stream); |
924 CleanupStack::PopAndDestroy(buf); |
924 CleanupStack::PopAndDestroy(buf); |
925 if (status != KErrNone && status != KErrNotFound) |
925 if (status != KErrNone && status != KErrNotFound) |
926 { |
926 { |