Add protection code for focus-callback creation
[platform/core/multimedia/libmm-sound.git] / mm_sound_keysound.c
index 9794d56..2daa6e9 100644 (file)
@@ -61,7 +61,7 @@ static int _mm_sound_play_keysound(const char *filename, int volume_config, ipc_
 
 static const char* convert_volume_type_to_role(int volume_type)
 {
-       debug_warning ("volume_type(%d)", volume_type);
+       debug_log("volume_type(%d)", volume_type);
        switch(volume_type) {
        case VOLUME_TYPE_MEDIA:
                return "media";
@@ -83,7 +83,7 @@ static const char* convert_volume_type_to_role(int volume_type)
 
 static const char* convert_volume_gain_type_to_string(int volume_gain_type)
 {
-       debug_warning ("volume_gain_type(0x%x)", volume_gain_type);
+       debug_log("volume_gain_type(0x%x)", volume_gain_type);
        switch(volume_gain_type) {
        case VOLUME_GAIN_DEFAULT:
                return "";