Support ogg loop playback
[platform/core/multimedia/libmm-sound.git] / mm_sound_proxy.c
index 4052d09..552614a 100644 (file)
@@ -582,8 +582,8 @@ int mm_sound_proxy_play_tone(int tone, int repeat, int volume, int volume_config
 
        debug_fenter();
 
-       params = g_variant_new("(iiiiiiibsi)", tone, repeat, volume,
-                     volume_config, session_type, session_options, client_pid , _enable_session, stream_type, stream_index);
+       params = g_variant_new("(iiiiiiibsi)", tone, repeat, volume, volume_config, session_type,
+                     session_options, client_pid , _enable_session, stream_type, stream_index);
        if (params) {
                if ((ret = mm_sound_dbus_method_call_to(AUDIO_PROVIDER_SOUND_SERVER, AUDIO_METHOD_PLAY_DTMF, params, &result)) != MM_ERROR_NONE) {
                        debug_error("dbus play tone failed");
@@ -649,8 +649,8 @@ cleanup:
 }
 
 int mm_sound_proxy_play_sound(const char* filename, int tone, int repeat, int volume, int volume_config,
-                          int priority, int session_type, int session_options, int client_pid, int handle_route,
-                          bool enable_session, int *codechandle, char *stream_type, int stream_index)
+                          int session_type, int session_options, int client_pid, bool enable_session, int *codechandle,
+                          char *stream_type, int stream_index)
 {
        int ret = MM_ERROR_NONE;
        int handle = 0;
@@ -664,8 +664,8 @@ int mm_sound_proxy_play_sound(const char* filename, int tone, int repeat, int vo
 
        debug_fenter();
 
-       params = g_variant_new("(siiiiiiiiibsi)", filename, tone, repeat, volume,
-                     volume_config, priority, session_type, session_options, client_pid, handle_route, _enable_session, stream_type, stream_index);
+       params = g_variant_new("(siiiiiiibsi)", filename, tone, repeat, volume,
+                     volume_config, session_type, session_options, client_pid, _enable_session, stream_type, stream_index);
        if (params) {
                if ((ret = mm_sound_dbus_method_call_to(AUDIO_PROVIDER_SOUND_SERVER, AUDIO_METHOD_PLAY_FILE_START, params, &result)) != MM_ERROR_NONE) {
                        debug_error("dbus play file failed");
@@ -692,7 +692,7 @@ cleanup:
 }
 
 int mm_sound_proxy_play_sound_with_stream_info(const char* filename, int repeat, int volume,
-                               int priority, int client_pid, int handle_route, int *codechandle, char *stream_type, int stream_index)
+                               int client_pid, int *codechandle, char *stream_type, int stream_index)
 {
        int ret = MM_ERROR_NONE;
        int handle = 0;
@@ -705,8 +705,7 @@ int mm_sound_proxy_play_sound_with_stream_info(const char* filename, int repeat,
 
        debug_fenter();
 
-       params = g_variant_new("(siiiiisi)", filename, repeat, volume,
-                       priority, client_pid, handle_route, stream_type, stream_index);
+       params = g_variant_new("(siiisi)", filename, repeat, volume, client_pid, stream_type, stream_index);
        if (params) {
                if ((ret = mm_sound_dbus_method_call_to(AUDIO_PROVIDER_SOUND_SERVER, AUDIO_METHOD_PLAY_FILE_START_WITH_STREAM_INFO, params, &result)) != MM_ERROR_NONE) {
                        debug_error("dbus play file failed");