tizen 2.4 release
[framework/api/wav-player.git] / src / wav_player_internal.c
1 /*
2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 #define LOG_TAG "CAPI_MEDIA_WAV_PLAYER"
18
19 #include <mm_sound.h>
20 #include <mm_sound_private.h>
21 #include <stdio.h>
22 #include <limits.h>
23 #include <string.h>
24 #include <unistd.h>
25 #include <dlog.h>
26 #include "wav_player.h"
27 #include "wav_player_internal.h"
28 #include "wav_player_private.h"
29 #include <stdlib.h>
30
31 int wav_player_start_loop (const char *path, sound_type_e type, wav_player_playback_completed_cb cb, void *user_data, int loop_count, int * id)
32 {
33         int ret = MM_ERROR_NONE;
34         return __convert_wav_player_error_code(__func__, ret);
35 }
36
37 int wav_player_start_solo(const char *path, sound_type_e type, bool force_to_route_spk, wav_player_playback_completed_cb cb, void *user_data, int * id)
38 {
39         int ret = MM_ERROR_NONE;
40         return __convert_wav_player_error_code(__func__, ret);
41 }
42
43 int wav_player_start_solo_loop(const char *path, sound_type_e type, wav_player_playback_completed_cb cb, void *user_data, int loop_count, int * id)
44 {
45         int ret = MM_ERROR_NONE;
46         return __convert_wav_player_error_code(__func__, ret);
47 }