2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 #ifndef __TIZEN_MEDIA_WAV_PLAYER_PRIVATE_H__
18 #define __TIZEN_MEDIA_WAV_PLAYER_PRIVATE_H__
21 #include <sound_manager.h>
22 #include <sound_manager_internal.h>
23 #include <wav_player.h>
30 #define WAV_PLAYER_ERROR_CLASS TIZEN_ERROR_MULTIMEDIA_CLASS | 0x50
33 * @file wav_player_private.h
34 * @brief This file contains the WAV player API
38 * @addtogroup CAPI_MEDIA_WAV_PLAYER_MODULE
43 typedef struct _cb_data_{
44 wav_player_playback_completed_cb cb;
56 int __convert_wav_player_error_code(const char *func, int code);
57 void __internal_complete_cb(void *user_data, int id);
59 #endif /* __TIZEN_MEDIA_WAV_PLAYER_PRIVATE_H__ */