diff options
Diffstat (limited to 'include/mm_sound_utils.h')
-rw-r--r-- | include/mm_sound_utils.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/include/mm_sound_utils.h b/include/mm_sound_utils.h new file mode 100644 index 0000000..aadf9e5 --- /dev/null +++ b/include/mm_sound_utils.h @@ -0,0 +1,52 @@ +/* + * libmm-sound + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: Seungbae Shin <seungbae.shin@samsung.com> + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/** + * @file mm_sound_utils.h + * @brief Internal utility library for sound module. + * @date + * @version Release + * + * Internal utility library for sound module. + */ + +#ifndef __MM_SOUND_UTILS_H__ +#define __MM_SOUND_UTILS_H__ + +#include <mm_types.h> +#include <mm_error.h> + +#include "../include/mm_sound.h" + +#ifdef __cplusplus + extern "C" { +#endif + +int _mm_sound_get_valid_route_list(mm_sound_route **route_list); +bool _mm_sound_is_route_valid(mm_sound_route route); +void _mm_sound_get_devices_from_route(mm_sound_route route, mm_sound_device_in *device_in, mm_sound_device_out *device_out); + +#ifdef __cplusplus +} +#endif + +#endif /* __MM_SOUND_UTILS_H__ */ + |