Implementation of isSkipSession() in CAudioSessionHandler.c
[platform/core/api/audio-io.git] / src / cpp / CAudioIO.cpp
index 1afcac2..8b6c1b0 100644 (file)
@@ -477,7 +477,7 @@ void CAudioIO::ignoreSession() throw(CAudioError) {
         if (mpPulseAudioClient != NULL && mState == CAudioInfo::EAudioIOState::AUDIO_IO_STATE_RUNNING)
             THROW_ERROR_MSG(CAudioError::EError::ERROR_INVALID_OPERATION, "An Operation is not permitted while started");
 
-        bool isSkip = mpAudioSessionHandler->isSkipSessionEvent();
+        bool isSkip = mpAudioSessionHandler->isSkipSession();
         if (isSkip == false && mpAudioSessionHandler->getId() >= 0)
             mpAudioSessionHandler->unregisterSound();