equal
deleted
inserted
replaced
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(); |