if (priority == NULL || stream_type == NULL) {
ret = MM_ERROR_INVALID_ARGUMENT;
- debug_error("invalid argument, priority[0x%x], stream_type[%s], ret[0x%x]", priority, stream_type, ret);
+ debug_error("invalid argument, priority[%p], stream_type[%s], ret[0x%x]", priority, stream_type, ret);
} else {
for (i = 0; i < AVAIL_STREAMS_MAX; i++) {
if (g_stream_list.stream_types[i] &&
if (node->taken_by_id[i].pid == param_s.pid && node->taken_by_id[i].handle_id == param_s.handle_id) {
/* do callback for resumption */
if ((ret = _mm_sound_mgr_focus_do_callback(FOCUS_COMMAND_ACQUIRE, node, ¶m_s)))
- debug_error("Fail to _focus_do_callback for COMMAND ACQUIRE to node[%x], ret[0x%x]", node, ret);
+ debug_error("Fail to _focus_do_callback for COMMAND ACQUIRE to node[%p], ret[0x%x]", node, ret);
if (!strncmp(my_node->stream_type, node->stream_type, MAX_STREAM_TYPE_LEN))
need_to_trigger_watch_cb = false;
}
_dbus_signal_callback(signal_name, value, user_data);
} else {
value_type = g_variant_get_type(parameters);
- debug_warning("signal type is %s", value_type);
+ debug_warning("signal type is %p", value_type);
}
}
debug_log("[Device %s] id(%d) type(%s) direction(%d) state(%d) name(%s) is_running(%d) vendor-id(%04x) product-id(%04x)",
is_connected ? "Connected" : "Disconnected", device_id, device_type, io_direction, state, name,
- is_running, vendor_id, product_id, is_connected);
+ is_running, vendor_id, product_id);
if (cb_data == NULL) {
debug_warning("device connected changed callback data null");
Name: libmm-sound
Summary: MMSound Package contains client lib and sound_server binary
-Version: 0.12.3
+Version: 0.12.4
Release: 0
Group: System/Libraries
License: Apache-2.0
__mm_sound_mgr_ipc_notify_play_file_end(param);
debug_msg("Client callback msg_type (instance) : [%d]", (int)g_slots[param].param);
- debug_msg("Handle allocated handle : [0x%08X]", g_slots[param].plughandle);
+ debug_msg("Handle allocated handle : [%p]", g_slots[param].plughandle);
err = g_plugins[g_slots[param].pluginid].Destroy(g_slots[param].plughandle);
if (err < 0)
debug_critical("[CODEC MGR] Fail to destroy slot number : [%d] err [0x%x]", param, err);
debug_error("Device Open Error 0x%x", result);
goto Error;
}
- debug_log("Create audio_handle is %lu", toneInfo->handle);
+ debug_log("Create audio_handle is %d", toneInfo->handle);
debug_msg("tone : %d", param->tone);
debug_msg("repeat : %d", param->repeat_count);
if (toneInfo) {
if (toneInfo->handle) {
if (MM_ERROR_NONE != mm_sound_pa_close(toneInfo->handle))
- debug_error("mm_sound_pa_close() fail. handle(%lu)", toneInfo->handle);
+ debug_error("mm_sound_pa_close() fail. handle(%d)", toneInfo->handle);
}
free(toneInfo);
}
exit:
if (MM_ERROR_NONE != mm_sound_pa_close(toneInfo->handle))
- debug_error("mm_sound_pa_close() fail. handle(%lu)", toneInfo->handle);
+ debug_error("mm_sound_pa_close() fail. handle(%d)", toneInfo->handle);
#if 0
pthread_mutex_destroy(&g_control.syncker);
else
pa_operation_unref(o);
- debug_msg("Call stop callback(%p, %p) of mgr_codec", h->stop_cb, h->cb_param);
+ debug_msg("Call stop callback(%p, %d) of mgr_codec", h->stop_cb, h->cb_param);
if (h->stop_cb)
h->stop_cb(h->cb_param);
}