void focus_cb(sound_stream_info_h stream_info, sound_stream_focus_change_reason_e reason, const char *extra_info, void *user_data)
{
- g_print("FOCUS callback is called, reason(%d), extra_info(%s), userdata(%p)", reason, extra_info, user_data);
+ PRINT_UTC_LOG("[Line : %d][%s]FOCUS callback is called, reason(%d), extra_info(%s), userdata(%p)",
+ __LINE__, API_NAMESPACE, reason, extra_info, user_data);
return;
}
static void set_sound_stream_info()
{
- sound_device_list_h device_list = NULL;
- int ret = SOUND_MANAGER_ERROR_NONE;
-
if (g_stream_info_h) {
- g_print("stream information is already set, please destory handle and try again\\n", __LINE__, API_NAMESPACE);
+ PRINT_UTC_LOG("[Line : %d][%s]stream information is already set, please destory handle and try again\\n", __LINE__, API_NAMESPACE);
return;
}
if (sound_manager_create_stream_information(SOUND_STREAM_TYPE_MEDIA, focus_cb, player, &g_stream_info_h)) {
- g_print("failed to create stream_information()\\n", __LINE__, API_NAMESPACE);
+ PRINT_UTC_LOG("[Line : %d][%s]failed to create stream_information()\\n", __LINE__, API_NAMESPACE);
return;
}
return;
*/
int utc_media_player_set_sound_type_n2(void)
{
- sound_type_e type;
player_state_e state;
int ret = player_get_state (player, &state);
*/
int utc_media_player_set_audio_policy_info_p(void)
{
- sound_type_e type;
player_state_e state;
int ret = player_get_state (player, &state);
*/
int utc_media_player_set_audio_policy_info_n(void)
{
- sound_type_e type;
player_state_e state;
int ret = player_get_state (player, &state);