Searched defs:* (Results 501 - 525 of 61016) sorted by relevance

<<21222324252627282930>>

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/hwdep/
H A Dhwdep_symbols.c25 static const char **snd_hwdep_open_objects[] = { variable
29 void *snd_hwdep_open_symbols(void) function
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/
H A Dinput.c38 typedef struct _snd_input_ops { struct
39 int (*close)(snd_input_t *input); member in struct:_snd_input_ops
40 int (*scan)(snd_input_t *input, const char *format, va_list args); member in struct:_snd_input_ops
41 char *(*(gets))(snd_input_t *input, char *str, size_t size); member in struct:_snd_input_ops
42 int (*getch)(snd_input_t *input); member in struct:_snd_input_ops
43 int (*ungetch)(snd_input_t *input, int c); member in struct:_snd_input_ops
44 } snd_input_ops_t; typedef in typeref:struct:_snd_input_ops
46 struct _snd_input { struct
47 snd_input_type_t type; member in struct:_snd_input
48 const snd_input_ops_t *ops; member in struct:_snd_input
49 void *private_data; member in struct:_snd_input
58 snd_input_close(snd_input_t *input) argument
60 int err = input->ops->close(input); local
74 snd_input_scanf(snd_input_t *input, const char *format, ...) argument
76 int result; local
77 va_list args; local
94 snd_input_gets(snd_input_t *input, char *str, size_t size) argument
104 snd_input_getc(snd_input_t *input) argument
115 snd_input_ungetc(snd_input_t *input, int c) argument
121 typedef struct _snd_input_stdio { struct
122 int close; member in struct:_snd_input_stdio
123 FILE *fp; member in struct:_snd_input_stdio
124 } snd_input_stdio_t; typedef in typeref:struct:_snd_input_stdio
126 snd_input_stdio_close(snd_input_t *input ATTRIBUTE_UNUSED) argument
128 snd_input_stdio_t *stdio = input->private_data; local
135 snd_input_stdio_scan(snd_input_t *input, const char *format, va_list args) argument
137 snd_input_stdio_t *stdio = input->private_data; local
142 snd_input_stdio_gets(snd_input_t *input, char *str, size_t size) argument
144 snd_input_stdio_t *stdio = input->private_data; local
148 snd_input_stdio_getc(snd_input_t *input) argument
150 snd_input_stdio_t *stdio = input->private_data; local
154 snd_input_stdio_ungetc(snd_input_t *input, int c) argument
156 snd_input_stdio_t *stdio = input->private_data; local
160 static const snd_input_ops_t snd_input_stdio_ops = { variable
179 snd_input_stdio_attach(snd_input_t **inputp, FILE *fp, int _close) argument
181 snd_input_t *input; local
182 snd_input_stdio_t *stdio; local
209 snd_input_stdio_open(snd_input_t **inputp, const char *file, const char *mode) argument
211 int err; local
212 FILE *fp = fopen(file, mode); local
225 typedef struct _snd_input_buffer { struct
226 unsigned char *buf; member in struct:_snd_input_buffer
227 unsigned char *ptr; member in struct:_snd_input_buffer
228 size_t size; member in struct:_snd_input_buffer
229 } snd_input_buffer_t; typedef in typeref:struct:_snd_input_buffer
231 snd_input_buffer_close(snd_input_t *input) argument
233 snd_input_buffer_t *buffer = input->private_data; local
239 snd_input_buffer_scan(snd_input_t *input, const char *format, va_list args) argument
241 snd_input_buffer_t *buffer = input->private_data; local
248 snd_input_buffer_gets(snd_input_t *input, char *str, size_t size) argument
250 snd_input_buffer_t *buffer = input->private_data; local
251 size_t bsize = buffer->size; local
253 unsigned char c = *buffer->ptr++; local
266 snd_input_buffer_getc(snd_input_t *input) argument
268 snd_input_buffer_t *buffer = input->private_data; local
275 snd_input_buffer_ungetc(snd_input_t *input, int c) argument
277 snd_input_buffer_t *buffer = input->private_data; local
286 static const snd_input_ops_t snd_input_buffer_ops = { variable
306 snd_input_buffer_open(snd_input_t **inputp, const char *buf, ssize_t size) argument
308 snd_input_t *input; local
309 snd_input_buffer_t *buffer; local
[all...]
H A Dnames.c42 snd_names_list(const char *iface ATTRIBUTE_UNUSED, snd_devname_t **list ATTRIBUTE_UNUSED) argument
53 snd_names_list_free(snd_devname_t *list ATTRIBUTE_UNUSED) argument
[all...]
H A Doutput.c37 typedef struct _snd_output_ops { struct
38 int (*close)(snd_output_t *output); member in struct:_snd_output_ops
39 int (*print)(snd_output_t *output, const char *format, va_list args); member in struct:_snd_output_ops
40 int (*puts)(snd_output_t *output, const char *str); member in struct:_snd_output_ops
41 int (*putch)(snd_output_t *output, int c); member in struct:_snd_output_ops
42 int (*flush)(snd_output_t *output); member in struct:_snd_output_ops
43 } snd_output_ops_t; typedef in typeref:struct:_snd_output_ops
45 struct _snd_output { struct
46 snd_output_type_t type; member in struct:_snd_output
47 const snd_output_ops_t *ops; member in struct:_snd_output
48 void *private_data; member in struct:_snd_output
57 snd_output_close(snd_output_t *output) argument
59 int err = output->ops->close(output); local
71 snd_output_printf(snd_output_t *output, const char *format, ...) argument
73 int result; local
74 va_list args; local
88 snd_output_vprintf(snd_output_t *output, const char *format, va_list args) argument
99 snd_output_puts(snd_output_t *output, const char *str) argument
110 snd_output_putc(snd_output_t *output, int c) argument
124 snd_output_flush(snd_output_t *output) argument
130 typedef struct _snd_output_stdio { struct
131 int close; member in struct:_snd_output_stdio
132 FILE *fp; member in struct:_snd_output_stdio
133 } snd_output_stdio_t; typedef in typeref:struct:_snd_output_stdio
135 snd_output_stdio_close(snd_output_t *output) argument
137 snd_output_stdio_t *stdio = output->private_data; local
144 snd_output_stdio_print(snd_output_t *output, const char *format, va_list args) argument
146 snd_output_stdio_t *stdio = output->private_data; local
150 snd_output_stdio_puts(snd_output_t *output, const char *str) argument
152 snd_output_stdio_t *stdio = output->private_data; local
156 snd_output_stdio_putc(snd_output_t *output, int c) argument
158 snd_output_stdio_t *stdio = output->private_data; local
162 snd_output_stdio_flush(snd_output_t *output) argument
164 snd_output_stdio_t *stdio = output->private_data; local
168 static const snd_output_ops_t snd_output_stdio_ops = { variable
188 snd_output_stdio_attach(snd_output_t **outputp, FILE *fp, int _close) argument
190 snd_output_t *output; local
191 snd_output_stdio_t *stdio; local
218 snd_output_stdio_open(snd_output_t **outputp, const char *file, const char *mode) argument
220 int err; local
221 FILE *fp = fopen(file, mode); local
234 typedef struct _snd_output_buffer { struct
235 unsigned char *buf; member in struct:_snd_output_buffer
236 size_t alloc; member in struct:_snd_output_buffer
237 size_t size; member in struct:_snd_output_buffer
238 } snd_output_buffer_t; typedef in typeref:struct:_snd_output_buffer
240 snd_output_buffer_close(snd_output_t *output) argument
242 snd_output_buffer_t *buffer = output->private_data; local
248 snd_output_buffer_need(snd_output_t *output, size_t size) argument
250 snd_output_buffer_t *buffer = output->private_data; local
251 size_t _free = buffer->alloc - buffer->size; local
252 size_t alloc; local
253 unsigned char *buf; local
271 snd_output_buffer_print(snd_output_t *output, const char *format, va_list args) argument
273 snd_output_buffer_t *buffer = output->private_data; local
274 size_t size = 256; local
275 int result; local
295 snd_output_buffer_puts(snd_output_t *output, const char *str) argument
297 snd_output_buffer_t *buffer = output->private_data; local
298 size_t size = strlen(str); local
299 int err; local
308 snd_output_buffer_putc(snd_output_t *output, int c) argument
310 snd_output_buffer_t *buffer = output->private_data; local
311 int err; local
319 snd_output_buffer_flush(snd_output_t *output ATTRIBUTE_UNUSED) argument
321 snd_output_buffer_t *buffer = output->private_data; local
326 static const snd_output_ops_t snd_output_buffer_ops = { variable
345 snd_output_buffer_string(snd_output_t *output, char **buf) argument
347 snd_output_buffer_t *buffer = output->private_data; local
358 snd_output_buffer_open(snd_output_t **outputp) argument
360 snd_output_t *output; local
361 snd_output_buffer_t *buffer; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/mixer/
H A DMakefile19 pkgdatadir = $(datadir)/alsa-lib macro
20 pkgincludedir = $(includedir)/alsa-lib macro
21 pkglibdir = $(libdir)/alsa-lib macro
22 pkglibexecdir = $(libexecdir)/alsa-lib macro
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd macro
24 install_sh_DATA = $(install_sh) -c -m 644 macro
25 install_sh_PROGRAM = $(install_sh) -c macro
26 install_sh_SCRIPT = $(install_sh) -c macro
27 INSTALL_HEADER = $(INSTALL_DATA) macro
28 transform = $(program_transform_name) macro
29 NORMAL_INSTALL = : macro
30 PRE_INSTALL = : macro
31 POST_INSTALL = : macro
32 NORMAL_UNINSTALL = : macro
33 PRE_UNINSTALL = : macro
34 POST_UNINSTALL = : macro
35 build_triplet = i686-pc-linux-gnu macro
36 host_triplet = arm-unknown-linux-gnu macro
37 subdir = src/mixer macro
38 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \\ macro
40 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 macro
41 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \\ macro
43 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \\ macro
45 mkinstalldirs = $(install_sh) -d macro
46 CONFIG_HEADER = $(top_builddir)/include/config.h macro
47 CONFIG_CLEAN_FILES = macro
48 CONFIG_CLEAN_VPATH_FILES = macro
49 libmixer_la_LIBADD = macro
50 am_libmixer_la_OBJECTS = bag.lo mixer.lo simple.lo simple_none.lo \\ macro
52 libmixer_la_OBJECTS = $(am_libmixer_la_OBJECTS) macro
53 AM_V_lt = $(am__v_lt_$(V)) macro
54 am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) macro
55 am__v_lt_0 = --silent macro
56 DEFAULT_INCLUDES = -I. -I$(top_builddir)/include macro
57 depcomp = $(SHELL) $(top_srcdir)/depcomp macro
58 am__depfiles_maybe = depfiles macro
59 am__mv = mv -f macro
60 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \\ macro
62 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \\ macro
66 AM_V_CC = $(am__v_CC_$(V)) macro
67 am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) macro
68 am__v_CC_0 = @echo " CC " $@; macro
69 AM_V_at = $(am__v_at_$(V)) macro
70 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) macro
71 am__v_at_0 = @ macro
72 CCLD = $(CC) macro
73 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \\ macro
76 AM_V_CCLD = $(am__v_CCLD_$(V)) macro
77 am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) macro
78 am__v_CCLD_0 = @echo " CCLD " $@; macro
79 AM_V_GEN = $(am__v_GEN_$(V)) macro
80 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) macro
81 am__v_GEN_0 = @echo " GEN " $@; macro
82 SOURCES = $(libmixer_la_SOURCES) macro
83 DIST_SOURCES = $(libmixer_la_SOURCES) macro
84 HEADERS = $(noinst_HEADERS) macro
85 ETAGS = etags macro
86 CTAGS = ctags macro
87 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) macro
88 ACLOCAL = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run aclocal-1.11 macro
89 ALSA_CONFIG_DIR = /usr/share/alsa macro
90 ALSA_DEPLIBS = -lm -ldl -lpthread -lrt macro
91 ALSA_PKGCONF_DIR = /usr/lib/pkgconfig macro
92 ALSA_PLUGIN_DIR = /usr/lib/alsa-lib macro
93 AMTAR = $${TAR-tar} macro
94 AM_DEFAULT_VERBOSITY = 0 macro
95 AR = arm-brcm-linux-uclibcgnueabi-ar macro
96 AUTOCONF = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run autoconf macro
97 AUTOHEADER = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run autoheader macro
98 AUTOMAKE = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run automake-1.11 macro
99 AWK = gawk macro
100 CC = arm-brcm-linux-uclibcgnueabi-gcc macro
101 CCDEPMODE = depmode=gcc3 macro
102 CFLAGS = -Os -O2 -DBCMWPA2 -DRESTART_ALL_PROCESSES -D__CONFIG_USBAP__ -DBCMQOS -DBCMWPS -D__CONFIG_EMF__ -DTRAFFIC_MGMT -DPHYMON -DSUPPORT_REMOTE_HTTPS -DINCLUDE_WPS_V20 -DINCLUDE_5G_AUTO_CHANNEL -DOPENDNS_PARENTAL_CONTROL -DINCLUDE_UCP -DU12H240 -DR6300v2 -DMULTIPLE_SSID -DENABLE_ML -DBCM53125 -DBCM5301X -DCONFIG_RUSSIA_IPTV -DDLNA -DHTTP_ACCESS_USB -DMAX_USB_ACCESS -DSAMBA_ENABLE -DUSB_NEW_SPEC -DINCLUDE_WIFI_BUTTON -DINCLUDE_USB_LED -DINCLUDE_DUAL_BAND -DSINGLE_FIRMWARE -DINCLUDE_GET_ST_CHKSUM -DUNIFIED_STR_TBL -DFIRST_MTD_ROTATION -DWIFI_ON_OFF_SCHE -DAUTO_CONN_24HR -DIGMP_PROXY -DAP_MODE -D__CONFIG_IGMP_SNOOPING__ -DLINUX26 -DINCLUDE_IPV6 -DPRESET_WL_SECURITY -DNEW_BCM_WPS_IPC -DSUPPORT_AC_MODE -DSTA_MODE -DPPP_RU_DESIGN -DEXT_ACS -D__CONFIG_PLC__ -D__CONFIG_URE__ -DPLC -DWPS_LONGPUSH_DISABLE -Os -DLINUX26 -DCONFIG_KERNEL_2_6_36 -I$(SRC_PATH)/build/usr/include -D_GNU_SOURCE macro
103 CPP = arm-brcm-linux-uclibcgnueabi-gcc -E macro
104 CPPFLAGS = -I$(SRC_PATH)/build/usr/include -D__arm__ macro
105 CYGPATH_W = echo macro
106 DEFS = -DHAVE_CONFIG_H macro
107 DEPDIR = .deps macro
108 DLLTOOL = false macro
109 DSYMUTIL = macro
110 DUMPBIN = macro
111 ECHO_C = macro
112 ECHO_N = -n macro
113 ECHO_T = macro
114 EGREP = /bin/grep -E macro
115 EXEEXT = macro
116 FGREP = /bin/grep -F macro
117 GREP = /bin/grep macro
118 INSTALL = /usr/bin/install -c macro
119 INSTALL_DATA = ${INSTALL} -m 644 macro
120 INSTALL_PROGRAM = ${INSTALL} macro
121 INSTALL_SCRIPT = ${INSTALL} macro
122 INSTALL_STRIP_PROGRAM = $(install_sh) -c -s macro
123 LD = arm-brcm-linux-uclibcgnueabi-ld macro
124 LDFLAGS = -L$(SRC_PATH)/build/usr/lib macro
125 LIBOBJS = macro
126 LIBS = macro
127 LIBTOOL = $(SHELL) $(top_builddir)/libtool macro
128 LIBTOOL_VERSION_INFO = 2:0:0 macro
129 LIPO = macro
130 LN_S = ln -s macro
131 LTLIBOBJS = macro
132 MAKEINFO = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run makeinfo macro
133 MANIFEST_TOOL = : macro
134 MKDIR_P = /bin/mkdir -p macro
135 NM = arm-brcm-linux-uclibcgnueabi-nm macro
136 NMEDIT = macro
137 OBJDUMP = arm-brcm-linux-uclibcgnueabi-objdump macro
138 OBJEXT = o macro
139 OTOOL = macro
140 OTOOL64 = macro
141 PACKAGE = alsa-lib macro
142 PACKAGE_BUGREPORT = macro
143 PACKAGE_NAME = macro
144 PACKAGE_STRING = macro
145 PACKAGE_TARNAME = macro
146 PACKAGE_URL = macro
147 PACKAGE_VERSION = macro
148 PATH_SEPARATOR = : macro
149 PYTHON_INCLUDES = macro
150 PYTHON_LIBS = macro
151 RANLIB = arm-brcm-linux-uclibcgnueabi-ranlib macro
152 SED = /bin/sed macro
153 SET_MAKE = macro
154 SHELL = /bin/sh macro
155 SND_LIB_EXTRAVER = 1000000 macro
156 SND_LIB_MAJOR = 1 macro
157 SND_LIB_MINOR = 0 macro
158 SND_LIB_SUBMINOR = 26 macro
159 SND_LIB_VERSION = 1.0.26 macro
160 STRIP = arm-brcm-linux-uclibcgnueabi-strip macro
161 SYMBOL_PREFIX = macro
162 VERSION = 1.0.26 macro
163 abs_builddir = $(SRC_PATH)/alsa-lib-1.0.26/src/mixer macro
164 abs_srcdir = $(SRC_PATH)/alsa-lib-1.0.26/src/mixer macro
165 abs_top_builddir = $(SRC_PATH)/alsa-lib-1.0.26 macro
166 abs_top_srcdir = $(SRC_PATH)/alsa-lib-1.0.26 macro
167 ac_ct_AR = macro
168 ac_ct_CC = macro
169 ac_ct_DUMPBIN = macro
170 am__include = include macro
171 am__leading_dot = . macro
172 am__quote = macro
173 am__tar = $${TAR-tar} chof - "$$tardir" macro
174 am__untar = $${TAR-tar} xf - macro
175 bindir = ${exec_prefix}/bin macro
176 build = i686-pc-linux-gnu macro
177 build_alias = macro
178 build_cpu = i686 macro
179 build_os = linux-gnu macro
180 build_vendor = pc macro
181 builddir = . macro
182 datadir = ${datarootdir} macro
183 datarootdir = ${prefix}/share macro
184 docdir = ${datarootdir}/doc/${PACKAGE} macro
185 dvidir = ${docdir} macro
186 exec_prefix = /usr macro
187 host = arm-unknown-linux-gnu macro
188 host_alias = arm-linux macro
189 host_cpu = arm macro
190 host_os = linux-gnu macro
191 host_vendor = unknown macro
192 htmldir = ${docdir} macro
193 includedir = ${prefix}/include macro
194 infodir = ${datarootdir}/info macro
195 install_sh = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/install-sh macro
196 libdir = ${exec_prefix}/lib macro
197 libexecdir = ${exec_prefix}/libexec macro
198 localedir = ${datarootdir}/locale macro
199 localstatedir = ${prefix}/var macro
200 mandir = ${datarootdir}/man macro
201 mkdir_p = /bin/mkdir -p macro
202 oldincludedir = /usr/include macro
203 pdfdir = ${docdir} macro
204 prefix = /usr macro
205 program_transform_name = s,x,x, macro
206 psdir = ${docdir} macro
207 sbindir = ${exec_prefix}/sbin macro
208 sharedstatedir = ${prefix}/com macro
209 srcdir = . macro
210 sysconfdir = ${prefix}/etc macro
211 target_alias = macro
212 top_build_prefix = ../../ macro
213 top_builddir = ../.. macro
214 top_srcdir = ../.. macro
215 EXTRA_LTLIBRARIES = libmixer.la macro
216 libmixer_la_SOURCES = bag.c mixer.c simple.c simple_none.c simple_abst.c macro
217 noinst_HEADERS = mixer_local.h mixer_simple.h macro
218 INCLUDES = -I$(top_srcdir)/include macro
[all...]
H A Dbag.c24 bag_new(bag_t **bag) argument
26 bag_t *b = malloc(sizeof(*b)); local
34 bag_free(bag_t *bag) argument
40 bag_empty(bag_t *bag) argument
45 bag_add(bag_t *bag, void *ptr) argument
47 bag1_t *b = malloc(sizeof(*b)); local
55 bag_del(bag_t *bag, void *ptr) argument
57 struct list_head *pos; local
58 list_for_each(pos, bag) { function
59 bag1_t *b = list_entry(pos, bag1_t, list); local
69 bag_del_all(bag_t *bag) argument
[all...]
H A Dmixer.c51 typedef struct _snd_mixer_slave { struct
52 snd_hctl_t *hctl; member in struct:_snd_mixer_slave
53 struct list_head list; member in struct:_snd_mixer_slave
54 } snd_mixer_slave_t; typedef in typeref:struct:_snd_mixer_slave
68 snd_mixer_open(snd_mixer_t **mixerp, int mode ATTRIBUTE_UNUSED) argument
70 snd_mixer_t *mixer; local
91 snd_mixer_elem_attach(snd_mixer_elem_t *melem, snd_hctl_elem_t *helem) argument
94 bag_t *bag = snd_hctl_elem_get_callback_private(helem); local
95 int err; local
110 snd_mixer_elem_detach(snd_mixer_elem_t *melem, snd_hctl_elem_t *helem) argument
113 bag_t *bag = snd_hctl_elem_get_callback_private(helem); local
114 int err; local
129 snd_mixer_elem_empty(snd_mixer_elem_t *melem) argument
134 hctl_elem_event_handler(snd_hctl_elem_t *helem, unsigned int mask) argument
137 bag_t *bag = snd_hctl_elem_get_callback_private(helem); local
139 int res = 0; local
140 int err; local
141 bag_iterator_t i, n; local
142 bag_for_each_safe(i, n, bag) { function
143 snd_mixer_elem_t *melem = bag_iterator_entry(i); local
144 snd_mixer_class_t *class = melem->class; local
154 int err = 0; local
155 bag_iterator_t i, n; local
156 bag_for_each_safe(i, n, bag) { function
157 snd_mixer_elem_t *melem = bag_iterator_entry(i); local
158 snd_mixer_class_t *class = melem->class; local
167 hctl_event_handler(snd_hctl_t *hctl, unsigned int mask, snd_hctl_elem_t *elem) argument
170 snd_mixer_t *mixer = snd_hctl_get_callback_private(hctl); local
171 int res = 0; local
173 struct list_head *pos; local
174 bag_t *bag; local
175 int err = bag_new(&bag); local
181 snd_mixer_class_t *c; local
198 snd_mixer_attach(snd_mixer_t *mixer, const char *name) argument
200 snd_hctl_t *hctl; local
201 int err; local
220 snd_mixer_attach_hctl(snd_mixer_t *mixer, snd_hctl_t *hctl) argument
222 snd_mixer_slave_t *slave; local
223 int err; local
248 snd_mixer_detach(snd_mixer_t *mixer, const char *name) argument
250 struct list_head *pos; local
252 snd_mixer_slave_t *s; local
272 snd_mixer_detach_hctl(snd_mixer_t *mixer, snd_hctl_t *hctl) argument
274 struct list_head *pos; local
276 snd_mixer_slave_t *s; local
294 snd_mixer_get_hctl(snd_mixer_t *mixer, const char *name, snd_hctl_t **hctl) argument
296 struct list_head *pos; local
298 snd_mixer_slave_t *s; local
308 snd_mixer_throw_event(snd_mixer_t *mixer, unsigned int mask, snd_mixer_elem_t *elem) argument
317 snd_mixer_elem_throw_event(snd_mixer_elem_t *elem, unsigned int mask) argument
325 _snd_mixer_find_elem(snd_mixer_t *mixer, snd_mixer_elem_t *elem, int *dir) argument
327 unsigned int l, u; local
328 int c = 0; local
329 int idx = -1; local
355 snd_mixer_elem_get_private(const snd_mixer_elem_t *elem) argument
371 snd_mixer_elem_new(snd_mixer_elem_t **elem, snd_mixer_elem_type_t type, int compare_weight, void *private_data, void (*private_free)(snd_mixer_elem_t *elem)) argument
377 snd_mixer_elem_t *melem = calloc(1, sizeof(*melem)); local
397 snd_mixer_elem_add(snd_mixer_elem_t *elem, snd_mixer_class_t *class) argument
399 int dir, idx; local
400 snd_mixer_t *mixer = class->mixer; local
404 snd_mixer_elem_t **m; local
441 snd_mixer_elem_remove(snd_mixer_elem_t *elem) argument
443 snd_mixer_t *mixer = elem->class->mixer; local
444 bag_iterator_t i, n; local
445 int err, idx, dir; local
446 unsigned int m; local
453 snd_hctl_elem_t *helem = bag_iterator_entry(i); local
475 snd_mixer_elem_free(snd_mixer_elem_t *elem) argument
489 snd_mixer_elem_info(snd_mixer_elem_t *elem) argument
501 snd_mixer_elem_value(snd_mixer_elem_t *elem) argument
514 snd_mixer_class_register(snd_mixer_class_t *class, snd_mixer_t *mixer) argument
516 struct list_head *pos; local
522 int err; local
523 snd_mixer_slave_t *slave; local
524 snd_hctl_elem_t *elem; local
544 snd_mixer_class_unregister(snd_mixer_class_t *class) argument
546 unsigned int k; local
547 snd_mixer_elem_t *e; local
548 snd_mixer_t *mixer = class->mixer; local
566 snd_mixer_load(snd_mixer_t *mixer) argument
568 struct list_head *pos; local
570 int err; local
571 snd_mixer_slave_t *s; local
584 snd_mixer_free(snd_mixer_t *mixer) argument
586 struct list_head *pos; local
588 snd_mixer_slave_t *s; local
599 snd_mixer_close(snd_mixer_t *mixer) argument
601 int res = 0; local
604 snd_mixer_class_t *c; local
613 int err; local
614 snd_mixer_slave_t *s; local
626 snd_mixer_compare_default(const snd_mixer_elem_t *c1, const snd_mixer_elem_t *c2) argument
629 int d = c1->compare_weight - c2->compare_weight; local
638 mixer_compare(const void *a, const void *b) argument
640 snd_mixer_t *mixer; local
646 snd_mixer_sort(snd_mixer_t *mixer) argument
648 unsigned int k; local
664 snd_mixer_set_compare(snd_mixer_t *mixer, snd_mixer_compare_t compare) argument
666 snd_mixer_compare_t compare_old; local
667 int err; local
684 snd_mixer_poll_descriptors_count(snd_mixer_t *mixer) argument
686 struct list_head *pos; local
687 unsigned int c = 0; local
690 snd_mixer_slave_t *s; local
691 int n; local
708 snd_mixer_poll_descriptors(snd_mixer_t *mixer, struct pollfd *pfds, unsigned int space) argument
710 struct list_head *pos; local
711 unsigned int count = 0; local
714 snd_mixer_slave_t *s; local
715 int n; local
738 snd_mixer_poll_descriptors_revents(snd_mixer_t *mixer, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) argument
740 unsigned int idx; local
741 unsigned short res; local
758 snd_mixer_wait(snd_mixer_t *mixer, int timeout) argument
760 struct pollfd spfds[16]; local
761 struct pollfd *pfds = spfds; local
762 int err; local
763 int count; local
786 snd_mixer_first_elem(snd_mixer_t *mixer) argument
799 snd_mixer_last_elem(snd_mixer_t *mixer) argument
812 snd_mixer_elem_next(snd_mixer_elem_t *elem) argument
825 snd_mixer_elem_prev(snd_mixer_elem_t *elem) argument
838 snd_mixer_handle_events(snd_mixer_t *mixer) argument
840 struct list_head *pos; local
844 int err; local
845 snd_mixer_slave_t *s; local
859 snd_mixer_set_callback(snd_mixer_t *obj, snd_mixer_callback_t val) argument
870 snd_mixer_set_callback_private(snd_mixer_t *mixer, void * val) argument
881 snd_mixer_get_callback_private(const snd_mixer_t *mixer) argument
892 snd_mixer_get_count(const snd_mixer_t *mixer) argument
903 snd_mixer_elem_set_callback(snd_mixer_elem_t *mixer, snd_mixer_elem_callback_t val) argument
914 snd_mixer_elem_set_callback_private(snd_mixer_elem_t *mixer, void * val) argument
925 snd_mixer_elem_get_callback_private(const snd_mixer_elem_t *mixer) argument
936 snd_mixer_elem_get_type(const snd_mixer_elem_t *mixer) argument
947 size_t snd_mixer_class_sizeof() function
957 snd_mixer_class_malloc(snd_mixer_class_t **ptr) argument
970 snd_mixer_class_free(snd_mixer_class_t *obj) argument
982 snd_mixer_class_copy(snd_mixer_class_t *dst, const snd_mixer_class_t *src) argument
993 snd_mixer_class_get_mixer(const snd_mixer_class_t *obj) argument
1004 snd_mixer_class_get_event(const snd_mixer_class_t *obj) argument
1015 snd_mixer_class_get_private(const snd_mixer_class_t *obj) argument
1027 snd_mixer_class_get_compare(const snd_mixer_class_t *obj) argument
1039 snd_mixer_class_set_event(snd_mixer_class_t *obj, snd_mixer_event_t event) argument
1052 snd_mixer_class_set_private(snd_mixer_class_t *obj, void *private_data) argument
1065 snd_mixer_class_set_private_free(snd_mixer_class_t *obj, void (*private_free)(snd_mixer_class_t *class)) argument
1078 snd_mixer_class_set_compare(snd_mixer_class_t *obj, snd_mixer_compare_t compare) argument
[all...]
H A Dmixer_local.h25 typedef struct _bag1 { struct
26 void *ptr; member in struct:_bag1
27 struct list_head list; member in struct:_bag1
28 } bag1_t; typedef in typeref:struct:_bag1
30 typedef struct list_head bag_t; typedef in typeref:struct:list_head
39 typedef struct list_head *bag_iterator_t; typedef in typeref:struct:list_head
41 #define bag_iterator_entry macro
42 #define bag_for_each macro
43 #define bag_for_each_safe macro
45 struct _snd_mixer_class { struct
46 struct list_head list; member in struct:_snd_mixer_class
47 snd_mixer_t *mixer; member in struct:_snd_mixer_class
48 snd_mixer_event_t event; member in struct:_snd_mixer_class
49 void *private_data; member in struct:_snd_mixer_class
50 void (*private_free)(snd_mixer_class_t *class); member in struct:_snd_mixer_class
51 snd_mixer_compare_t compare; member in struct:_snd_mixer_class
54 struct _snd_mixer_elem { struct
55 snd_mixer_elem_type_t type; member in struct:_snd_mixer_elem
56 struct list_head list; /* links for list of all elems */ member in struct:_snd_mixer_elem
58 void *private_data; member in struct:_snd_mixer_elem
59 void (*private_free)(snd_mixer_elem_t *elem); member in struct:_snd_mixer_elem
60 snd_mixer_elem_callback_t callback; member in struct:_snd_mixer_elem
61 void *callback_private; member in struct:_snd_mixer_elem
62 bag_t helems; member in struct:_snd_mixer_elem
63 int compare_weight; /* compare weight (reversed) */ member in struct:_snd_mixer_elem
66 struct _snd_mixer { struct
67 struct list_head slaves; /* list of all slaves */ member in struct:_snd_mixer
68 struct list_head classes; /* list of all elem classes */ member in struct:_snd_mixer
69 struct list_head elems; /* list of all elems */ member in struct:_snd_mixer
70 snd_mixer_elem_t **pelems; /* array of all elems */ member in struct:_snd_mixer
71 unsigned int count; member in struct:_snd_mixer
72 unsigned int alloc; member in struct:_snd_mixer
73 unsigned int events; member in struct:_snd_mixer
74 snd_mixer_callback_t callback; member in struct:_snd_mixer
75 void *callback_private; member in struct:_snd_mixer
76 snd_mixer_compare_t compare; member in struct:_snd_mixer
79 struct _snd_mixer_selem_id { struct
80 char name[60]; member in struct:_snd_mixer_selem_id
81 unsigned int index; member in struct:_snd_mixer_selem_id
[all...]
H A Dmixer_simple.h25 #define snd_mixer_simple_none_register macro
27 #define snd_mixer_simple_basic_register macro
[all...]
H A Dsimple.c49 snd_mixer_selem_register(snd_mixer_t *mixer, struct snd_mixer_selem_regopt *options, snd_mixer_class_t **classp) argument
65 int err = snd_mixer_simple_none_register(mixer, options, classp); local
83 #define CHECK_BASIC macro
89 #define CHECK_DIR macro
96 #define CHECK_DIR_CHN macro
105 #define CHECK_ENUM macro
109 #define COND_CAPS macro
115 snd_mixer_selem_compare(const snd_mixer_elem_t *c1, const snd_mixer_elem_t *c2) argument
117 sm_selem_t *s1 = c1->private_data; local
118 sm_selem_t *s2 = c2->private_data; local
119 int res = strcmp(s1->id->name, s2->id->name); local
132 snd_mixer_find_selem(snd_mixer_t *mixer, const snd_mixer_selem_id_t *id) argument
135 struct list_head *list; local
136 snd_mixer_elem_t *e; local
137 sm_selem_t *s; local
155 snd_mixer_selem_get_id(snd_mixer_elem_t *elem, snd_mixer_selem_id_t *id) argument
158 sm_selem_t *s; local
170 snd_mixer_selem_get_name(snd_mixer_elem_t *elem) argument
172 sm_selem_t *s; local
183 snd_mixer_selem_get_index(snd_mixer_elem_t *elem) argument
185 sm_selem_t *s; local
196 snd_mixer_selem_has_common_volume(snd_mixer_elem_t *elem) argument
207 snd_mixer_selem_has_common_switch(snd_mixer_elem_t *elem) argument
218 snd_mixer_selem_channel_name(snd_mixer_selem_channel_id_t channel) argument
220 static const char *const array[SND_MIXER_SCHN_LAST + 1] = { local
231 const char *p; local
244 snd_mixer_selem_is_active(snd_mixer_elem_t *elem) argument
255 snd_mixer_selem_is_playback_mono(snd_mixer_elem_t *elem) argument
267 snd_mixer_selem_has_playback_channel(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel) argument
279 snd_mixer_selem_get_playback_volume_range(snd_mixer_elem_t *elem, long *min, long *max) argument
293 snd_mixer_selem_get_playback_dB_range(snd_mixer_elem_t *elem, long *min, long *max) argument
307 snd_mixer_selem_set_playback_volume_range(snd_mixer_elem_t *elem, long min, long max) argument
321 snd_mixer_selem_has_playback_volume(snd_mixer_elem_t *elem) argument
332 snd_mixer_selem_has_playback_volume_joined(snd_mixer_elem_t *elem) argument
343 snd_mixer_selem_has_playback_switch(snd_mixer_elem_t *elem) argument
354 snd_mixer_selem_has_playback_switch_joined(snd_mixer_elem_t *elem) argument
367 snd_mixer_selem_ask_playback_vol_dB(snd_mixer_elem_t *elem, long value, long *dBvalue) argument
382 snd_mixer_selem_ask_playback_dB_vol(snd_mixer_elem_t *elem, long dBvalue, int dir, long *value) argument
396 snd_mixer_selem_get_playback_volume(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, long *value) argument
410 snd_mixer_selem_get_playback_dB(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, long *value) argument
412 unsigned int caps; local
430 snd_mixer_selem_get_playback_switch(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, int *value) argument
444 snd_mixer_selem_set_playback_volume(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, long value) argument
459 snd_mixer_selem_set_playback_dB(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, long value, int dir) argument
472 snd_mixer_selem_set_playback_volume_all(snd_mixer_elem_t *elem, long value) argument
474 snd_mixer_selem_channel_id_t chn; local
475 int err; local
496 snd_mixer_selem_set_playback_dB_all(snd_mixer_elem_t *elem, long value, int dir) argument
498 snd_mixer_selem_channel_id_t chn; local
499 int err; local
520 snd_mixer_selem_set_playback_switch(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, int value) argument
533 snd_mixer_selem_set_playback_switch_all(snd_mixer_elem_t *elem, int value) argument
535 snd_mixer_selem_channel_id_t chn; local
536 int err; local
556 snd_mixer_selem_is_capture_mono(snd_mixer_elem_t *elem) argument
569 snd_mixer_selem_has_capture_channel(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel) argument
582 snd_mixer_selem_get_capture_volume_range(snd_mixer_elem_t *elem, long *min, long *max) argument
596 snd_mixer_selem_get_capture_dB_range(snd_mixer_elem_t *elem, long *min, long *max) argument
610 snd_mixer_selem_set_capture_volume_range(snd_mixer_elem_t *elem, long min, long max) argument
624 snd_mixer_selem_has_capture_volume(snd_mixer_elem_t *elem) argument
635 snd_mixer_selem_has_capture_volume_joined(snd_mixer_elem_t *elem) argument
646 snd_mixer_selem_has_capture_switch(snd_mixer_elem_t *elem) argument
657 snd_mixer_selem_has_capture_switch_joined(snd_mixer_elem_t *elem) argument
668 snd_mixer_selem_has_capture_switch_exclusive(snd_mixer_elem_t *elem) argument
679 snd_mixer_selem_get_capture_group(snd_mixer_elem_t *elem) argument
681 sm_selem_t *s; local
696 snd_mixer_selem_ask_capture_vol_dB(snd_mixer_elem_t *elem, long value, long *dBvalue) argument
711 snd_mixer_selem_ask_capture_dB_vol(snd_mixer_elem_t *elem, long dBvalue, int dir, long *value) argument
725 snd_mixer_selem_get_capture_volume(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, long *value) argument
739 snd_mixer_selem_get_capture_dB(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, long *value) argument
753 snd_mixer_selem_get_capture_switch(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, int *value) argument
767 snd_mixer_selem_set_capture_volume(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, long value) argument
782 snd_mixer_selem_set_capture_dB(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, long value, int dir) argument
795 snd_mixer_selem_set_capture_volume_all(snd_mixer_elem_t *elem, long value) argument
797 snd_mixer_selem_channel_id_t chn; local
798 int err; local
819 snd_mixer_selem_set_capture_dB_all(snd_mixer_elem_t *elem, long value, int dir) argument
821 snd_mixer_selem_channel_id_t chn; local
822 int err; local
843 snd_mixer_selem_set_capture_switch(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, int value) argument
856 snd_mixer_selem_set_capture_switch_all(snd_mixer_elem_t *elem, int value) argument
858 snd_mixer_selem_channel_id_t chn; local
859 int err; local
878 snd_mixer_selem_is_enumerated(snd_mixer_elem_t *elem) argument
889 snd_mixer_selem_is_enum_playback(snd_mixer_elem_t *elem) argument
900 snd_mixer_selem_is_enum_capture(snd_mixer_elem_t *elem) argument
911 snd_mixer_selem_get_enum_items(snd_mixer_elem_t *elem) argument
926 snd_mixer_selem_get_enum_item_name(snd_mixer_elem_t *elem, unsigned int item, size_t maxlen, char *buf) argument
942 snd_mixer_selem_get_enum_item(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, unsigned int *itemp) argument
958 snd_mixer_selem_set_enum_item(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, unsigned int item) argument
971 size_t snd_mixer_selem_id_sizeof() function
981 snd_mixer_selem_id_malloc(snd_mixer_selem_id_t **ptr) argument
994 snd_mixer_selem_id_free(snd_mixer_selem_id_t *obj) argument
1004 snd_mixer_selem_id_copy(snd_mixer_selem_id_t *dst, const snd_mixer_selem_id_t *src) argument
1015 snd_mixer_selem_id_get_name(const snd_mixer_selem_id_t *obj) argument
1026 snd_mixer_selem_id_get_index(const snd_mixer_selem_id_t *obj) argument
1037 snd_mixer_selem_id_set_name(snd_mixer_selem_id_t *obj, const char *val) argument
1049 snd_mixer_selem_id_set_index(snd_mixer_selem_id_t *obj, unsigned int val) argument
[all...]
H A Dsimple_abst.c44 #define SO_PATH macro
46 typedef struct _class_priv { struct
47 char *device; member in struct:_class_priv
48 snd_ctl_t *ctl; member in struct:_class_priv
49 snd_hctl_t *hctl; member in struct:_class_priv
50 int attach_flag; member in struct:_class_priv
51 snd_ctl_card_info_t *info; member in struct:_class_priv
52 void *dlhandle; member in struct:_class_priv
53 void *private_data; member in struct:_class_priv
54 void (*private_free)(snd_mixer_class_t *class); member in struct:_class_priv
55 } class_priv_t; typedef in typeref:struct:_class_priv
57 typedef int (*snd_mixer_sbasic_init_t)(snd_mixer_class_t *class); typedef
58 typedef int (*snd_mixer_sfbasic_init_t)(snd_mixer_class_t *class, typedef
64 try_open(snd_mixer_class_t *class, const char *lib) argument
66 class_priv_t *priv = snd_mixer_class_get_private(class); local
67 snd_mixer_event_t event_func; local
68 snd_mixer_sbasic_init_t init_func = NULL; local
69 char *xlib, *path; local
70 void *h; local
71 int err = 0; local
109 try_open_full(snd_mixer_class_t *class, snd_mixer_t *mixer, const char *lib, const char *device) argument
112 class_priv_t *priv = snd_mixer_class_get_private(class); local
113 snd_mixer_event_t event_func; local
114 snd_mixer_sfbasic_init_t init_func = NULL; local
115 char *xlib, *path; local
116 void *h; local
117 int err = 0; local
156 match(snd_mixer_class_t *class, const char *lib, const char *searchl) argument
158 class_priv_t *priv = snd_mixer_class_get_private(class); local
159 const char *components; local
175 find_full(snd_mixer_class_t *class, snd_mixer_t *mixer, snd_config_t *top, const char *device) argument
178 snd_config_iterator_t i, next; local
179 char *lib; local
180 const char *id; local
181 int err; local
183 snd_config_for_each(i, next, top) { function
184 snd_config_t *n = snd_config_iterator_entry(i); local
200 find_module(snd_mixer_class_t *class, snd_config_t *top) argument
202 snd_config_iterator_t i, next; local
203 snd_config_iterator_t j, jnext; local
204 char *lib, *searchl; local
205 const char *id; local
206 int err; local
208 snd_config_for_each(i, next, top) { function
209 snd_config_t *n = snd_config_iterator_entry(i); local
216 snd_config_for_each(j, jnext, n) { function
217 snd_config_t *m = snd_config_iterator_entry(j); local
242 private_free(snd_mixer_class_t *class) argument
244 class_priv_t *priv = snd_mixer_class_get_private(class); local
269 snd_mixer_simple_basic_register(snd_mixer_t *mixer, struct snd_mixer_selem_regopt *options, snd_mixer_class_t **classp) argument
273 snd_mixer_class_t *class; local
274 class_priv_t *priv = calloc(1, sizeof(*priv)); local
275 const char *file; local
276 snd_input_t *input; local
277 snd_config_t *top = NULL; local
278 int err; local
365 snd_mixer_sbasic_info(const snd_mixer_class_t *class, sm_class_basic_t *info) argument
367 class_priv_t *priv = snd_mixer_class_get_private(class); local
383 snd_mixer_sbasic_get_private(const snd_mixer_class_t *class) argument
385 class_priv_t *priv = snd_mixer_class_get_private(class); local
397 snd_mixer_sbasic_set_private(const snd_mixer_class_t *class, void *private_data) argument
399 class_priv_t *priv; local
412 snd_mixer_sbasic_set_private_free(const snd_mixer_class_t *class, void (*private_free)(snd_mixer_class_t *class)) argument
414 class_priv_t *priv; local
[all...]
H A Dsimple_none.c47 #define MIXER_COMPARE_WEIGHT_SIMPLE_BASE macro
48 #define MIXER_COMPARE_WEIGHT_NEXT_BASE macro
49 #define MIXER_COMPARE_WEIGHT_NOT_FOUND macro
51 typedef enum _selem_ctl_type { enum
52 CTL_SINGLE, enumerator in enum:_selem_ctl_type
53 CTL_GLOBAL_ENUM, enumerator in enum:_selem_ctl_type
54 CTL_GLOBAL_SWITCH, enumerator in enum:_selem_ctl_type
55 CTL_GLOBAL_VOLUME, enumerator in enum:_selem_ctl_type
56 CTL_GLOBAL_ROUTE, enumerator in enum:_selem_ctl_type
57 CTL_PLAYBACK_ENUM, enumerator in enum:_selem_ctl_type
58 CTL_PLAYBACK_SWITCH, enumerator in enum:_selem_ctl_type
59 CTL_PLAYBACK_VOLUME, enumerator in enum:_selem_ctl_type
60 CTL_PLAYBACK_ROUTE, enumerator in enum:_selem_ctl_type
61 CTL_CAPTURE_ENUM, enumerator in enum:_selem_ctl_type
62 CTL_CAPTURE_SWITCH, enumerator in enum:_selem_ctl_type
63 CTL_CAPTURE_VOLUME, enumerator in enum:_selem_ctl_type
64 CTL_CAPTURE_ROUTE, enumerator in enum:_selem_ctl_type
65 CTL_CAPTURE_SOURCE, enumerator in enum:_selem_ctl_type
66 CTL_LAST = CTL_CAPTURE_SOURCE, enumerator in enum:_selem_ctl_type
67 } selem_ctl_type_t; typedef in typeref:enum:_selem_ctl_type
69 typedef struct _selem_ctl { struct
70 snd_hctl_elem_t *elem; member in struct:_selem_ctl
71 snd_ctl_elem_type_t type; member in struct:_selem_ctl
72 unsigned int inactive: 1; member in struct:_selem_ctl
73 unsigned int values; member in struct:_selem_ctl
74 long min, max; member in struct:_selem_ctl
75 } selem_ctl_t; typedef in typeref:struct:_selem_ctl
77 typedef struct _selem_none { struct
78 sm_selem_t selem; member in struct:_selem_none
79 selem_ctl_t ctls[CTL_LAST + 1]; member in struct:_selem_none
80 unsigned int capture_item; member in struct:_selem_none
81 struct selem_str { struct in struct:_selem_none
82 unsigned int range: 1; /* Forced range */ member in struct:_selem_none::selem_str
83 unsigned int db_initialized: 1; member in struct:_selem_none::selem_str
84 unsigned int db_init_error: 1; member in struct:_selem_none::selem_str
85 long min, max; member in struct:_selem_none::selem_str
86 unsigned int channels; member in struct:_selem_none::selem_str
87 long vol[32]; member in struct:_selem_none::selem_str
88 unsigned int sw; member in struct:_selem_none::selem_str
89 unsigned int *db_info; member in struct:_selem_none::selem_str
90 } str[2]; member in struct:_selem_none
91 } selem_none_t; typedef in typeref:struct:_selem_none
93 static const struct mixer_name_table { struct
94 const char *longname; member in struct:mixer_name_table
95 const char *shortname; member in struct:mixer_name_table
96 } name_table[] = { variable in typeref:struct:mixer_name_table
108 get_short_name(const char *lname) argument
110 const struct mixer_name_table *p; local
118 compare_mixer_priority_lookup(const char **name, const char * const *names, int coef) argument
120 int res; local
133 get_compare_weight(const char *name, unsigned int idx) argument
135 static const char *const names[] = { local
171 static const char *const names1[] = { local
175 static const char *const names2[] = { local
191 const char *name1; local
192 int res, res1; local
217 to_user(selem_none_t *s, int dir, selem_ctl_t *c, long value) argument
219 int64_t n; local
226 from_user(selem_none_t *s, int dir, selem_ctl_t *c, long value) argument
228 int64_t n; local
235 elem_read_volume(selem_none_t *s, int dir, selem_ctl_type_t type) argument
237 snd_ctl_elem_value_t *ctl; local
238 unsigned int idx; local
239 int err; local
240 selem_ctl_t *c = &s->ctls[type]; local
245 unsigned int idx1 = idx; local
253 elem_read_switch(selem_none_t *s, int dir, selem_ctl_type_t type) argument
255 snd_ctl_elem_value_t *ctl; local
256 unsigned int idx; local
257 int err; local
258 selem_ctl_t *c = &s->ctls[type]; local
263 unsigned int idx1 = idx; local
272 elem_read_route(selem_none_t *s, int dir, selem_ctl_type_t type) argument
274 snd_ctl_elem_value_t *ctl; local
275 unsigned int idx; local
276 int err; local
277 selem_ctl_t *c = &s->ctls[type]; local
282 unsigned int idx1 = idx; local
291 elem_read_enum(selem_none_t *s) argument
293 snd_ctl_elem_value_t *ctl; local
294 unsigned int idx; local
295 int err; local
296 int type; local
297 selem_ctl_t *c; local
310 unsigned int idx1 = idx; local
318 selem_read(snd_mixer_elem_t *elem) argument
320 selem_none_t *s; local
321 unsigned int idx; local
322 int err = 0; local
323 long pvol[32], cvol[32]; local
324 unsigned int psw, csw; local
443 snd_ctl_elem_value_t *ctl; local
444 selem_ctl_t *c = &s->ctls[CTL_CAPTURE_SOURCE]; local
450 unsigned int idx1 = idx; local
467 elem_write_volume(selem_none_t *s, int dir, selem_ctl_type_t type) argument
469 snd_ctl_elem_value_t *ctl; local
470 unsigned int idx; local
471 int err; local
472 selem_ctl_t *c = &s->ctls[type]; local
483 elem_write_switch(selem_none_t *s, int dir, selem_ctl_type_t type) argument
485 snd_ctl_elem_value_t *ctl; local
486 unsigned int idx; local
487 int err; local
488 selem_ctl_t *c = &s->ctls[type]; local
499 elem_write_switch_constant(selem_none_t *s, selem_ctl_type_t type, int val) argument
501 snd_ctl_elem_value_t *ctl; local
502 unsigned int idx; local
503 int err; local
504 selem_ctl_t *c = &s->ctls[type]; local
515 elem_write_route(selem_none_t *s, int dir, selem_ctl_type_t type) argument
517 snd_ctl_elem_value_t *ctl; local
518 unsigned int idx; local
519 int err; local
520 selem_ctl_t *c = &s->ctls[type]; local
533 elem_write_enum(selem_none_t *s) argument
535 snd_ctl_elem_value_t *ctl; local
536 unsigned int idx; local
537 int err; local
538 int type; local
539 selem_ctl_t *c; local
558 selem_write_main(snd_mixer_elem_t *elem) argument
560 selem_none_t *s; local
561 unsigned int idx; local
562 int err; local
628 snd_ctl_elem_value_t *ctl; local
629 selem_ctl_t *c = &s->ctls[CTL_CAPTURE_SOURCE]; local
647 selem_write(snd_mixer_elem_t *elem) argument
649 int err; local
657 selem_free(snd_mixer_elem_t *elem) argument
659 selem_none_t *simple = snd_mixer_elem_get_private(elem); local
669 simple_update(snd_mixer_elem_t *melem) argument
671 selem_none_t *simple; local
672 unsigned int caps, pchannels, cchannels; local
673 long pmin, pmax, cmin, cmax; local
674 selem_ctl_t *ctl; local
675 const char *name; local
889 static const struct suf { struct
890 const char *suffix; member in struct:suf
891 selem_ctl_type_t type; member in struct:suf
892 } suffixes[] = { variable in typeref:struct:suf
910 base_len(const char *name, selem_ctl_type_t *type) argument
912 const struct suf *p; local
913 size_t nlen = strlen(name); local
916 size_t slen = strlen(p->suffix); local
917 size_t l; local
954 _snd_mixer_selem_set_volume(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long value) argument
956 selem_none_t *s = snd_mixer_elem_get_private(elem); local
973 _snd_mixer_selem_set_switch(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, int value) argument
975 selem_none_t *s = snd_mixer_elem_get_private(elem); local
995 is_ops(snd_mixer_elem_t *elem, int dir, int cmd, int val) argument
997 selem_none_t *s = snd_mixer_elem_get_private(elem); local
1002 selem_ctl_type_t ctl; local
1050 get_range_ops(snd_mixer_elem_t *elem, int dir, long *min, long *max) argument
1053 selem_none_t *s = snd_mixer_elem_get_private(elem); local
1059 set_range_ops(snd_mixer_elem_t *elem, int dir, long min, long max) argument
1062 selem_none_t *s = snd_mixer_elem_get_private(elem); local
1063 int err; local
1073 get_volume_ops(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long *value) argument
1076 selem_none_t *s = snd_mixer_elem_get_private(elem); local
1087 convert_to_dB(snd_hctl_elem_t *ctl, struct selem_str *rec, long volume, long *db_gain) argument
1098 init_db_range(snd_hctl_elem_t *ctl, struct selem_str *rec) argument
1100 snd_ctl_elem_info_t *info; local
1101 unsigned int *tlv = NULL; local
1102 const unsigned int tlv_size = 4096; local
1103 unsigned int *dbrec; local
1104 int db_size; local
1139 get_selem_ctl(selem_none_t *s, int dir) argument
1141 selem_ctl_t *c; local
1158 get_dB_range(snd_hctl_elem_t *ctl, struct selem_str *rec, long *min, long *max) argument
1167 get_dB_range_ops(snd_mixer_elem_t *elem, int dir, long *min, long *max) argument
1170 selem_none_t *s = snd_mixer_elem_get_private(elem); local
1171 selem_ctl_t *c; local
1181 convert_from_dB(snd_hctl_elem_t *ctl, struct selem_str *rec, long db_gain, long *value, int xdir) argument
1191 ask_vol_dB_ops(snd_mixer_elem_t *elem, int dir, long value, long *dBvalue) argument
1196 selem_none_t *s = snd_mixer_elem_get_private(elem); local
1197 selem_ctl_t *c; local
1202 int res = convert_to_dB(c->elem, &s->str[dir], value, dBvalue); local
1206 get_dB_ops(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long *value) argument
1211 selem_none_t *s = snd_mixer_elem_get_private(elem); local
1212 selem_ctl_t *c; local
1213 int err; local
1214 long volume, db_gain; local
1231 get_switch_ops(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, int *value) argument
1234 selem_none_t *s = snd_mixer_elem_get_private(elem); local
1243 set_volume_ops(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long value) argument
1246 int changed; local
1255 ask_dB_vol_ops(snd_mixer_elem_t *elem, int dir, long dbValue, long *value, int xdir) argument
1258 selem_none_t *s = snd_mixer_elem_get_private(elem); local
1259 selem_ctl_t *c; local
1269 set_dB_ops(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long db_gain, int xdir) argument
1273 selem_none_t *s = snd_mixer_elem_get_private(elem); local
1274 selem_ctl_t *c; local
1275 long value; local
1276 int err; local
1289 set_switch_ops(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, int value) argument
1292 int changed; local
1293 selem_none_t *s = snd_mixer_elem_get_private(elem); local
1311 enum_item_name_ops(snd_mixer_elem_t *elem, unsigned int item, size_t maxlen, char *buf) argument
1315 selem_none_t *s = snd_mixer_elem_get_private(elem); local
1316 snd_ctl_elem_info_t *info; local
1317 snd_hctl_elem_t *helem; local
1318 int type; local
1341 get_enum_item_ops(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, unsigned int *itemp) argument
1345 selem_none_t *s = snd_mixer_elem_get_private(elem); local
1346 snd_ctl_elem_value_t *ctl; local
1347 snd_hctl_elem_t *helem; local
1348 int err; local
1363 set_enum_item_ops(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, unsigned int item) argument
1367 selem_none_t *s = snd_mixer_elem_get_private(elem); local
1368 snd_ctl_elem_value_t *ctl; local
1369 snd_hctl_elem_t *helem; local
1370 int err; local
1371 int type; local
1399 static struct sm_elem_ops simple_none_ops = { variable in typeref:struct:sm_elem_ops
1417 simple_add1(snd_mixer_class_t *class, const char *name, snd_hctl_elem_t *helem, selem_ctl_type_t type, unsigned int value) argument
1421 snd_mixer_elem_t *melem; local
1422 snd_mixer_selem_id_t *id; local
1423 int new = 0; local
1424 int err; local
1425 snd_ctl_elem_info_t *info; local
1426 selem_none_t *simple; local
1427 const char *name1; local
1428 snd_ctl_elem_type_t ctype; local
1429 unsigned long values; local
1449 unsigned int n; local
1604 simple_event_add(snd_mixer_class_t *class, snd_hctl_elem_t *helem) argument
1606 const char *name = snd_hctl_elem_get_name(helem); local
1607 size_t len; local
1608 selem_ctl_type_t type = CTL_SINGLE; /* to shut up warning */ local
1612 snd_ctl_elem_info_t *info; local
1613 unsigned int k, items; local
1614 int err; local
1622 const char *n; local
1638 char ename[128]; local
1652 simple_event_remove(snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) argument
1655 selem_none_t *simple = snd_mixer_elem_get_private(melem); local
1656 int err; local
1657 int k; local
1673 simple_event(snd_mixer_class_t *class, unsigned int mask, snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) argument
1676 int err; local
1713 snd_mixer_simple_none_register(snd_mixer_t *mixer, struct snd_mixer_selem_regopt *options ATTRIBUTE_UNUSED, snd_mixer_class_t **classp) argument
1717 snd_mixer_class_t *class; local
1718 int err; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/pcm/
H A DMakefile19 pkgdatadir = $(datadir)/alsa-lib macro
20 pkgincludedir = $(includedir)/alsa-lib macro
21 pkglibdir = $(libdir)/alsa-lib macro
22 pkglibexecdir = $(libexecdir)/alsa-lib macro
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd macro
24 install_sh_DATA = $(install_sh) -c -m 644 macro
25 install_sh_PROGRAM = $(install_sh) -c macro
26 install_sh_SCRIPT = $(install_sh) -c macro
27 INSTALL_HEADER = $(INSTALL_DATA) macro
28 transform = $(program_transform_name) macro
29 NORMAL_INSTALL = : macro
30 PRE_INSTALL = : macro
31 POST_INSTALL = : macro
32 NORMAL_UNINSTALL = : macro
33 PRE_UNINSTALL = : macro
34 POST_UNINSTALL = : macro
35 build_triplet = i686-pc-linux-gnu macro
36 host_triplet = arm-unknown-linux-gnu macro
37 am__append_1 = pcm_generic.c pcm_plugin.c macro
38 am__append_2 = pcm_copy.c macro
39 am__append_3 = pcm_linear.c macro
40 am__append_4 = pcm_route.c macro
41 am__append_5 = pcm_mulaw.c macro
42 am__append_6 = pcm_alaw.c macro
43 am__append_7 = pcm_adpcm.c macro
44 am__append_8 = pcm_rate.c pcm_rate_linear.c macro
45 am__append_9 = pcm_plug.c macro
46 am__append_10 = pcm_multi.c macro
47 am__append_11 = pcm_shm.c macro
48 am__append_12 = pcm_file.c macro
49 am__append_13 = pcm_null.c macro
50 am__append_14 = pcm_empty.c macro
51 am__append_15 = pcm_share.c macro
52 am__append_16 = pcm_meter.c macro
53 am__append_17 = pcm_hooks.c macro
54 am__append_18 = pcm_lfloat.c macro
55 am__append_19 = pcm_ladspa.c macro
56 am__append_20 = pcm_dmix.c macro
57 am__append_21 = pcm_dshare.c macro
58 am__append_22 = pcm_dsnoop.c macro
59 am__append_23 = pcm_direct.c macro
62 am__append_26 = pcm_asym.c macro
63 am__append_27 = pcm_iec958.c macro
64 am__append_28 = pcm_softvol.c macro
65 am__append_29 = pcm_extplug.c macro
66 am__append_30 = pcm_ioplug.c macro
67 am__append_31 = pcm_mmap_emul.c macro
68 subdir = src/pcm macro
69 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \\ macro
71 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 macro
72 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \\ macro
74 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \\ macro
76 mkinstalldirs = $(install_sh) -d macro
77 CONFIG_HEADER = $(top_builddir)/include/config.h macro
78 CONFIG_CLEAN_FILES = macro
79 CONFIG_CLEAN_VPATH_FILES = macro
80 libpcm_la_LIBADD = macro
81 am__libpcm_la_SOURCES_DIST = atomic.c mask.c interval.c pcm.c \\ macro
90 am__objects_1 = pcm_generic.lo pcm_plugin.lo macro
91 am__objects_2 = pcm_copy.lo macro
92 am__objects_3 = pcm_linear.lo macro
93 am__objects_4 = pcm_route.lo macro
94 am__objects_5 = pcm_mulaw.lo macro
95 am__objects_6 = pcm_alaw.lo macro
96 am__objects_7 = pcm_adpcm.lo macro
97 am__objects_8 = pcm_rate.lo \\ macro
99 am__objects_9 = pcm_plug.lo macro
100 am__objects_10 = pcm_multi.lo macro
101 am__objects_11 = pcm_shm.lo macro
102 am__objects_12 = pcm_file.lo macro
103 am__objects_13 = pcm_null.lo macro
104 am__objects_14 = pcm_empty.lo macro
105 am__objects_15 = pcm_share.lo macro
106 am__objects_16 = pcm_meter.lo macro
107 am__objects_17 = pcm_hooks.lo macro
108 am__objects_18 = pcm_lfloat.lo macro
109 am__objects_19 = pcm_ladspa.lo macro
110 am__objects_20 = pcm_dmix.lo macro
111 am__objects_21 = pcm_dshare.lo macro
112 am__objects_22 = pcm_dsnoop.lo macro
113 am__objects_23 = pcm_direct.lo macro
116 am__objects_26 = pcm_asym.lo macro
117 am__objects_27 = pcm_iec958.lo macro
118 am__objects_28 = pcm_softvol.lo macro
119 am__objects_29 = pcm_extplug.lo macro
120 am__objects_30 = pcm_ioplug.lo macro
121 am__objects_31 = pcm_mmap_emul.lo macro
122 am_libpcm_la_OBJECTS = atomic.lo mask.lo interval.lo pcm.lo \\ macro
135 libpcm_la_OBJECTS = $(am_libpcm_la_OBJECTS) macro
136 AM_V_lt = $(am__v_lt_$(V)) macro
137 am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) macro
138 am__v_lt_0 = --silent macro
139 DEFAULT_INCLUDES = -I. -I$(top_builddir)/include macro
140 depcomp = $(SHELL) $(top_srcdir)/depcomp macro
141 am__depfiles_maybe = depfiles macro
142 am__mv = mv -f macro
143 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \\ macro
145 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \\ macro
149 AM_V_CC = $(am__v_CC_$(V)) macro
150 am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) macro
151 am__v_CC_0 = @echo " CC " $@; macro
152 AM_V_at = $(am__v_at_$(V)) macro
153 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) macro
154 am__v_at_0 = @ macro
155 CCLD = $(CC) macro
156 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \\ macro
159 AM_V_CCLD = $(am__v_CCLD_$(V)) macro
160 am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) macro
161 am__v_CCLD_0 = @echo " CCLD " $@; macro
162 AM_V_GEN = $(am__v_GEN_$(V)) macro
163 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) macro
164 am__v_GEN_0 = @echo " GEN " $@; macro
165 SOURCES = $(libpcm_la_SOURCES) macro
166 DIST_SOURCES = $(am__libpcm_la_SOURCES_DIST) macro
167 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \\ macro
174 HEADERS = $(noinst_HEADERS) macro
175 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \\ macro
177 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \\ macro
180 ETAGS = etags macro
181 CTAGS = ctags macro
182 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) macro
183 am__relativize = \\ macro
208 ACLOCAL = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run aclocal-1.11 macro
209 ALSA_CONFIG_DIR = /usr/share/alsa macro
210 ALSA_DEPLIBS = -lm -ldl -lpthread -lrt macro
211 ALSA_PKGCONF_DIR = /usr/lib/pkgconfig macro
212 ALSA_PLUGIN_DIR = /usr/lib/alsa-lib macro
213 AMTAR = $${TAR-tar} macro
214 AM_DEFAULT_VERBOSITY = 0 macro
215 AR = arm-brcm-linux-uclibcgnueabi-ar macro
216 AUTOCONF = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run autoconf macro
217 AUTOHEADER = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run autoheader macro
218 AUTOMAKE = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run automake-1.11 macro
219 AWK = gawk macro
220 CC = arm-brcm-linux-uclibcgnueabi-gcc macro
221 CCDEPMODE = depmode=gcc3 macro
222 CFLAGS = -Os -O2 -DBCMWPA2 -DRESTART_ALL_PROCESSES -D__CONFIG_USBAP__ -DBCMQOS -DBCMWPS -D__CONFIG_EMF__ -DTRAFFIC_MGMT -DPHYMON -DSUPPORT_REMOTE_HTTPS -DINCLUDE_WPS_V20 -DINCLUDE_5G_AUTO_CHANNEL -DOPENDNS_PARENTAL_CONTROL -DINCLUDE_UCP -DU12H240 -DR6300v2 -DMULTIPLE_SSID -DENABLE_ML -DBCM53125 -DBCM5301X -DCONFIG_RUSSIA_IPTV -DDLNA -DHTTP_ACCESS_USB -DMAX_USB_ACCESS -DSAMBA_ENABLE -DUSB_NEW_SPEC -DINCLUDE_WIFI_BUTTON -DINCLUDE_USB_LED -DINCLUDE_DUAL_BAND -DSINGLE_FIRMWARE -DINCLUDE_GET_ST_CHKSUM -DUNIFIED_STR_TBL -DFIRST_MTD_ROTATION -DWIFI_ON_OFF_SCHE -DAUTO_CONN_24HR -DIGMP_PROXY -DAP_MODE -D__CONFIG_IGMP_SNOOPING__ -DLINUX26 -DINCLUDE_IPV6 -DPRESET_WL_SECURITY -DNEW_BCM_WPS_IPC -DSUPPORT_AC_MODE -DSTA_MODE -DPPP_RU_DESIGN -DEXT_ACS -D__CONFIG_PLC__ -D__CONFIG_URE__ -DPLC -DWPS_LONGPUSH_DISABLE -Os -DLINUX26 -DCONFIG_KERNEL_2_6_36 -I$(SRC_PATH)/build/usr/include -D_GNU_SOURCE macro
223 CPP = arm-brcm-linux-uclibcgnueabi-gcc -E macro
224 CPPFLAGS = -I$(SRC_PATH)/build/usr/include -D__arm__ macro
225 CYGPATH_W = echo macro
226 DEFS = -DHAVE_CONFIG_H macro
227 DEPDIR = .deps macro
228 DLLTOOL = false macro
229 DSYMUTIL = macro
230 DUMPBIN = macro
231 ECHO_C = macro
232 ECHO_N = -n macro
233 ECHO_T = macro
234 EGREP = /bin/grep -E macro
235 EXEEXT = macro
236 FGREP = /bin/grep -F macro
237 GREP = /bin/grep macro
238 INSTALL = /usr/bin/install -c macro
239 INSTALL_DATA = ${INSTALL} -m 644 macro
240 INSTALL_PROGRAM = ${INSTALL} macro
241 INSTALL_SCRIPT = ${INSTALL} macro
242 INSTALL_STRIP_PROGRAM = $(install_sh) -c -s macro
243 LD = arm-brcm-linux-uclibcgnueabi-ld macro
244 LDFLAGS = -L$(SRC_PATH)/build/usr/lib macro
245 LIBOBJS = macro
246 LIBS = macro
247 LIBTOOL = $(SHELL) $(top_builddir)/libtool macro
248 LIBTOOL_VERSION_INFO = 2:0:0 macro
249 LIPO = macro
250 LN_S = ln -s macro
251 LTLIBOBJS = macro
252 MAKEINFO = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run makeinfo macro
253 MANIFEST_TOOL = : macro
254 MKDIR_P = /bin/mkdir -p macro
255 NM = arm-brcm-linux-uclibcgnueabi-nm macro
256 NMEDIT = macro
257 OBJDUMP = arm-brcm-linux-uclibcgnueabi-objdump macro
258 OBJEXT = o macro
259 OTOOL = macro
260 OTOOL64 = macro
261 PACKAGE = alsa-lib macro
262 PACKAGE_BUGREPORT = macro
263 PACKAGE_NAME = macro
264 PACKAGE_STRING = macro
265 PACKAGE_TARNAME = macro
266 PACKAGE_URL = macro
267 PACKAGE_VERSION = macro
268 PATH_SEPARATOR = : macro
269 PYTHON_INCLUDES = macro
270 PYTHON_LIBS = macro
271 RANLIB = arm-brcm-linux-uclibcgnueabi-ranlib macro
272 SED = /bin/sed macro
273 SET_MAKE = macro
274 SHELL = /bin/sh macro
275 SND_LIB_EXTRAVER = 1000000 macro
276 SND_LIB_MAJOR = 1 macro
277 SND_LIB_MINOR = 0 macro
278 SND_LIB_SUBMINOR = 26 macro
279 SND_LIB_VERSION = 1.0.26 macro
280 STRIP = arm-brcm-linux-uclibcgnueabi-strip macro
281 SYMBOL_PREFIX = macro
282 VERSION = 1.0.26 macro
283 abs_builddir = $(SRC_PATH)/alsa-lib-1.0.26/src/pcm macro
284 abs_srcdir = $(SRC_PATH)/alsa-lib-1.0.26/src/pcm macro
285 abs_top_builddir = $(SRC_PATH)/alsa-lib-1.0.26 macro
286 abs_top_srcdir = $(SRC_PATH)/alsa-lib-1.0.26 macro
287 ac_ct_AR = macro
288 ac_ct_CC = macro
289 ac_ct_DUMPBIN = macro
290 am__include = include macro
291 am__leading_dot = . macro
292 am__quote = macro
293 am__tar = $${TAR-tar} chof - "$$tardir" macro
294 am__untar = $${TAR-tar} xf - macro
295 bindir = ${exec_prefix}/bin macro
296 build = i686-pc-linux-gnu macro
297 build_alias = macro
298 build_cpu = i686 macro
299 build_os = linux-gnu macro
300 build_vendor = pc macro
301 builddir = . macro
302 datadir = ${datarootdir} macro
303 datarootdir = ${prefix}/share macro
304 docdir = ${datarootdir}/doc/${PACKAGE} macro
305 dvidir = ${docdir} macro
306 exec_prefix = /usr macro
307 host = arm-unknown-linux-gnu macro
308 host_alias = arm-linux macro
309 host_cpu = arm macro
310 host_os = linux-gnu macro
311 host_vendor = unknown macro
312 htmldir = ${docdir} macro
313 includedir = ${prefix}/include macro
314 infodir = ${datarootdir}/info macro
315 install_sh = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/install-sh macro
316 libdir = ${exec_prefix}/lib macro
317 libexecdir = ${exec_prefix}/libexec macro
318 localedir = ${datarootdir}/locale macro
319 localstatedir = ${prefix}/var macro
320 mandir = ${datarootdir}/man macro
321 mkdir_p = /bin/mkdir -p macro
322 oldincludedir = /usr/include macro
323 pdfdir = ${docdir} macro
324 prefix = /usr macro
325 program_transform_name = s,x,x, macro
326 psdir = ${docdir} macro
327 sbindir = ${exec_prefix}/sbin macro
328 sharedstatedir = ${prefix}/com macro
329 srcdir = . macro
330 sysconfdir = ${prefix}/etc macro
331 target_alias = macro
332 top_build_prefix = ../../ macro
333 top_builddir = ../.. macro
334 top_srcdir = ../.. macro
335 SUBDIRS = macro
336 DIST_SUBDIRS = scopes macro
337 EXTRA_LTLIBRARIES = libpcm.la macro
338 libpcm_la_SOURCES = atomic.c mask.c interval.c pcm.c pcm_params.c \\ macro
351 EXTRA_DIST = pcm_dmix_i386.c pcm_dmix_x86_64.c pcm_dmix_generic.c macro
352 noinst_HEADERS = pcm_local.h pcm_plugin.h mask.h mask_inline.h \\ macro
357 alsadir = $(datadir)/alsa macro
358 INCLUDES = -I$(top_srcdir)/include macro
[all...]
H A Datomic.c26 snd_atomic_read_wait(snd_atomic_read_t *t) argument
28 volatile const snd_atomic_write_t *w = t->write; local
29 unsigned int loops = 0; local
30 struct timespec ts; local
[all...]
H A Dinterval.c22 #define SND_INTERVAL_C macro
23 #define SND_INTERVAL_INLINE macro
29 div64_32(u_int64_t *n, u_int32_t d, u_int32_t *rem) argument
35 div32(unsigned int a, unsigned int b, unsigned int *r) argument
46 div_down(unsigned int a, unsigned int b) argument
53 div_up(unsigned int a, unsigned int b) argument
55 unsigned int r; local
56 unsigned int q; local
65 mul(unsigned int a, unsigned int b) argument
74 add(unsigned int a, unsigned int b) argument
81 sub(unsigned int a, unsigned int b) argument
88 muldiv32(unsigned int a, unsigned int b, unsigned int c, unsigned int *r) argument
91 u_int64_t n = (u_int64_t) a * b; local
105 snd_interval_refine_min(snd_interval_t *i, unsigned int min, int openmin) argument
107 int changed = 0; local
131 snd_interval_refine_max(snd_interval_t *i, unsigned int max, int openmax) argument
133 int changed = 0; local
158 snd_interval_refine(snd_interval_t *i, const snd_interval_t *v) argument
160 int changed = 0; local
201 snd_interval_refine_first(snd_interval_t *i) argument
214 snd_interval_refine_last(snd_interval_t *i) argument
227 snd_interval_refine_set(snd_interval_t *i, unsigned int val) argument
229 snd_interval_t t; local
237 snd_interval_add(const snd_interval_t *a, const snd_interval_t *b, snd_interval_t *c) argument
251 snd_interval_sub(const snd_interval_t *a, const snd_interval_t *b, snd_interval_t *c) argument
265 snd_interval_mul(const snd_interval_t *a, const snd_interval_t *b, snd_interval_t *c) argument
279 snd_interval_div(const snd_interval_t *a, const snd_interval_t *b, snd_interval_t *c) argument
281 unsigned int r; local
304 snd_interval_muldiv(const snd_interval_t *a, const snd_interval_t *b, const snd_interval_t *c, snd_interval_t *d) argument
307 unsigned int r; local
325 snd_interval_muldivk(const snd_interval_t *a, const snd_interval_t *b, unsigned int k, snd_interval_t *c) argument
328 unsigned int r; local
346 snd_interval_mulkdiv(const snd_interval_t *a, unsigned int k, const snd_interval_t *b, snd_interval_t *c) argument
349 unsigned int r; local
371 snd_interval_print(const snd_interval_t *i, snd_output_t *out) argument
400 boundary_sub(int a, int adir, int b, int bdir, int *c, int *cdir) argument
415 boundary_lt(unsigned int a, int adir, unsigned int b, int bdir) argument
433 boundary_nearer(int min, int mindir, int best, int bestdir, int max, int maxdir) argument
435 int dmin, dmindir; local
436 int dmax, dmaxdir; local
[all...]
H A Dinterval.h22 typedef struct _snd_interval snd_interval_t; typedef in typeref:struct:_snd_interval
46 #define snd_interval_add macro
47 #define snd_interval_sub macro
48 #define snd_interval_mul macro
49 #define snd_interval_div macro
50 #define snd_interval_muldiv macro
51 #define snd_interval_muldivk macro
52 #define snd_interval_mulkdiv macro
53 #define snd_interval_print macro
54 #define snd_interval_refine_min macro
55 #define snd_interval_refine_max macro
56 #define snd_interval_refine macro
57 #define snd_interval_refine_first macro
58 #define snd_interval_refine_last macro
59 #define snd_interval_refine_set macro
[all...]
H A Dinterval_inline.h22 #define INTERVAL_INLINE macro
24 snd_interval_any(snd_interval_t *i) argument
34 snd_interval_none(snd_interval_t *i) argument
39 snd_interval_checkempty(const snd_interval_t *i) argument
45 snd_interval_empty(const snd_interval_t *i) argument
50 snd_interval_single(const snd_interval_t *i) argument
57 snd_interval_value(const snd_interval_t *i) argument
63 snd_interval_set_value(snd_interval_t *i, unsigned int val) argument
71 snd_interval_min(const snd_interval_t *i) argument
77 snd_interval_max(const snd_interval_t *i) argument
83 snd_interval_set_minmax(snd_interval_t *i, unsigned int min, unsigned int max) argument
92 snd_interval_test(const snd_interval_t *i, unsigned int val) argument
98 snd_interval_copy(snd_interval_t *d, const snd_interval_t *s) argument
103 snd_interval_setinteger(snd_interval_t *i) argument
113 snd_interval_floor(snd_interval_t *i) argument
125 snd_interval_unfloor(snd_interval_t *i) argument
139 snd_interval_always_eq(const snd_interval_t *i1, const snd_interval_t *i2) argument
145 snd_interval_never_eq(const snd_interval_t *i1, const snd_interval_t *i2) argument
[all...]
H A Dladspa.h23 #define LADSPA_INCLUDED macro
25 #define LADSPA_VERSION macro
26 #define LADSPA_VERSION_MAJOR macro
27 #define LADSPA_VERSION_MINOR macro
84 typedef float LADSPA_Data; typedef
94 typedef int LADSPA_Properties; typedef
99 #define LADSPA_PROPERTY_REALTIME macro
106 #define LADSPA_PROPERTY_INPLACE_BROKEN macro
132 #define LADSPA_PROPERTY_HARD_RT_CAPABLE macro
134 #define LADSPA_IS_REALTIME macro
135 #define LADSPA_IS_INPLACE_BROKEN macro
136 #define LADSPA_IS_HARD_RT_CAPABLE macro
152 typedef int LADSPA_PortDescriptor; typedef
155 #define LADSPA_PORT_INPUT macro
158 #define LADSPA_PORT_OUTPUT macro
162 #define LADSPA_PORT_CONTROL macro
166 #define LADSPA_PORT_AUDIO macro
168 #define LADSPA_IS_PORT_INPUT macro
169 #define LADSPA_IS_PORT_OUTPUT macro
170 #define LADSPA_IS_PORT_CONTROL macro
171 #define LADSPA_IS_PORT_AUDIO macro
200 typedef int LADSPA_PortRangeHintDescriptor; typedef
208 #define LADSPA_HINT_BOUNDED_BELOW macro
216 #define LADSPA_HINT_BOUNDED_ABOVE macro
224 #define LADSPA_HINT_TOGGLED macro
232 #define LADSPA_HINT_SAMPLE_RATE macro
237 #define LADSPA_HINT_LOGARITHMIC macro
245 #define LADSPA_HINT_INTEGER macro
258 #define LADSPA_HINT_DEFAULT_MASK macro
261 #define LADSPA_HINT_DEFAULT_NONE macro
265 #define LADSPA_HINT_DEFAULT_MINIMUM macro
272 #define LADSPA_HINT_DEFAULT_LOW macro
279 #define LADSPA_HINT_DEFAULT_MIDDLE macro
286 #define LADSPA_HINT_DEFAULT_HIGH macro
290 #define LADSPA_HINT_DEFAULT_MAXIMUM macro
295 #define LADSPA_HINT_DEFAULT_0 macro
300 #define LADSPA_HINT_DEFAULT_1 macro
303 #define LADSPA_HINT_DEFAULT_100 macro
308 #define LADSPA_HINT_DEFAULT_440 macro
310 #define LADSPA_IS_HINT_BOUNDED_BELOW macro
311 #define LADSPA_IS_HINT_BOUNDED_ABOVE macro
312 #define LADSPA_IS_HINT_TOGGLED macro
313 #define LADSPA_IS_HINT_SAMPLE_RATE macro
314 #define LADSPA_IS_HINT_LOGARITHMIC macro
315 #define LADSPA_IS_HINT_INTEGER macro
317 #define LADSPA_IS_HINT_HAS_DEFAULT macro
318 #define LADSPA_IS_HINT_DEFAULT_MINIMUM macro
320 #define LADSPA_IS_HINT_DEFAULT_LOW macro
322 #define LADSPA_IS_HINT_DEFAULT_MIDDLE macro
324 #define LADSPA_IS_HINT_DEFAULT_HIGH macro
326 #define LADSPA_IS_HINT_DEFAULT_MAXIMUM macro
328 #define LADSPA_IS_HINT_DEFAULT_0 macro
330 #define LADSPA_IS_HINT_DEFAULT_1 macro
332 #define LADSPA_IS_HINT_DEFAULT_100 macro
334 #define LADSPA_IS_HINT_DEFAULT_440 macro
337 typedef struct _LADSPA_PortRangeHint { struct
340 LADSPA_PortRangeHintDescriptor HintDescriptor; member in struct:_LADSPA_PortRangeHint
345 LADSPA_Data LowerBound; member in struct:_LADSPA_PortRangeHint
350 LADSPA_Data UpperBound; member in struct:_LADSPA_PortRangeHint
352 } LADSPA_PortRangeHint; typedef in typeref:struct:_LADSPA_PortRangeHint
363 typedef void * LADSPA_Handle; typedef
373 typedef struct _LADSPA_Descriptor { struct
379 unsigned long UniqueID; member in struct:_LADSPA_Descriptor
386 const char * Label; member in struct:_LADSPA_Descriptor
389 LADSPA_Properties Properties; member in struct:_LADSPA_Descriptor
393 const char * Name; member in struct:_LADSPA_Descriptor
397 const char * Maker; member in struct:_LADSPA_Descriptor
402 const char * Copyright; member in struct:_LADSPA_Descriptor
406 unsigned long PortCount; member in struct:_LADSPA_Descriptor
410 const LADSPA_PortDescriptor * PortDescriptors; member in struct:_LADSPA_Descriptor
415 const char * const * PortNames; member in struct:_LADSPA_Descriptor
419 const LADSPA_PortRangeHint * PortRangeHints; member in struct:_LADSPA_Descriptor
426 void * ImplementationData; member in struct:_LADSPA_Descriptor
437 LADSPA_Handle (*instantiate)(const struct _LADSPA_Descriptor * Descriptor, member in struct:_LADSPA_Descriptor
466 void (*connect_port)(LADSPA_Handle Instance, member in struct:_LADSPA_Descriptor
489 void (*activate)(LADSPA_Handle Instance); member in struct:_LADSPA_Descriptor
505 void (*run)(LADSPA_Handle Instance, member in struct:_LADSPA_Descriptor
521 void (*run_adding)(LADSPA_Handle Instance, member in struct:_LADSPA_Descriptor
533 void (*set_run_adding_gain)(LADSPA_Handle Instance, member in struct:_LADSPA_Descriptor
549 void (*deactivate)(LADSPA_Handle Instance); member in struct:_LADSPA_Descriptor
558 void (*cleanup)(LADSPA_Handle Instance); member in struct:_LADSPA_Descriptor
560 } LADSPA_Descriptor; typedef in typeref:struct:_LADSPA_Descriptor
593 (*LADSPA_Descriptor_Function)(unsigned long Index); typedef
[all...]
H A Dmask.c22 #define SND_MASK_C macro
23 #define SND_MASK_INLINE macro
[all...]
H A Dmask.h22 typedef struct _snd_mask snd_mask_t; typedef in typeref:struct:_snd_mask
24 #define SND_MASK_MAX macro
[all...]
H A Dmask_inline.h24 #define MASK_INLINE macro
26 #define MASK_MAX macro
27 #define MASK_SIZE macro
29 #define MASK_OFS macro
30 #define MASK_BIT macro
32 ld2(u_int32_t v) argument
34 unsigned r = 0; local
57 hweight32(u_int32_t v) argument
66 MASK_INLINE size_t snd_mask_sizeof(void) function
71 snd_mask_none(snd_mask_t *mask) argument
76 snd_mask_any(snd_mask_t *mask) argument
81 snd_mask_empty(const snd_mask_t *mask) argument
83 int i; local
90 snd_mask_full(const snd_mask_t *mask) argument
92 int i; local
99 snd_mask_count(const snd_mask_t *mask) argument
101 int i, w = 0; local
107 snd_mask_min(const snd_mask_t *mask) argument
109 int i; local
118 snd_mask_max(const snd_mask_t *mask) argument
120 int i; local
129 snd_mask_set(snd_mask_t *mask, unsigned int val) argument
135 snd_mask_reset(snd_mask_t *mask, unsigned int val) argument
141 snd_mask_set_range(snd_mask_t *mask, unsigned int from, unsigned int to) argument
143 unsigned int i; local
149 snd_mask_reset_range(snd_mask_t *mask, unsigned int from, unsigned int to) argument
151 unsigned int i; local
157 snd_mask_leave(snd_mask_t *mask, unsigned int val) argument
159 unsigned int v; local
166 snd_mask_intersect(snd_mask_t *mask, const snd_mask_t *v) argument
168 int i; local
173 snd_mask_union(snd_mask_t *mask, const snd_mask_t *v) argument
175 int i; local
180 snd_mask_eq(const snd_mask_t *mask, const snd_mask_t *v) argument
185 snd_mask_copy(snd_mask_t *mask, const snd_mask_t *v) argument
190 snd_mask_test(const snd_mask_t *mask, unsigned int val) argument
196 snd_mask_single(const snd_mask_t *mask) argument
198 int i, c = 0; local
212 snd_mask_refine(snd_mask_t *mask, const snd_mask_t *v) argument
214 snd_mask_t old; local
224 snd_mask_refine_first(snd_mask_t *mask) argument
234 snd_mask_refine_last(snd_mask_t *mask) argument
244 snd_mask_refine_min(snd_mask_t *mask, unsigned int val) argument
256 snd_mask_refine_max(snd_mask_t *mask, unsigned int val) argument
268 snd_mask_refine_set(snd_mask_t *mask, unsigned int val) argument
270 int changed; local
280 snd_mask_value(const snd_mask_t *mask) argument
286 snd_mask_always_eq(const snd_mask_t *m1, const snd_mask_t *m2) argument
292 snd_mask_never_eq(const snd_mask_t *m1, const snd_mask_t *m2) argument
294 int i; local
[all...]
H A Dpcm.c650 snd_pcm_name(snd_pcm_t *pcm) argument
663 snd_pcm_type(snd_pcm_t *pcm) argument
676 snd_pcm_stream(snd_pcm_t *pcm) argument
690 snd_pcm_close(snd_pcm_t *pcm) argument
692 int res = 0, err; local
703 snd_async_handler_t *h = list_entry(pcm->async_handlers.next, snd_async_handler_t, hlist); local
721 snd_pcm_nonblock(snd_pcm_t *pcm, int nonblock) argument
723 int err; local
747 snd_pcm_async(snd_pcm_t *pcm, int sig, pid_t pid) argument
764 snd_pcm_info(snd_pcm_t *pcm, snd_pcm_info_t *info) argument
775 snd_pcm_hw_params_current(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) argument
777 unsigned int frame_bits; local
826 snd_pcm_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) argument
828 int err; local
841 snd_pcm_hw_free(snd_pcm_t *pcm) argument
843 int err; local
869 snd_pcm_sw_params(snd_pcm_t *pcm, snd_pcm_sw_params_t *params) argument
871 int err; local
912 snd_pcm_status(snd_pcm_t *pcm, snd_pcm_status_t *status) argument
926 snd_pcm_state(snd_pcm_t *pcm) argument
941 snd_pcm_hwsync(snd_pcm_t *pcm) argument
982 snd_pcm_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp) argument
1004 snd_pcm_resume(snd_pcm_t *pcm) argument
1024 snd_pcm_htimestamp(snd_pcm_t *pcm, snd_pcm_uframes_t *avail, snd_htimestamp_t *tstamp) argument
1039 snd_pcm_prepare(snd_pcm_t *pcm) argument
1056 snd_pcm_reset(snd_pcm_t *pcm) argument
1071 snd_pcm_start(snd_pcm_t *pcm) argument
1092 snd_pcm_drop(snd_pcm_t *pcm) argument
1115 snd_pcm_drain(snd_pcm_t *pcm) argument
1135 snd_pcm_pause(snd_pcm_t *pcm, int enable) argument
1154 snd_pcm_rewindable(snd_pcm_t *pcm) argument
1171 snd_pcm_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames) argument
1192 snd_pcm_forwardable(snd_pcm_t *pcm) argument
1210 snd_pcm_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames) argument
1243 snd_pcm_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size) argument
1275 snd_pcm_writen(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size) argument
1307 snd_pcm_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size) argument
1339 snd_pcm_readn(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size) argument
1362 snd_pcm_link(snd_pcm_t *pcm1, snd_pcm_t *pcm2) argument
1376 snd_pcm_unlink(snd_pcm_t *pcm) argument
1389 snd_pcm_poll_descriptors_count(snd_pcm_t *pcm) argument
1424 snd_pcm_poll_descriptors(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int space) argument
1461 snd_pcm_poll_descriptors_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) argument
1474 #define PCMTYPE macro
1475 #define STATE macro
1476 #define STREAM macro
1477 #define READY macro
1478 #define XRUN macro
1479 #define SILENCE macro
1480 #define TSTAMP macro
1481 #define ACCESS macro
1482 #define START macro
1483 #define HW_PARAM macro
1484 #define SW_PARAM macro
1485 #define FORMAT macro
1486 #define SUBFORMAT macro
1488 #define FORMATD macro
1489 #define SUBFORMATD macro
1492 static const char *const snd_pcm_stream_names[] = { variable
1497 static const char *const snd_pcm_state_names[] = { variable
1509 static const char *const snd_pcm_access_names[] = { variable
1517 static const char *const snd_pcm_format_names[] = { variable
1558 static const char *const snd_pcm_format_aliases[SND_PCM_FORMAT_LAST+1] = { variable
1570 static const char *const snd_pcm_format_descriptions[] = { variable
1611 static const char *const snd_pcm_type_names[] = { variable
1644 static const char *const snd_pcm_subformat_names[] = { variable
1648 static const char *const snd_pcm_subformat_descriptions[] = { variable
1652 static const char *const snd_pcm_start_mode_names[] = { variable
1657 static const char *const snd_pcm_xrun_mode_names[] = { variable
1662 static const char *const snd_pcm_tstamp_mode_names[] = { variable
1673 snd_pcm_stream_name(snd_pcm_stream_t stream) argument
1685 snd_pcm_access_name(snd_pcm_access_t acc) argument
1697 snd_pcm_format_name(snd_pcm_format_t format) argument
1709 snd_pcm_format_description(snd_pcm_format_t format) argument
1721 snd_pcm_format_value(const char* name) argument
1723 snd_pcm_format_t format; local
1748 snd_pcm_subformat_name(snd_pcm_subformat_t subformat) argument
1760 snd_pcm_subformat_description(snd_pcm_subformat_t subformat) argument
1772 snd_pcm_start_mode_name(snd_pcm_start_t mode) argument
1788 snd_pcm_xrun_mode_name(snd_pcm_xrun_t mode) argument
1804 snd_pcm_tstamp_mode_name(snd_pcm_tstamp_t mode) argument
1816 snd_pcm_state_name(snd_pcm_state_t state) argument
1829 snd_pcm_type_name(snd_pcm_type_t type) argument
1846 snd_pcm_dump_hw_setup(snd_pcm_t *pcm, snd_output_t *out) argument
1876 snd_pcm_dump_sw_setup(snd_pcm_t *pcm, snd_output_t *out) argument
1902 snd_pcm_dump_setup(snd_pcm_t *pcm, snd_output_t *out) argument
1915 snd_pcm_status_dump(snd_pcm_status_t *status, snd_output_t *out) argument
1935 snd_pcm_dump(snd_pcm_t *pcm, snd_output_t *out) argument
1949 snd_pcm_bytes_to_frames(snd_pcm_t *pcm, ssize_t bytes) argument
1965 snd_pcm_frames_to_bytes(snd_pcm_t *pcm, snd_pcm_sframes_t frames) argument
1981 snd_pcm_bytes_to_samples(snd_pcm_t *pcm, ssize_t bytes) argument
1997 snd_pcm_samples_to_bytes(snd_pcm_t *pcm, long samples) argument
2017 snd_async_add_pcm_handler(snd_async_handler_t **handler, snd_pcm_t *pcm, snd_async_callback_t callback, void *private_data) argument
2020 int err; local
2021 int was_empty; local
2022 snd_async_handler_t *h; local
2047 snd_async_handler_get_pcm(snd_async_handler_t *handler) argument
2056 static const char *const build_in_pcms[] = { variable
2063 snd_pcm_open_conf(snd_pcm_t **pcmp, const char *name, snd_config_t *pcm_root, snd_config_t *pcm_conf, snd_pcm_stream_t stream, int mode) argument
2067 const char *str; local
2068 char *buf = NULL, *buf1 = NULL; local
2069 int err; local
2070 snd_config_t *conf, *type_conf = NULL, *tmp; local
2071 snd_config_iterator_t i, next; local
2072 const char *id; local
2073 const char *lib = NULL, *open_name = NULL; local
2081 char *val; local
2111 snd_config_for_each(i, next, type_conf) { function
2112 snd_config_t *n = snd_config_iterator_entry(i); local
2113 const char *id; local
2149 const char *const *build_in = build_in_pcms; local
2184 long i; local
2190 char *str = getenv("LIBASOUND_COMPAT"); local
2207 snd_pcm_open_noupdate(snd_pcm_t **pcmp, snd_config_t *root, const char *name, snd_pcm_stream_t stream, int mode, int hop) argument
2211 int err; local
2212 snd_config_t *pcm_conf; local
2213 const char *str; local
2239 snd_pcm_open(snd_pcm_t **pcmp, const char *name, snd_pcm_stream_t stream, int mode) argument
2242 int err; local
2259 snd_pcm_open_lconf(snd_pcm_t **pcmp, const char *name, snd_pcm_stream_t stream, int mode, snd_config_t *lconf) argument
2277 snd_pcm_open_fallback(snd_pcm_t **pcmp, snd_config_t *root, const char *name, const char *orig_name, snd_pcm_stream_t stream, int mode) argument
2281 int err; local
2292 snd_pcm_new(snd_pcm_t **pcmp, snd_pcm_type_t type, const char *name, snd_pcm_stream_t stream, int mode) argument
2295 snd_pcm_t *pcm; local
2313 snd_pcm_free(snd_pcm_t *pcm) argument
2324 snd_pcm_open_named_slave(snd_pcm_t **pcmp, const char *name, snd_config_t *root, snd_config_t *conf, snd_pcm_stream_t stream, int mode, snd_config_t *parent_conf) argument
2329 const char *str; local
2330 int hop; local
2352 snd_pcm_wait(snd_pcm_t *pcm, int timeout) argument
2376 snd_pcm_wait_nocheck(snd_pcm_t *pcm, int timeout) argument
2378 struct pollfd *pfd; local
2379 unsigned short revents = 0; local
2380 int npfds, err, err_poll; local
2457 snd_pcm_avail_update(snd_pcm_t *pcm) argument
2474 snd_pcm_avail(snd_pcm_t *pcm) argument
2476 int err; local
2498 snd_pcm_avail_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *availp, snd_pcm_sframes_t *delayp) argument
2502 snd_pcm_sframes_t sf; local
2503 int err; local
2531 snd_pcm_area_silence(const snd_pcm_channel_area_t *dst_area, snd_pcm_uframes_t dst_offset, unsigned int samples, snd_pcm_format_t format) argument
2535 char *dst; local
2536 unsigned int dst_step; local
2537 int width; local
2538 u_int64_t silence; local
2545 unsigned int dwords = samples * width / 64; local
2546 u_int64_t *dstp = (u_int64_t *)dst; local
2556 u_int8_t s0 = silence & 0xf0; local
2557 u_int8_t s1 = silence & 0x0f; local
2558 int dstbit = dst_area->first % 8; local
2559 int dstbit_step = dst_area->step % 8; local
2578 u_int8_t sil = silence; local
2586 u_int16_t sil = silence; local
2605 u_int32_t sil = silence; local
2635 snd_pcm_areas_silence(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, unsigned int channels, snd_pcm_uframes_t frames, snd_pcm_format_t format) argument
2638 int width = snd_pcm_format_physical_width(format); local
2640 void *addr = dst_areas->addr; local
2641 unsigned int step = dst_areas->step; local
2642 const snd_pcm_channel_area_t *begin = dst_areas; local
2643 int channels1 = channels; local
2644 unsigned int chns = 0; local
2645 int err; local
2658 snd_pcm_channel_area_t d; local
2686 snd_pcm_area_copy(const snd_pcm_channel_area_t *dst_area, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_area, snd_pcm_uframes_t src_offset, unsigned int samples, snd_pcm_format_t format) argument
2691 const char *src; local
2692 char *dst; local
2693 int width; local
2694 int src_step, dst_step; local
2706 size_t bytes = samples * width / 8; local
2716 int srcbit = src_area->first % 8; local
2717 int srcbit_step = src_area->step % 8; local
2718 int dstbit = dst_area->first % 8; local
2719 int dstbit_step = dst_area->step % 8; local
2721 unsigned char srcval; local
2805 snd_pcm_areas_copy(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int channels, snd_pcm_uframes_t frames, snd_pcm_format_t format) argument
2809 int width = snd_pcm_format_physical_width(format); local
2821 unsigned int step = src_areas->step; local
2822 void *src_addr = src_areas->addr; local
2823 const snd_pcm_channel_area_t *src_start = src_areas; local
2824 void *dst_addr = dst_areas->addr; local
2825 const snd_pcm_channel_area_t *dst_start = dst_areas; local
2826 int channels1 = channels; local
2827 unsigned int chns = 0; local
2843 snd_pcm_channel_area_t s, d; local
2866 dump_one_param(snd_pcm_hw_params_t *params, unsigned int k, snd_output_t *out) argument
2879 snd_pcm_hw_params_dump(snd_pcm_hw_params_t *params, snd_output_t *out) argument
2881 unsigned int k; local
2899 snd_pcm_hw_params_can_mmap_sample_resolution(const snd_pcm_hw_params_t *params) argument
2919 snd_pcm_hw_params_is_double(const snd_pcm_hw_params_t *params) argument
2939 snd_pcm_hw_params_is_batch(const snd_pcm_hw_params_t *params) argument
2959 snd_pcm_hw_params_is_block_transfer(const snd_pcm_hw_params_t *params) argument
2979 snd_pcm_hw_params_is_monotonic(const snd_pcm_hw_params_t *params) argument
2999 snd_pcm_hw_params_can_overrange(const snd_pcm_hw_params_t *params) argument
3019 snd_pcm_hw_params_can_pause(const snd_pcm_hw_params_t *params) argument
3039 snd_pcm_hw_params_can_resume(const snd_pcm_hw_params_t *params) argument
3059 snd_pcm_hw_params_is_half_duplex(const snd_pcm_hw_params_t *params) argument
3079 snd_pcm_hw_params_is_joint_duplex(const snd_pcm_hw_params_t *params) argument
3099 snd_pcm_hw_params_can_sync_start(const snd_pcm_hw_params_t *params) argument
3115 snd_pcm_hw_params_can_disable_period_wakeup(const snd_pcm_hw_params_t *params) argument
3136 snd_pcm_hw_params_get_rate_numden(const snd_pcm_hw_params_t *params, unsigned int *rate_num, unsigned int *rate_den) argument
3158 snd_pcm_hw_params_get_sbits(const snd_pcm_hw_params_t *params) argument
3177 snd_pcm_hw_params_get_fifo_size(const snd_pcm_hw_params_t *params) argument
3195 snd_pcm_hw_params_any(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) argument
3205 size_t snd_pcm_access_mask_sizeof() function
3215 snd_pcm_access_mask_malloc(snd_pcm_access_mask_t **ptr) argument
3228 snd_pcm_access_mask_free(snd_pcm_access_mask_t *obj) argument
3238 snd_pcm_access_mask_copy(snd_pcm_access_mask_t *dst, const snd_pcm_access_mask_t *src) argument
3248 snd_pcm_access_mask_none(snd_pcm_access_mask_t *mask) argument
3257 snd_pcm_access_mask_any(snd_pcm_access_mask_t *mask) argument
3267 snd_pcm_access_mask_test(const snd_pcm_access_mask_t *mask, snd_pcm_access_t val) argument
3278 snd_pcm_access_mask_empty(const snd_pcm_access_mask_t *mask) argument
3288 snd_pcm_access_mask_set(snd_pcm_access_mask_t *mask, snd_pcm_access_t val) argument
3298 snd_pcm_access_mask_reset(snd_pcm_access_mask_t *mask, snd_pcm_access_t val) argument
3307 size_t snd_pcm_format_mask_sizeof() function
3317 snd_pcm_format_mask_malloc(snd_pcm_format_mask_t **ptr) argument
3330 snd_pcm_format_mask_free(snd_pcm_format_mask_t *obj) argument
3340 snd_pcm_format_mask_copy(snd_pcm_format_mask_t *dst, const snd_pcm_format_mask_t *src) argument
3350 snd_pcm_format_mask_none(snd_pcm_format_mask_t *mask) argument
3359 snd_pcm_format_mask_any(snd_pcm_format_mask_t *mask) argument
3369 snd_pcm_format_mask_test(const snd_pcm_format_mask_t *mask, snd_pcm_format_t val) argument
3380 snd_pcm_format_mask_empty(const snd_pcm_format_mask_t *mask) argument
3390 snd_pcm_format_mask_set(snd_pcm_format_mask_t *mask, snd_pcm_format_t val) argument
3400 snd_pcm_format_mask_reset(snd_pcm_format_mask_t *mask, snd_pcm_format_t val) argument
3410 size_t snd_pcm_subformat_mask_sizeof() function
3420 snd_pcm_subformat_mask_malloc(snd_pcm_subformat_mask_t **ptr) argument
3433 snd_pcm_subformat_mask_free(snd_pcm_subformat_mask_t *obj) argument
3443 snd_pcm_subformat_mask_copy(snd_pcm_subformat_mask_t *dst, const snd_pcm_subformat_mask_t *src) argument
3453 snd_pcm_subformat_mask_none(snd_pcm_subformat_mask_t *mask) argument
3462 snd_pcm_subformat_mask_any(snd_pcm_subformat_mask_t *mask) argument
3472 snd_pcm_subformat_mask_test(const snd_pcm_subformat_mask_t *mask, snd_pcm_subformat_t val) argument
3483 snd_pcm_subformat_mask_empty(const snd_pcm_subformat_mask_t *mask) argument
3493 snd_pcm_subformat_mask_set(snd_pcm_subformat_mask_t *mask, snd_pcm_subformat_t val) argument
3503 snd_pcm_subformat_mask_reset(snd_pcm_subformat_mask_t *mask, snd_pcm_subformat_t val) argument
3513 size_t snd_pcm_hw_params_sizeof() function
3523 snd_pcm_hw_params_malloc(snd_pcm_hw_params_t **ptr) argument
3536 snd_pcm_hw_params_free(snd_pcm_hw_params_t *obj) argument
3546 snd_pcm_hw_params_copy(snd_pcm_hw_params_t *dst, const snd_pcm_hw_params_t *src) argument
3560 snd_pcm_hw_params_get_access(const snd_pcm_hw_params_t *params, snd_pcm_access_t *access) argument
3565 unsigned int _val; local
3566 int err = snd_pcm_hw_param_get(params, SND_PCM_HW_PARAM_ACCESS, &_val, NULL); local
3579 snd_pcm_hw_params_test_access(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t access) argument
3591 snd_pcm_hw_params_set_access(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t access) argument
3604 snd_pcm_hw_params_set_access_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t *access) argument
3620 snd_pcm_hw_params_set_access_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t *access) argument
3635 snd_pcm_hw_params_set_access_mask(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_mask_t *mask) argument
3645 snd_pcm_hw_params_get_access_mask(snd_pcm_hw_params_t *params, snd_pcm_access_mask_t *mask) argument
3661 snd_pcm_hw_params_get_format(const snd_pcm_hw_params_t *params, snd_pcm_format_t *format) argument
3676 snd_pcm_hw_params_test_format(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t format) argument
3688 snd_pcm_hw_params_set_format(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t format) argument
3701 snd_pcm_hw_params_set_format_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t *format) argument
3717 snd_pcm_hw_params_set_format_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t *format) argument
3732 snd_pcm_hw_params_set_format_mask(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_mask_t *mask) argument
3742 snd_pcm_hw_params_get_format_mask(snd_pcm_hw_params_t *params, snd_pcm_format_mask_t *mask) argument
3755 snd_pcm_hw_params_get_subformat(const snd_pcm_hw_params_t *params, snd_pcm_subformat_t *subformat) argument
3770 snd_pcm_hw_params_test_subformat(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_subformat_t subformat) argument
3782 snd_pcm_hw_params_set_subformat(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_subformat_t subformat) argument
3795 snd_pcm_hw_params_set_subformat_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_subformat_t *subformat) argument
3811 snd_pcm_hw_params_set_subformat_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_subformat_t *subformat) argument
3826 snd_pcm_hw_params_set_subformat_mask(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_subformat_mask_t *mask) argument
3836 snd_pcm_hw_params_get_subformat_mask(snd_pcm_hw_params_t *params, snd_pcm_subformat_mask_t *mask) argument
3849 snd_pcm_hw_params_get_channels(const snd_pcm_hw_params_t *params, unsigned int *val) argument
3864 snd_pcm_hw_params_get_channels_min(const snd_pcm_hw_params_t *params, unsigned int *val) argument
3879 snd_pcm_hw_params_get_channels_max(const snd_pcm_hw_params_t *params, unsigned int *val) argument
3894 snd_pcm_hw_params_test_channels(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val) argument
3906 snd_pcm_hw_params_set_channels(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val) argument
3918 snd_pcm_hw_params_set_channels_min(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val) argument
3930 snd_pcm_hw_params_set_channels_max(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val) argument
3943 snd_pcm_hw_params_set_channels_minmax(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *min, unsigned int *max) argument
3956 snd_pcm_hw_params_set_channels_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val) argument
3972 snd_pcm_hw_params_set_channels_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val) argument
3988 snd_pcm_hw_params_set_channels_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val) argument
4007 snd_pcm_hw_params_get_rate(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4025 snd_pcm_hw_params_get_rate_min(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4043 snd_pcm_hw_params_get_rate_max(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4061 snd_pcm_hw_params_test_rate(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir) argument
4076 snd_pcm_hw_params_set_rate(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir) argument
4091 snd_pcm_hw_params_set_rate_min(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4106 snd_pcm_hw_params_set_rate_max(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4123 snd_pcm_hw_params_set_rate_minmax(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *min, int *mindir, unsigned int *max, int *maxdir) argument
4139 snd_pcm_hw_params_set_rate_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4158 snd_pcm_hw_params_set_rate_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4177 snd_pcm_hw_params_set_rate_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4192 snd_pcm_hw_params_set_rate_resample(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val) argument
4210 snd_pcm_hw_params_get_rate_resample(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val) argument
4224 snd_pcm_hw_params_set_export_buffer(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val) argument
4242 snd_pcm_hw_params_get_export_buffer(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val) argument
4271 snd_pcm_hw_params_set_period_wakeup(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val) argument
4293 snd_pcm_hw_params_get_period_wakeup(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val) argument
4310 snd_pcm_hw_params_get_period_time(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4328 snd_pcm_hw_params_get_period_time_min(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4346 snd_pcm_hw_params_get_period_time_max(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4364 snd_pcm_hw_params_test_period_time(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir) argument
4379 snd_pcm_hw_params_set_period_time(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir) argument
4395 snd_pcm_hw_params_set_period_time_min(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4410 snd_pcm_hw_params_set_period_time_max(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4427 snd_pcm_hw_params_set_period_time_minmax(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *min, int *mindir, unsigned int *max, int *maxdir) argument
4443 snd_pcm_hw_params_set_period_time_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4462 snd_pcm_hw_params_set_period_time_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4479 snd_pcm_hw_params_set_period_time_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4498 snd_pcm_hw_params_get_period_size(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val, int *dir) argument
4503 unsigned int _val; local
4504 int err = snd_pcm_hw_param_get(params, SND_PCM_HW_PARAM_PERIOD_SIZE, &_val, dir); local
4520 snd_pcm_hw_params_get_period_size_min(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val, int *dir) argument
4525 unsigned int _val = *val; local
4526 int err = snd_pcm_hw_param_get_min(params, SND_PCM_HW_PARAM_PERIOD_SIZE, &_val, dir); local
4542 snd_pcm_hw_params_get_period_size_max(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val, int *dir) argument
4547 unsigned int _val = *val; local
4548 int err = snd_pcm_hw_param_get_max(params, SND_PCM_HW_PARAM_PERIOD_SIZE, &_val, dir); local
4564 snd_pcm_hw_params_test_period_size(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t val, int dir) argument
4579 snd_pcm_hw_params_set_period_size(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t val, int dir) argument
4594 snd_pcm_hw_params_set_period_size_min(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val, int *dir) argument
4596 unsigned int _val = *val; local
4597 int err = snd_pcm_hw_param_set_min(pcm, params, SND_TRY, SND_PCM_HW_PARAM_PERIOD_SIZE, &_val, dir); local
4613 snd_pcm_hw_params_set_period_size_max(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val, int *dir) argument
4615 unsigned int _val = *val; local
4616 int err = snd_pcm_hw_param_set_max(pcm, params, SND_TRY, SND_PCM_HW_PARAM_PERIOD_SIZE, &_val, dir); local
4634 snd_pcm_hw_params_set_period_size_minmax(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *min, int *mindir, snd_pcm_uframes_t *max, int *maxdir) argument
4636 unsigned int _min = *min; local
4637 unsigned int _max = *max; local
4638 int err = snd_pcm_hw_param_set_minmax(pcm, params, SND_TRY, SND_PCM_HW_PARAM_PERIOD_SIZE, &_min, mindir, &_max, maxdir); local
4655 snd_pcm_hw_params_set_period_size_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val, int *dir) argument
4660 unsigned int _val = *val; local
4661 int err = snd_pcm_hw_param_set_near(pcm, params, SND_PCM_HW_PARAM_PERIOD_SIZE, &_val, dir); local
4678 snd_pcm_hw_params_set_period_size_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val, int *dir) argument
4683 unsigned int _val; local
4684 int err = snd_pcm_hw_param_set_first(pcm, params, SND_PCM_HW_PARAM_PERIOD_SIZE, &_val, dir); local
4701 snd_pcm_hw_params_set_period_size_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val, int *dir) argument
4706 unsigned int _val; local
4707 int err = snd_pcm_hw_param_set_last(pcm, params, SND_PCM_HW_PARAM_PERIOD_SIZE, &_val, dir); local
4719 snd_pcm_hw_params_set_period_size_integer(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) argument
4735 snd_pcm_hw_params_get_periods(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4753 snd_pcm_hw_params_get_periods_min(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4771 snd_pcm_hw_params_get_periods_max(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4789 snd_pcm_hw_params_test_periods(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir) argument
4804 snd_pcm_hw_params_set_periods(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir) argument
4819 snd_pcm_hw_params_set_periods_min(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4834 snd_pcm_hw_params_set_periods_max(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4851 snd_pcm_hw_params_set_periods_minmax(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *min, int *mindir, unsigned int *max, int *maxdir) argument
4867 snd_pcm_hw_params_set_periods_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4886 snd_pcm_hw_params_set_periods_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4905 snd_pcm_hw_params_set_periods_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4919 snd_pcm_hw_params_set_periods_integer(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) argument
4935 snd_pcm_hw_params_get_buffer_time(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4953 snd_pcm_hw_params_get_buffer_time_min(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4971 snd_pcm_hw_params_get_buffer_time_max(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
4989 snd_pcm_hw_params_test_buffer_time(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir) argument
5004 snd_pcm_hw_params_set_buffer_time(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir) argument
5019 snd_pcm_hw_params_set_buffer_time_min(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
5034 snd_pcm_hw_params_set_buffer_time_max(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
5051 snd_pcm_hw_params_set_buffer_time_minmax(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *min, int *mindir, unsigned int *max, int *maxdir) argument
5067 snd_pcm_hw_params_set_buffer_time_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
5086 snd_pcm_hw_params_set_buffer_time_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
5105 snd_pcm_hw_params_set_buffer_time_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir) argument
5121 snd_pcm_hw_params_get_buffer_size(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val) argument
5126 unsigned int _val; local
5127 int err = snd_pcm_hw_param_get(params, SND_PCM_HW_PARAM_BUFFER_SIZE, &_val, NULL); local
5140 snd_pcm_hw_params_get_buffer_size_min(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val) argument
5145 unsigned int _val; local
5146 int err = snd_pcm_hw_param_get_min(params, SND_PCM_HW_PARAM_BUFFER_SIZE, &_val, NULL); local
5161 snd_pcm_hw_params_get_buffer_size_max(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val) argument
5166 unsigned int _val; local
5167 int err = snd_pcm_hw_param_get_max(params, SND_PCM_HW_PARAM_BUFFER_SIZE, &_val, NULL); local
5182 snd_pcm_hw_params_test_buffer_size(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t val) argument
5196 snd_pcm_hw_params_set_buffer_size(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t val) argument
5208 snd_pcm_hw_params_set_buffer_size_min(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val) argument
5210 unsigned int _val = *val; local
5211 int err = snd_pcm_hw_param_set_min(pcm, params, SND_TRY, SND_PCM_HW_PARAM_BUFFER_SIZE, &_val, NULL); local
5224 snd_pcm_hw_params_set_buffer_size_max(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val) argument
5226 unsigned int _val = *val; local
5227 int err = snd_pcm_hw_param_set_max(pcm, params, SND_TRY, SND_PCM_HW_PARAM_BUFFER_SIZE, &_val, NULL); local
5241 snd_pcm_hw_params_set_buffer_size_minmax(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *min, snd_pcm_uframes_t *max) argument
5243 unsigned int _min = *min; local
5244 unsigned int _max = *max; local
5245 int err = snd_pcm_hw_param_set_minmax(pcm, params, SND_TRY, SND_PCM_HW_PARAM_BUFFER_SIZE, &_min, NULL, &_max, NULL); local
5259 snd_pcm_hw_params_set_buffer_size_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val) argument
5264 unsigned int _val = *val; local
5265 int err = snd_pcm_hw_param_set_near(pcm, params, SND_PCM_HW_PARAM_BUFFER_SIZE, &_val, NULL); local
5279 snd_pcm_hw_params_set_buffer_size_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val) argument
5284 unsigned int _val; local
5285 int err = snd_pcm_hw_param_set_first(pcm, params, SND_PCM_HW_PARAM_BUFFER_SIZE, &_val, NULL); local
5299 snd_pcm_hw_params_set_buffer_size_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val) argument
5304 unsigned int _val; local
5305 int err = snd_pcm_hw_param_set_last(pcm, params, SND_PCM_HW_PARAM_BUFFER_SIZE, &_val, NULL); local
5322 snd_pcm_hw_params_get_tick_time(const snd_pcm_hw_params_t *params ATTRIBUTE_UNUSED, unsigned int *val, int *dir ATTRIBUTE_UNUSED) argument
5341 snd_pcm_hw_params_get_tick_time_min(const snd_pcm_hw_params_t *params ATTRIBUTE_UNUSED, unsigned int *val, int *dir ATTRIBUTE_UNUSED) argument
5360 snd_pcm_hw_params_get_tick_time_max(const snd_pcm_hw_params_t *params ATTRIBUTE_UNUSED, unsigned int *val, int *dir ATTRIBUTE_UNUSED) argument
5379 snd_pcm_hw_params_test_tick_time(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params ATTRIBUTE_UNUSED, unsigned int val, int dir ATTRIBUTE_UNUSED) argument
5394 snd_pcm_hw_params_set_tick_time(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params ATTRIBUTE_UNUSED, unsigned int val ATTRIBUTE_UNUSED, int dir ATTRIBUTE_UNUSED) argument
5409 snd_pcm_hw_params_set_tick_time_min(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params ATTRIBUTE_UNUSED, unsigned int *val ATTRIBUTE_UNUSED, int *dir ATTRIBUTE_UNUSED) argument
5424 snd_pcm_hw_params_set_tick_time_max(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params ATTRIBUTE_UNUSED, unsigned int *val ATTRIBUTE_UNUSED, int *dir ATTRIBUTE_UNUSED) argument
5441 snd_pcm_hw_params_set_tick_time_minmax(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params ATTRIBUTE_UNUSED, unsigned int *min ATTRIBUTE_UNUSED, int *mindir ATTRIBUTE_UNUSED, unsigned int *max ATTRIBUTE_UNUSED, int *maxdir ATTRIBUTE_UNUSED) argument
5457 snd_pcm_hw_params_set_tick_time_near(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params ATTRIBUTE_UNUSED, unsigned int *val ATTRIBUTE_UNUSED, int *dir ATTRIBUTE_UNUSED) argument
5476 snd_pcm_hw_params_set_tick_time_first(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params ATTRIBUTE_UNUSED, unsigned int *val ATTRIBUTE_UNUSED, int *dir ATTRIBUTE_UNUSED) argument
5495 snd_pcm_hw_params_set_tick_time_last(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params ATTRIBUTE_UNUSED, unsigned int *val ATTRIBUTE_UNUSED, int *dir ATTRIBUTE_UNUSED) argument
5509 snd_pcm_hw_params_get_min_align(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val) argument
5511 unsigned int format, channels, fb, min_align; local
5512 int err; local
5538 snd_pcm_sw_params_current(snd_pcm_t *pcm, snd_pcm_sw_params_t *params) argument
5565 snd_pcm_sw_params_dump(snd_pcm_sw_params_t *params, snd_output_t *out) argument
5582 size_t snd_pcm_sw_params_sizeof() function
5592 snd_pcm_sw_params_malloc(snd_pcm_sw_params_t **ptr) argument
5605 snd_pcm_sw_params_free(snd_pcm_sw_params_t *obj) argument
5615 snd_pcm_sw_params_copy(snd_pcm_sw_params_t *dst, const snd_pcm_sw_params_t *src) argument
5627 snd_pcm_sw_params_get_boundary(const snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val) argument
5641 snd_pcm_sw_params_set_start_mode(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, snd_pcm_start_t val) argument
5667 snd_pcm_sw_params_get_start_mode(const snd_pcm_sw_params_t *params) argument
5686 snd_pcm_sw_params_set_xrun_mode(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_sw_params_t *params, snd_pcm_xrun_t val) argument
5715 snd_pcm_sw_params_get_xrun_mode(const snd_pcm_sw_params_t *params) argument
5734 snd_pcm_sw_params_set_tstamp_mode(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_sw_params_t *params, snd_pcm_tstamp_t val) argument
5755 snd_pcm_sw_params_get_tstamp_mode(const snd_pcm_sw_params_t *params, snd_pcm_tstamp_t *val) argument
5773 snd_pcm_sw_params_set_sleep_min(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_sw_params_t *params ATTRIBUTE_UNUSED, unsigned int val ATTRIBUTE_UNUSED) argument
5788 snd_pcm_sw_params_get_sleep_min(const snd_pcm_sw_params_t *params ATTRIBUTE_UNUSED, unsigned int *val) argument
5812 snd_pcm_sw_params_set_avail_min(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_sw_params_t *params, snd_pcm_uframes_t val) argument
5835 snd_pcm_sw_params_get_avail_min(const snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val) argument
5854 snd_pcm_sw_params_set_period_event(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, int val) argument
5867 snd_pcm_sw_params_get_period_event(const snd_pcm_sw_params_t *params, int *val) argument
5882 snd_pcm_sw_params_set_xfer_align(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_sw_params_t *params ATTRIBUTE_UNUSED, snd_pcm_uframes_t val ATTRIBUTE_UNUSED) argument
5897 snd_pcm_sw_params_get_xfer_align(const snd_pcm_sw_params_t *params ATTRIBUTE_UNUSED, snd_pcm_uframes_t *val) argument
5917 snd_pcm_sw_params_set_start_threshold(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_sw_params_t *params, snd_pcm_uframes_t val) argument
5937 snd_pcm_sw_params_get_start_threshold(const snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val) argument
5961 snd_pcm_sw_params_set_stop_threshold(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_sw_params_t *params, snd_pcm_uframes_t val) argument
5983 snd_pcm_sw_params_get_stop_threshold(const snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val) argument
6006 snd_pcm_sw_params_set_silence_threshold(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_sw_params_t *params, snd_pcm_uframes_t val) argument
6032 snd_pcm_sw_params_get_silence_threshold(const snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val) argument
6060 snd_pcm_sw_params_set_silence_size(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_sw_params_t *params, snd_pcm_uframes_t val) argument
6086 snd_pcm_sw_params_get_silence_size(const snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val) argument
6101 size_t snd_pcm_status_sizeof() function
6111 snd_pcm_status_malloc(snd_pcm_status_t **ptr) argument
6124 snd_pcm_status_free(snd_pcm_status_t *obj) argument
6134 snd_pcm_status_copy(snd_pcm_status_t *dst, const snd_pcm_status_t *src) argument
6145 snd_pcm_status_get_state(const snd_pcm_status_t *obj) argument
6160 snd_pcm_status_get_trigger_tstamp(const snd_pcm_status_t *obj, snd_timestamp_t *ptr) argument
6177 snd_pcm_status_get_trigger_htstamp(const snd_pcm_status_t *obj, snd_htimestamp_t *ptr) argument
6192 snd_pcm_status_get_tstamp(const snd_pcm_status_t *obj, snd_timestamp_t *ptr) argument
6205 snd_pcm_status_get_htstamp(const snd_pcm_status_t *obj, snd_htimestamp_t *ptr) argument
6225 snd_pcm_status_get_delay(const snd_pcm_status_t *obj) argument
6235 snd_pcm_status_get_avail(const snd_pcm_status_t *obj) argument
6245 snd_pcm_status_get_avail_max(const snd_pcm_status_t *obj) argument
6255 snd_pcm_status_get_overrange(const snd_pcm_status_t *obj) argument
6265 size_t snd_pcm_info_sizeof() function
6275 snd_pcm_info_malloc(snd_pcm_info_t **ptr) argument
6288 snd_pcm_info_free(snd_pcm_info_t *obj) argument
6298 snd_pcm_info_copy(snd_pcm_info_t *dst, const snd_pcm_info_t *src) argument
6309 snd_pcm_info_get_device(const snd_pcm_info_t *obj) argument
6320 snd_pcm_info_get_subdevice(const snd_pcm_info_t *obj) argument
6331 snd_pcm_info_get_stream(const snd_pcm_info_t *obj) argument
6342 snd_pcm_info_get_card(const snd_pcm_info_t *obj) argument
6353 snd_pcm_info_get_id(const snd_pcm_info_t *obj) argument
6364 snd_pcm_info_get_name(const snd_pcm_info_t *obj) argument
6375 snd_pcm_info_get_subdevice_name(const snd_pcm_info_t *obj) argument
6386 snd_pcm_info_get_class(const snd_pcm_info_t *obj) argument
6397 snd_pcm_info_get_subclass(const snd_pcm_info_t *obj) argument
6408 snd_pcm_info_get_subdevices_count(const snd_pcm_info_t *obj) argument
6419 snd_pcm_info_get_subdevices_avail(const snd_pcm_info_t *obj) argument
6430 snd_pcm_info_get_sync(const snd_pcm_info_t *obj) argument
6432 snd_pcm_sync_id_t res; local
6443 snd_pcm_info_set_device(snd_pcm_info_t *obj, unsigned int val) argument
6454 snd_pcm_info_set_subdevice(snd_pcm_info_t *obj, unsigned int val) argument
6465 snd_pcm_info_set_stream(snd_pcm_info_t *obj, snd_pcm_stream_t val) argument
6489 snd_pcm_mmap_begin(snd_pcm_t *pcm, const snd_pcm_channel_area_t **areas, snd_pcm_uframes_t *offset, snd_pcm_uframes_t *frames) argument
6494 snd_pcm_uframes_t cont; local
6495 snd_pcm_uframes_t f; local
6496 snd_pcm_uframes_t avail; local
6497 const snd_pcm_channel_area_t *xareas; local
6569 snd_pcm_mmap_commit(snd_pcm_t *pcm, snd_pcm_uframes_t offset, snd_pcm_uframes_t frames) argument
6589 _snd_pcm_poll_descriptor(snd_pcm_t *pcm) argument
6595 snd_pcm_areas_from_buf(snd_pcm_t *pcm, snd_pcm_channel_area_t *areas, void *buf) argument
6598 unsigned int channel; local
6599 unsigned int channels = pcm->channels; local
6607 snd_pcm_areas_from_bufs(snd_pcm_t *pcm, snd_pcm_channel_area_t *areas, void **bufs) argument
6610 unsigned int channel; local
6611 unsigned int channels = pcm->channels; local
6619 snd_pcm_read_areas(snd_pcm_t *pcm, const snd_pcm_channel_area_t *areas, snd_pcm_uframes_t offset, snd_pcm_uframes_t size, snd_pcm_xfer_areas_func_t func) argument
6623 snd_pcm_uframes_t xfer = 0; local
6624 snd_pcm_sframes_t err = 0; local
6625 snd_pcm_state_t state; local
6631 snd_pcm_uframes_t frames; local
6632 snd_pcm_sframes_t avail; local
6698 snd_pcm_write_areas(snd_pcm_t *pcm, const snd_pcm_channel_area_t *areas, snd_pcm_uframes_t offset, snd_pcm_uframes_t size, snd_pcm_xfer_areas_func_t func) argument
6702 snd_pcm_uframes_t xfer = 0; local
6703 snd_pcm_sframes_t err = 0; local
6704 snd_pcm_state_t state; local
6710 snd_pcm_uframes_t frames; local
6711 snd_pcm_sframes_t avail; local
6764 snd_pcm_sframes_t hw_avail = pcm->buffer_size - avail; local
6783 _snd_pcm_mmap_hw_ptr(snd_pcm_t *pcm) argument
6788 _snd_pcm_boundary(snd_pcm_t *pcm) argument
6798 static const char *const names[SND_PCM_HW_PARAM_LAST_INTERVAL + 1] = { variable
6809 snd_pcm_slave_conf(snd_config_t *root, snd_config_t *conf, snd_config_t **_pcm_conf, unsigned int count, ...) argument
6812 snd_config_iterator_t i, next; local
6813 const char *str; local
6815 unsigned int index; member in struct:__anon1454
6816 int flags; member in struct:__anon1454
6817 void *ptr; member in struct:__anon1454
6818 int present; member in struct:__anon1454
6819 } fields[count]; local
6820 unsigned int k; local
6821 snd_config_t *pcm_conf = NULL; local
6822 int err; local
6823 int to_free = 0; local
6824 va_list args; local
6849 snd_config_for_each(i, next, conf) { function
6850 snd_config_t *n = snd_config_iterator_entry(i); local
6851 const char *id; local
6864 unsigned int idx = fields[k].index; local
6865 long v; local
6873 snd_pcm_format_t f; local
6942 snd_pcm_conf_generic_id(const char *id) argument
6944 static const char ids[3][8] = { "comment", "type", "hint" }; local
6945 unsigned int k; local
6953 snd_pcm_set_ptr(snd_pcm_t *pcm, snd_pcm_rbptr_t *rbptr, volatile snd_pcm_uframes_t *hw_ptr, int fd, off_t offset) argument
6964 snd_pcm_set_hw_ptr(snd_pcm_t *pcm, volatile snd_pcm_uframes_t *hw_ptr, int fd, off_t offset) argument
6971 snd_pcm_set_appl_ptr(snd_pcm_t *pcm, volatile snd_pcm_uframes_t *appl_ptr, int fd, off_t offset) argument
6978 snd_pcm_link_ptr(snd_pcm_t *pcm, snd_pcm_rbptr_t *pcm_rbptr, snd_pcm_t *slave, snd_pcm_rbptr_t *slave_rbptr) argument
6981 snd_pcm_t **a; local
6982 int idx; local
7008 snd_pcm_unlink_ptr(snd_pcm_t *pcm, snd_pcm_rbptr_t *pcm_rbptr, snd_pcm_t *slave, snd_pcm_rbptr_t *slave_rbptr) argument
7011 snd_pcm_t **a; local
7012 int idx; local
7033 snd_pcm_link_hw_ptr(snd_pcm_t *pcm, snd_pcm_t *slave) argument
7040 snd_pcm_link_appl_ptr(snd_pcm_t *pcm, snd_pcm_t *slave) argument
7047 snd_pcm_unlink_hw_ptr(snd_pcm_t *pcm, snd_pcm_t *slave) argument
7054 snd_pcm_unlink_appl_ptr(snd_pcm_t *pcm, snd_pcm_t *slave) argument
7071 #define OBSOLETE1 macro
7077 #define OBSOLETE1 macro
7082 #define __P_OLD_GET macro
7091 #define __P_OLD_GET1 macro
7100 #define __OLD_GET macro
7101 #define __OLD_GET1 macro
7133 #define __P_OLD_NEAR macro
7141 #define __P_OLD_NEAR1 macro
7149 #define __OLD_NEAR macro
7150 #define __OLD_NEAR1 macro
7161 #define __P_OLD_SET_FL macro
7170 #define __P_OLD_SET_FL1 macro
7179 #define __OLD_SET_FL macro
7180 #define __OLD_SET_FL1 macro
7206 #define __P_OLD_GET_SW macro
7215 #define __OLD_GET_SW macro
7326 snd_pcm_recover(snd_pcm_t *pcm, int err, int silent) argument
7333 const char *s; local
7374 snd_pcm_set_params(snd_pcm_t *pcm, snd_pcm_format_t format, snd_pcm_access_t access, unsigned int channels, unsigned int rate, int soft_resample, unsigned int latency) argument
7382 snd_pcm_hw_params_t *params; local
7383 snd_pcm_sw_params_t *swparams; local
7384 const char *s = snd_pcm_stream_name(snd_pcm_stream(pcm)); local
7385 snd_pcm_uframes_t buffer_size, period_size; local
7386 unsigned int rrate, period_time; local
7387 int err; local
7528 snd_pcm_get_params(snd_pcm_t *pcm, snd_pcm_uframes_t *buffer_size, snd_pcm_uframes_t *period_size) argument
7532 snd_pcm_hw_params_t *hw; local
7533 int err; local
[all...]
H A Dpcm_adpcm.c67 const char *_snd_module_pcm_adpcm = ""; variable
72 typedef void (*adpcm_f)(const snd_pcm_channel_area_t *dst_areas, typedef
82 snd_pcm_plugin_t plug; member in struct:__anon1455
83 unsigned int getput_idx; member in struct:__anon1455
84 adpcm_f func; member in struct:__anon1455
85 snd_pcm_format_t sformat; member in struct:__anon1455
86 snd_pcm_adpcm_state_t *states; member in struct:__anon1455
87 } snd_pcm_adpcm_t; typedef in typeref:struct:__anon1455
92 static const char IndexAdjust[8] = { -1, -1, -1, -1, 2, 4, 6, 8 }; variable
95 static const short StepSize[89] = { variable
107 adpcm_encoder(int sl, snd_pcm_adpcm_state_t * state) argument
109 short diff; /* Difference between sl and predicted sample */ local
110 short pred_diff; /* Predicted difference to next sample */ local
112 unsigned char sign; /* sign of diff */ local
113 short step; /* holds previous StepSize value */ local
114 unsigned char adjust_idx; /* Index to IndexAdjust lookup table */ local
116 int i; local
168 adpcm_decoder(unsigned char code, snd_pcm_adpcm_state_t * state) argument
170 short pred_diff; /* Predicted difference to next sample */ local
171 short step; /* holds previous StepSize value */ local
172 char sign; local
174 int i; local
216 snd_pcm_adpcm_decode(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int channels, snd_pcm_uframes_t frames, unsigned int putidx, snd_pcm_adpcm_state_t *states) argument
224 #define PUT16_LABELS macro
226 #undef PUT16_LABELS macro
227 void *put = put16_labels[putidx]; local
228 unsigned int channel; local
230 const char *src; local
231 int srcbit; local
232 char *dst; local
233 int src_step, srcbit_step, dst_step; local
234 snd_pcm_uframes_t frames1; local
235 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; local
236 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; local
246 int16_t sample; local
247 unsigned char v; local
254 #define PUT16_END macro
256 #undef PUT16_END macro
269 snd_pcm_adpcm_encode(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int channels, snd_pcm_uframes_t frames, unsigned int getidx, snd_pcm_adpcm_state_t *states) argument
277 #define GET16_LABELS macro
279 #undef GET16_LABELS macro
280 void *get = get16_labels[getidx]; local
281 unsigned int channel; local
282 int16_t sample = 0; local
284 const char *src; local
285 char *dst; local
286 int dstbit; local
287 int src_step, dst_step, dstbit_step; local
288 snd_pcm_uframes_t frames1; local
289 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; local
290 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; local
300 int v; local
302 #define GET16_END macro
304 #undef GET16_END macro
324 snd_pcm_adpcm_hw_refine_cprepare(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) argument
326 snd_pcm_adpcm_t *adpcm = pcm->private_data; local
327 int err; local
328 snd_pcm_access_mask_t access_mask = { SND_PCM_ACCBIT_SHM }; local
334 snd_pcm_format_mask_t format_mask = { SND_PCM_FMTBIT_LINEAR }; local
351 snd_pcm_adpcm_hw_refine_sprepare(snd_pcm_t *pcm, snd_pcm_hw_params_t *sparams) argument
353 snd_pcm_adpcm_t *adpcm = pcm->private_data; local
354 snd_pcm_access_mask_t saccess_mask = { SND_PCM_ACCBIT_MMAP }; local
363 snd_pcm_adpcm_hw_refine_schange(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params, snd_pcm_hw_params_t *sparams) argument
366 int err; local
367 unsigned int links = (SND_PCM_HW_PARBIT_CHANNELS | local
381 snd_pcm_adpcm_hw_refine_cchange(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params, snd_pcm_hw_params_t *sparams) argument
384 int err; local
385 unsigned int links = (SND_PCM_HW_PARBIT_CHANNELS | local
399 snd_pcm_adpcm_hw_refine(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) argument
409 snd_pcm_adpcm_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t * params) argument
411 snd_pcm_adpcm_t *adpcm = pcm->private_data; local
412 snd_pcm_format_t format; local
413 int err = snd_pcm_hw_params_slave(pcm, params, local
449 snd_pcm_adpcm_hw_free(snd_pcm_t *pcm) argument
451 snd_pcm_adpcm_t *adpcm = pcm->private_data; local
457 snd_pcm_adpcm_init(snd_pcm_t *pcm) argument
459 snd_pcm_adpcm_t *adpcm = pcm->private_data; local
460 unsigned int k; local
469 snd_pcm_adpcm_write_areas(snd_pcm_t *pcm, const snd_pcm_channel_area_t *areas, snd_pcm_uframes_t offset, snd_pcm_uframes_t size, const snd_pcm_channel_area_t *slave_areas, snd_pcm_uframes_t slave_offset, snd_pcm_uframes_t *slave_sizep) argument
477 snd_pcm_adpcm_t *adpcm = pcm->private_data; local
489 snd_pcm_adpcm_read_areas(snd_pcm_t *pcm, const snd_pcm_channel_area_t *areas, snd_pcm_uframes_t offset, snd_pcm_uframes_t size, const snd_pcm_channel_area_t *slave_areas, snd_pcm_uframes_t slave_offset, snd_pcm_uframes_t *slave_sizep) argument
497 snd_pcm_adpcm_t *adpcm = pcm->private_data; local
508 snd_pcm_adpcm_dump(snd_pcm_t *pcm, snd_output_t *out) argument
510 snd_pcm_adpcm_t *adpcm = pcm->private_data; local
521 static const snd_pcm_ops_t snd_pcm_adpcm_ops = { variable
548 snd_pcm_adpcm_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave) argument
550 snd_pcm_t *pcm; local
551 snd_pcm_adpcm_t *adpcm; local
552 int err; local
631 _snd_pcm_adpcm_open(snd_pcm_t **pcmp, const char *name, snd_config_t *root, snd_config_t *conf, snd_pcm_stream_t stream, int mode) argument
635 snd_config_iterator_t i, next; local
636 int err; local
637 snd_pcm_t *spcm; local
638 snd_config_t *slave = NULL, *sconf; local
639 snd_pcm_format_t sformat; local
640 snd_config_for_each(i, next, conf) { function
641 snd_config_t *n = snd_config_iterator_entry(i); local
642 const char *id; local
[all...]
H A Dpcm_alaw.c37 const char *_snd_module_pcm_alaw = ""; variable
42 typedef void (*alaw_f)(const snd_pcm_channel_area_t *dst_areas, typedef
51 snd_pcm_plugin_t plug; member in struct:__anon1456
52 unsigned int getput_idx; member in struct:__anon1456
53 alaw_f func; member in struct:__anon1456
54 snd_pcm_format_t sformat; member in struct:__anon1456
55 } snd_pcm_alaw_t; typedef in typeref:struct:__anon1456
59 val_seg(int val) argument
61 int r = 1; local
96 s16_to_alaw(int pcm_val) argument
98 int mask; local
99 int seg; local
100 unsigned char aval; local
125 alaw_to_s16(unsigned char a_val) argument
127 int t; local
128 int seg; local
144 snd_pcm_alaw_decode(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int channels, snd_pcm_uframes_t frames, unsigned int putidx) argument
151 #define PUT16_LABELS macro
153 #undef PUT16_LABELS macro
154 void *put = put16_labels[putidx]; local
155 unsigned int channel; local
157 const unsigned char *src; local
158 char *dst; local
159 int src_step, dst_step; local
160 snd_pcm_uframes_t frames1; local
161 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; local
162 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; local
169 int16_t sample = alaw_to_s16(*src); local
171 #define PUT16_END macro
173 #undef PUT16_END macro
181 snd_pcm_alaw_encode(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int channels, snd_pcm_uframes_t frames, unsigned int getidx) argument
188 #define GET16_LABELS macro
190 #undef GET16_LABELS macro
191 void *get = get16_labels[getidx]; local
192 unsigned int channel; local
193 int16_t sample = 0; local
195 const char *src; local
196 char *dst; local
197 int src_step, dst_step; local
198 snd_pcm_uframes_t frames1; local
199 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; local
200 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; local
208 #define GET16_END macro
210 #undef GET16_END macro
221 snd_pcm_alaw_hw_refine_cprepare(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) argument
223 snd_pcm_alaw_t *alaw = pcm->private_data; local
224 int err; local
225 snd_pcm_access_mask_t access_mask = { SND_PCM_ACCBIT_SHM }; local
231 snd_pcm_format_mask_t format_mask = { SND_PCM_FMTBIT_LINEAR }; local
247 snd_pcm_alaw_hw_refine_sprepare(snd_pcm_t *pcm, snd_pcm_hw_params_t *sparams) argument
249 snd_pcm_alaw_t *alaw = pcm->private_data; local
250 snd_pcm_access_mask_t saccess_mask = { SND_PCM_ACCBIT_MMAP }; local
259 snd_pcm_alaw_hw_refine_schange(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params, snd_pcm_hw_params_t *sparams) argument
262 int err; local
263 unsigned int links = (SND_PCM_HW_PARBIT_CHANNELS | local
277 snd_pcm_alaw_hw_refine_cchange(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params, snd_pcm_hw_params_t *sparams) argument
280 int err; local
281 unsigned int links = (SND_PCM_HW_PARBIT_CHANNELS | local
295 snd_pcm_alaw_hw_refine(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) argument
305 snd_pcm_alaw_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t * params) argument
307 snd_pcm_alaw_t *alaw = pcm->private_data; local
308 snd_pcm_format_t format; local
309 int err = snd_pcm_hw_params_slave(pcm, params, local
342 snd_pcm_alaw_write_areas(snd_pcm_t *pcm, const snd_pcm_channel_area_t *areas, snd_pcm_uframes_t offset, snd_pcm_uframes_t size, const snd_pcm_channel_area_t *slave_areas, snd_pcm_uframes_t slave_offset, snd_pcm_uframes_t *slave_sizep) argument
350 snd_pcm_alaw_t *alaw = pcm->private_data; local
362 snd_pcm_alaw_read_areas(snd_pcm_t *pcm, const snd_pcm_channel_area_t *areas, snd_pcm_uframes_t offset, snd_pcm_uframes_t size, const snd_pcm_channel_area_t *slave_areas, snd_pcm_uframes_t slave_offset, snd_pcm_uframes_t *slave_sizep) argument
370 snd_pcm_alaw_t *alaw = pcm->private_data; local
381 snd_pcm_alaw_dump(snd_pcm_t *pcm, snd_output_t *out) argument
383 snd_pcm_alaw_t *alaw = pcm->private_data; local
394 static const snd_pcm_ops_t snd_pcm_alaw_ops = { variable
421 snd_pcm_alaw_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave) argument
423 snd_pcm_t *pcm; local
424 snd_pcm_alaw_t *alaw; local
425 int err; local
505 _snd_pcm_alaw_open(snd_pcm_t **pcmp, const char *name, snd_config_t *root, snd_config_t *conf, snd_pcm_stream_t stream, int mode) argument
509 snd_config_iterator_t i, next; local
510 int err; local
511 snd_pcm_t *spcm; local
512 snd_config_t *slave = NULL, *sconf; local
513 snd_pcm_format_t sformat; local
514 snd_config_for_each(i, next, conf) { function
515 snd_config_t *n = snd_config_iterator_entry(i); local
516 const char *id; local
[all...]
H A Dpcm_asym.c13 const char *_snd_module_pcm_asym = ""; variable
77 _snd_pcm_asym_open(snd_pcm_t **pcmp, const char *name ATTRIBUTE_UNUSED, snd_config_t *root, snd_config_t *conf, snd_pcm_stream_t stream, int mode) argument
81 snd_config_iterator_t i, next; local
82 int err; local
83 snd_config_t *slave = NULL, *sconf; local
84 snd_config_for_each(i, next, conf) { function
85 snd_config_t *n = snd_config_iterator_entry(i); local
86 const char *id; local
[all...]

Completed in 1675 milliseconds

<<21222324252627282930>>