From: Heeyong Song Date: Thu, 18 Jun 2020 06:42:22 +0000 (+0900) Subject: [Tizen] Fix feedback sound API X-Git-Tag: accepted/tizen/unified/20200619.121804^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=819dd4befba3693b7b340427eae93d3f31a08377;hp=3dad064ac57742354ecd0f6bb309556140e9a9da;p=platform%2Fcore%2Fuifw%2Fdali-adaptor-legacy.git [Tizen] Fix feedback sound API mm_sound_play_keysound() should be use with mm_sound_stop_keysound(). Change-Id: I4197a848508e12f880b30bded19d8c918b1af7bb --- diff --git a/plugins/dali-feedback.cpp b/plugins/dali-feedback.cpp index c53935f..68dcc04 100644 --- a/plugins/dali-feedback.cpp +++ b/plugins/dali-feedback.cpp @@ -82,7 +82,7 @@ int DaliFeedback::PlaySound( const std::string& fileName ) void DaliFeedback::StopSound( int handle ) { - int errorCode = mm_sound_stop_sound( handle ); + int errorCode = mm_sound_stop_keysound( NULL ); if( errorCode < 0 ) { DEBUG_PRINTF( "StopSound() handle = %d failed with error code = %d\n", handle, errorCode);