camerauis/cameraxui/cxengine/src/cxesoundplayersymbian.cpp
changeset 60 a289dde0a1d6
parent 48 42ba2d16bf40
equal deleted inserted replaced
56:01e205c615b9 60:a289dde0a1d6
    90             // sounds are off and we don't play the sound,
    90             // sounds are off and we don't play the sound,
    91             // act as the sound has been played
    91             // act as the sound has been played
    92             emit playComplete(KErrNone);
    92             emit playComplete(KErrNone);
    93         }
    93         }
    94 
    94 
    95     } else if( state() == NotReady ) {
    95     } else {
    96         // Here sound loading has failed.
    96         // Here sound loading has failed or has not finished yet.
    97         // Emit signal with error code.
    97         // Emit signal with error code.
    98         emit playComplete(KErrNotReady);
    98         emit playComplete(KErrNotReady);
    99     }
    99     }
   100 
   100 
   101     CX_DEBUG_EXIT_FUNCTION();
   101     CX_DEBUG_EXIT_FUNCTION();