Home
last modified time | relevance | path

Searched refs:mixer (Results 1 – 8 of 8) sorted by relevance

/external/tinyalsa/
Dmixer.c48 struct mixer *mixer; member
53 struct mixer { struct
61 void mixer_close(struct mixer *mixer) in mixer_close() argument
65 if (!mixer) in mixer_close()
68 if (mixer->fd >= 0) in mixer_close()
69 close(mixer->fd); in mixer_close()
71 if (mixer->ctl) { in mixer_close()
72 for (n = 0; n < mixer->count; n++) { in mixer_close()
73 if (mixer->ctl[n].ename) { in mixer_close()
74 unsigned int max = mixer->ctl[n].info->value.enumerated.items; in mixer_close()
[all …]
Dtinymix.c35 static void tinymix_list_controls(struct mixer *mixer);
36 static void tinymix_detail_control(struct mixer *mixer, const char *control,
38 static void tinymix_set_value(struct mixer *mixer, const char *control,
44 struct mixer *mixer; in main() local
58 mixer = mixer_open(card); in main()
59 if (!mixer) { in main()
66 printf("Mixer name: '%s'\n", mixer_get_name(mixer)); in main()
67 tinymix_list_controls(mixer); in main()
69 tinymix_detail_control(mixer, argv[1], 1); in main()
71 tinymix_set_value(mixer, argv[1], &argv[2], argc - 2); in main()
[all …]
DAndroid.mk5 LOCAL_SRC_FILES:= mixer.c pcm.c
15 LOCAL_SRC_FILES:= mixer.c pcm.c
DREADME5 - Provide a basic pcm and mixer API
/external/tinyalsa/include/tinyalsa/
Dasoundlib.h260 struct mixer;
264 struct mixer *mixer_open(unsigned int card);
265 void mixer_close(struct mixer *mixer);
268 const char *mixer_get_name(struct mixer *mixer);
271 unsigned int mixer_get_num_ctls(struct mixer *mixer);
272 struct mixer_ctl *mixer_get_ctl(struct mixer *mixer, unsigned int id);
273 struct mixer_ctl *mixer_get_ctl_by_name(struct mixer *mixer, const char *name);
/external/mesa3d/src/gallium/state_trackers/vdpau/
Dmixer.c47 VdpVideoMixer *mixer) in vlVdpVideoMixerCreate() argument
74 *mixer = vlAddDataHTAB(vmixer); in vlVdpVideoMixerCreate()
75 if (*mixer == 0) { in vlVdpVideoMixerCreate()
154 vlRemoveDataHTAB(*mixer); in vlVdpVideoMixerCreate()
167 vlVdpVideoMixerDestroy(VdpVideoMixer mixer) in vlVdpVideoMixerDestroy() argument
171 vmixer = vlGetDataHTAB(mixer); in vlVdpVideoMixerDestroy()
179 vlRemoveDataHTAB(mixer); in vlVdpVideoMixerDestroy()
202 VdpStatus vlVdpVideoMixerRender(VdpVideoMixer mixer, in vlVdpVideoMixerRender() argument
228 vmixer = vlGetDataHTAB(mixer); in vlVdpVideoMixerRender()
407 vlVdpVideoMixerGetFeatureSupport(VdpVideoMixer mixer, in vlVdpVideoMixerGetFeatureSupport() argument
[all …]
DMakefile22 mixer.c
/external/kernel-headers/original/uapi/sound/
Dhdspm.h215 struct hdspm_mixer *mixer; member