upnpmpxplugins/upnpplaybackplugins/src/upnpsingleton.cpp
changeset 30 5ec426854821
parent 0 7f85d04be362
equal deleted inserted replaced
25:52826dcbed74 30:5ec426854821
   286             {
   286             {
   287             CUpnpAVDevice* dev = 0;
   287             CUpnpAVDevice* dev = 0;
   288             TRAP_IGNORE( dev = CUpnpAVDevice::NewL( aDevice ) );
   288             TRAP_IGNORE( dev = CUpnpAVDevice::NewL( aDevice ) );
   289             if( dev )
   289             if( dev )
   290                 {
   290                 {
   291                 iMediaRenderers.Append( dev );
   291                 iMediaRenderers.AppendL( dev );
   292                 if ( iRendererselectorObserver != 0 )
   292                 if ( iRendererselectorObserver != 0 )
   293                     {
   293                     {
   294                     TRAP_IGNORE( DeliverNamesToObserverL( EFalse ) );
   294                     TRAP_IGNORE( DeliverNamesToObserverL( EFalse ) );
   295                     }
   295                     }
   296                 }
   296                 }
   468         {
   468         {
   469          __LOG("CacheRendererListL::Remaining devices are all new.");
   469          __LOG("CacheRendererListL::Remaining devices are all new.");
   470         CUpnpAVDevice* device = (*devices)[ 0 ];
   470         CUpnpAVDevice* device = (*devices)[ 0 ];
   471         if( device->AudioCapability() )
   471         if( device->AudioCapability() )
   472             {
   472             {
   473             iMediaRenderers.Append( device );
   473             iMediaRenderers.AppendL( device );
   474             }
   474             }
   475         devices->Remove( 0 );
   475         devices->Remove( 0 );
   476         }
   476         }
   477 
   477 
   478     CleanupStack::PopAndDestroy( devices ); 
   478     CleanupStack::PopAndDestroy( devices );