/*
- * 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.
#include <dlog.h>
-#define DEBUG_PRINTF(fmt, arg...) LOGD(" "fmt, ##arg)
+#define DEBUG_PRINTF(fmt, arg...) LOGD(" " fmt, ##arg)
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;
}
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);