[Version] 0.2.7
[Issue Type] Svace
Change-Id: Icc4f6caa8ff339c2592c3e82b9281bd2434cc379
Name: capi-media-tone-player
Summary: A tone player library in Tizen C API
Name: capi-media-tone-player
Summary: A tone player library in Tizen C API
Release: 0
Group: Multimedia/API
License: Apache-2.0
Release: 0
Group: Multimedia/API
License: Apache-2.0
static gboolean _g_timeout_cb(gpointer data)
{
static gboolean _g_timeout_cb(gpointer data)
{
+ int id = GPOINTER_TO_INT(data);
int ret = 0;
g_print("< Stopping id(%d), ", id);
int ret = 0;
g_print("< Stopping id(%d), ", id);
g_print("gid(%d) ", gid);
if (duration != sleep_time)
g_print("gid(%d) ", gid);
if (duration != sleep_time)
- g_timeout_add(sleep_time, _g_timeout_cb, (void *)gid);
+ g_timeout_add(sleep_time, _g_timeout_cb, GINT_TO_POINTER(gid));
for (j = 0; j < sleep_time / 100; j++) {
g_print(".");
for (j = 0; j < sleep_time / 100; j++) {
g_print(".");