Remove sound_server in build packages
[platform/core/multimedia/libmm-sound.git] / mm_sound.c
index 4ff9ee6..1d9f443 100644 (file)
@@ -266,91 +266,6 @@ int mm_sound_control_filter(const char *stream_type, const char *filter_name, co
 }
 
 ///////////////////////////////////
-////     MMSOUND PLAY APIs
-///////////////////////////////////
-EXPORT_API
-int mm_sound_play_sound_with_stream_info(const char *filename, char *stream_type, int stream_id, unsigned int loop, mm_sound_stop_callback_func callback, void *data, int *handle)
-{
-       MMSoundPlayParam param = { 0, };
-       int err;
-
-       param.filename = filename;
-       param.volume = 0; //volume value dose not effect anymore
-       param.callback = callback;
-       param.data = data;
-
-       if (loop == 0)
-               param.loop = -1;
-       else
-               param.loop = loop;
-
-       err = mm_sound_client_play_sound_with_stream_info(&param, handle, stream_type, stream_id);
-       if (err < 0) {
-               debug_error("Failed to play sound");
-               return err;
-       }
-
-       debug_warning("success : handle=[%p]", handle);
-
-       return MM_ERROR_NONE;
-
-}
-
-
-EXPORT_API
-int mm_sound_stop_sound(int handle)
-{
-       int err;
-
-       debug_warning("enter : handle=[%d]", handle);
-       /* Stop sound */
-       err = mm_sound_client_stop_sound(handle);
-       if (err < 0) {
-               debug_error("Fail to stop sound");
-               return err;
-       }
-       debug_warning("success : handle=[%d]", handle);
-
-       return MM_ERROR_NONE;
-}
-
-EXPORT_API
-int mm_sound_stop_tone(int handle)
-{
-       int err;
-
-       debug_warning("enter : handle=[%d]", handle);
-
-       err = mm_sound_client_stop_tone(handle);
-       if (err < 0) {
-               debug_error("Fail to stop tone. err=0x%x", err);
-               return err;
-       }
-       debug_msg("success : handle=[%d]", handle);
-
-       return MM_ERROR_NONE;
-}
-
-///////////////////////////////////
-////     MMSOUND TONE APIs
-///////////////////////////////////
-EXPORT_API
-int mm_sound_play_tone_with_stream_info(MMSoundTone_t tone, char *stream_type, int stream_id, const double volume, const int duration, int *handle)
-{
-
-       int err = MM_ERROR_NONE;
-
-       err = mm_sound_client_play_tone_with_stream_info(tone, stream_type, stream_id, volume, duration, handle);
-       if (err < 0) {
-               debug_error("Failed to play sound");
-               return err;
-       }
-
-       return err;
-
-}
-
-///////////////////////////////////
 ////     MMSOUND ROUTING APIs
 ///////////////////////////////////