Home
last modified time | relevance | path

Searched refs:hwdep (Results 1 – 13 of 13) sorted by relevance

/third_party/alsa-lib/src/hwdep/
Dhwdep.c39 static int snd_hwdep_open_conf(snd_hwdep_t **hwdep, in snd_hwdep_open_conf() argument
135 err = open_func(hwdep, name, hwdep_root, hwdep_conf, mode); in snd_hwdep_open_conf()
137 (*hwdep)->dl_handle = h; in snd_hwdep_open_conf()
145 static int snd_hwdep_open_noupdate(snd_hwdep_t **hwdep, snd_config_t *root, const char *name, int m… in snd_hwdep_open_noupdate() argument
154 err = snd_hwdep_open_conf(hwdep, name, root, hwdep_conf, mode); in snd_hwdep_open_noupdate()
169 int snd_hwdep_open(snd_hwdep_t **hwdep, const char *name, int mode) in snd_hwdep_open() argument
174 assert(hwdep && name); in snd_hwdep_open()
178 err = snd_hwdep_open_noupdate(hwdep, top, name, mode); in snd_hwdep_open()
194 int snd_hwdep_open_lconf(snd_hwdep_t **hwdep, const char *name, in snd_hwdep_open_lconf() argument
197 assert(hwdep && name && lconf); in snd_hwdep_open_lconf()
[all …]
Dhwdep_hw.c38 static int snd_hwdep_hw_close(snd_hwdep_t *hwdep) in snd_hwdep_hw_close() argument
41 assert(hwdep); in snd_hwdep_hw_close()
42 res = close(hwdep->poll_fd) < 0 ? -errno : 0; in snd_hwdep_hw_close()
46 static int snd_hwdep_hw_nonblock(snd_hwdep_t *hwdep, int nonblock) in snd_hwdep_hw_nonblock() argument
49 assert(hwdep); in snd_hwdep_hw_nonblock()
50 if ((flags = fcntl(hwdep->poll_fd, F_GETFL)) < 0) in snd_hwdep_hw_nonblock()
56 if (fcntl(hwdep->poll_fd, F_SETFL, flags) < 0) in snd_hwdep_hw_nonblock()
61 static int snd_hwdep_hw_info(snd_hwdep_t *hwdep, snd_hwdep_info_t *info) in snd_hwdep_hw_info() argument
63 assert(hwdep && info); in snd_hwdep_hw_info()
64 if (ioctl(hwdep->poll_fd, SNDRV_HWDEP_IOCTL_INFO, info) < 0) in snd_hwdep_hw_info()
[all …]
Dhwdep_local.h28 int (*close)(snd_hwdep_t *hwdep);
29 int (*nonblock)(snd_hwdep_t *hwdep, int nonblock);
30 int (*info)(snd_hwdep_t *hwdep, snd_hwdep_info_t *info);
31 int (*ioctl)(snd_hwdep_t *hwdep, unsigned int request, void * arg);
32 ssize_t (*write)(snd_hwdep_t *hwdep, const void *buffer, size_t size);
33 ssize_t (*read)(snd_hwdep_t *hwdep, void *buffer, size_t size);
DMakefile.am3 libhwdep_la_SOURCES = hwdep.c hwdep_hw.c hwdep_symbols.c
/third_party/alsa-lib/include/
Dhwdep.h108 int snd_hwdep_open(snd_hwdep_t **hwdep, const char *name, int mode);
109 int snd_hwdep_close(snd_hwdep_t *hwdep);
110 int snd_hwdep_poll_descriptors(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int space);
111 int snd_hwdep_poll_descriptors_count(snd_hwdep_t *hwdep);
112 int snd_hwdep_poll_descriptors_revents(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int nfds, …
113 int snd_hwdep_nonblock(snd_hwdep_t *hwdep, int nonblock);
114 int snd_hwdep_info(snd_hwdep_t *hwdep, snd_hwdep_info_t * info);
115 int snd_hwdep_dsp_status(snd_hwdep_t *hwdep, snd_hwdep_dsp_status_t *status);
116 int snd_hwdep_dsp_load(snd_hwdep_t *hwdep, snd_hwdep_dsp_image_t *block);
117 int snd_hwdep_ioctl(snd_hwdep_t *hwdep, unsigned int request, void * arg);
[all …]
DMakefile.am41 alsainclude_HEADERS += hwdep.h
/third_party/alsa-lib/src/
DMakefile.am34 SUBDIRS += hwdep subdir
35 libasound_la_LIBADD += hwdep/libhwdep.la
75 hwdep/libhwdep.la:
76 $(MAKE) -C hwdep libhwdep.la
/third_party/alsa-lib/src/conf/
Dalsa.conf153 defaults.hwdep.card 0
154 defaults.hwdep.device 0
510 hwdep.default {
520 name defaults.hwdep.card
530 name defaults.hwdep.device
536 hwdep.hw {
548 name defaults.hwdep.card
561 name defaults.hwdep.device
/third_party/alsa-lib/
DBUILD.gn72 "//third_party/alsa-lib/src/hwdep/hwdep.c",
73 "//third_party/alsa-lib/src/hwdep/hwdep_hw.c",
74 "//third_party/alsa-lib/src/hwdep/hwdep_symbols.c",
160 "//third_party/alsa-lib/src/hwdep",
Dconfigure.ac385 AC_ARG_ENABLE(hwdep, optenable
386 AS_HELP_STRING([--disable-hwdep], [disable the hwdep component]),
482 AC_DEFINE([BUILD_HWDEP], "1", [Build hwdep component])
740 src/hwdep/Makefile src/seq/Makefile src/ucm/Makefile \
786 test "$build_hwdep" = "yes" && echo "#include <alsa/hwdep.h>" >> include/asoundlib.h
DINSTALL58 components are: pcm, mixer, rawmidi, hwdep, seq and instr.
/third_party/alsa-lib/doc/
Ddoxygen.cfg.in21 @top_srcdir@/include/hwdep.h \
89 @top_srcdir@/src/hwdep \
104 @top_srcdir@/src/hwdep/hwdep_local.h \
/third_party/alsa-lib/aserver/
Daserver.c193 } hwdep;