X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=plugins%2Fdali-feedback.cpp;h=68dcc0485484070796bdd7d912107a074731dbc0;hb=4c63e50bd948c73a6c0aef9a8d4b125bc5ae6cc9;hp=99fb1be4d829855d6119bafde743c0a95cdf5402;hpb=694aa6879854276ed5b2184fdd0827c16df25260;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/plugins/dali-feedback.cpp b/plugins/dali-feedback.cpp index 99fb1be..68dcc04 100644 --- a/plugins/dali-feedback.cpp +++ b/plugins/dali-feedback.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2018 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,7 +35,7 @@ using std::string; using namespace Dali; // The plugin factories -extern "C" DALI_EXPORT_API Dali::FeedbackPlugin* CreateFeedbackPlugin(void) +extern "C" DALI_ADAPTOR_API Dali::FeedbackPlugin* CreateFeedbackPlugin(void) { return new Dali::Plugin::DaliFeedback; } @@ -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);