VSF Documented
vsf_linux_devfs_alsa.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2022 by VSF Team *
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
18#ifndef __VSF_LINUX_FS_DEVFS_ALSA_INTERNAL_H__
19#define __VSF_LINUX_FS_DEVFS_ALSA_INTERNAL_H__
20
21/*============================ INCLUDES ======================================*/
22
24
25#if VSF_USE_LINUX == ENABLED && VSF_LINUX_USE_DEVFS == ENABLED && VSF_LINUX_DEVFS_USE_ALSA == ENABLED && VSF_USE_AUDIO == ENABLED
26
27// for vk_audio_dev_t
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34/*============================ MACROS ========================================*/
35/*============================ MACROFIED FUNCTIONS ===========================*/
36/*============================ TYPES =========================================*/
37/*============================ GLOBAL VARIABLES ==============================*/
38/*============================ LOCAL VARIABLES ===============================*/
39/*============================ PROTOTYPES ====================================*/
40
41extern int vsf_linux_fs_bind_audio(char *path, int card_idx, vk_audio_dev_t *audio_dev);
42extern int vsf_linux_fs_bind_audio_timer(char *path);
43
44#ifdef __cplusplus
45}
46#endif
47
48#endif // VSF_USE_LINUX && VSF_LINUX_USE_DEVFS && VSF_LINUX_DEVFS_USE_ALSA
49#endif // __VSF_LINUX_FS_DEVFS_ALSA_INTERNAL_H__
50/* EOF */
Definition vsf_audio.h:158
int vsf_linux_fs_bind_audio(char *path, int card_idx, vk_audio_dev_t *audio_dev)
Definition vsf_linux_devfs_alsa.c:1660
int vsf_linux_fs_bind_audio_timer(char *path)
Definition vsf_linux_devfs_alsa.c:1654
Generated from commit: vsfteam/vsf@2b286be