VSF Documented
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
source
shell
sys
linux
kernel
fs
vfs
devfs
alsa
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
23
#include "
shell/sys/linux/vsf_linux_cfg.h
"
24
25
#if VSF_USE_LINUX == ENABLED && VSF_LINUX_USE_DEVFS == ENABLED && VSF_LINUX_DEVFS_USE_ALSA == ENABLED && VSF_USE_AUDIO == ENABLED
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
31
/*============================ MACROS ========================================*/
32
/*============================ MACROFIED FUNCTIONS ===========================*/
33
/*============================ TYPES =========================================*/
34
/*============================ GLOBAL VARIABLES ==============================*/
35
/*============================ LOCAL VARIABLES ===============================*/
36
/*============================ PROTOTYPES ====================================*/
37
38
extern
int
vsf_linux_fs_bind_audio
(
char
*path,
int
card_idx,
vk_audio_dev_t
*audio_dev);
39
extern
int
vsf_linux_fs_bind_audio_timer
(
char
*path);
40
41
#ifdef __cplusplus
42
}
43
#endif
44
45
#endif
// VSF_USE_LINUX && VSF_LINUX_USE_DEVFS && VSF_LINUX_DEVFS_USE_ALSA
46
#endif
// __VSF_LINUX_FS_DEVFS_ALSA_INTERNAL_H__
47
/* EOF */
vk_audio_dev_t
Definition
vsf_audio.h:158
vsf_linux_cfg.h
vsf_linux_fs_bind_audio
int vsf_linux_fs_bind_audio(char *path, int card_idx, vk_audio_dev_t *audio_dev)
Definition
vsf_linux_devfs_alsa.c:1660
vsf_linux_fs_bind_audio_timer
int vsf_linux_fs_bind_audio_timer(char *path)
Definition
vsf_linux_devfs_alsa.c:1654
Generated by
1.9.8