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_SOUND_MANAGER_PRIVATE_H__
18 #define __TIZEN_MEDIA_SOUND_MANAGER_PRIVATE_H__
31 #include <mm_session.h>
32 #include <mm_session_private.h>
34 #include <mm_sound_private.h>
35 #include "sound_manager_internal.h"
37 #define SOUND_SESSION_TYPE_DEFAULT SOUND_SESSION_TYPE_MEDIA
42 sound_session_interrupted_cb user_cb;
43 }_session_interrupt_info_s;
47 sound_manager_volume_changed_cb user_cb;
48 }_volume_changed_info_s;
52 sound_device_connected_cb user_cb;
53 }_device_connected_info_s;
57 sound_device_information_changed_cb user_cb;
58 }_device_changed_info_s;
60 int __convert_sound_manager_error_code(const char *func, int code);
62 void __session_interrupt_cb(session_msg_t msg, session_event_t event, void *user_data);
68 #endif /* __TIZEN_MEDIA_SOUND_MANAGER_PRIVATE_H__ */