diff -r 065198191975 -r 5723da102db1 internetradio2.0/irdataprovider/src/irhttpdataprovider.cpp --- a/internetradio2.0/irdataprovider/src/irhttpdataprovider.cpp Thu Sep 02 20:17:46 2010 +0300 +++ b/internetradio2.0/irdataprovider/src/irhttpdataprovider.cpp Fri Sep 17 08:27:59 2010 +0300 @@ -45,6 +45,12 @@ const TUid KUidHelixController = { 0x101F8514 }; // Helix Video controller UID const TInt KLogbufferLenth = KLogBufferSize/2 - 1; +// Since the supported formats gotten from Helix don't include aac & aacp while it +// does support them, we add them here. +_LIT( KIRDPAacMimeType, "audio/aac" ); +_LIT( KIRDPAacpMimeType, "audio/aacp" ); +_LIT( KComma, "," ); + // --------------------------------------------------------------------------- // CIRHttpDataProvider::CIRHttpDataProvider(MIRHttpDataProviderObserver& // aObserver):iObserver(aObserver),iRunning(EFalse) @@ -793,7 +799,6 @@ } else { - _LIT(KComma,","); audioMIMEs.Append( KComma ); } tempD++; @@ -804,6 +809,13 @@ } }; + // Since the supported formats gotten from Helix don't include aac & aacp while it + // does support them, we add them here. + audioMIMEs.Append( KIRDPAacMimeType ); + audioMIMEs.Append( KComma ); + audioMIMEs.Append( KIRDPAacpMimeType ); + audioMIMEs.Append( KComma ); + // Set the X-Nokia-iRAPP-Accept header TBuf8 xNokiaIrAppAccept; _LIT(KXNokiaIrAppAccept,"X-Nokia-iRAPP-Accept");