Home
last modified time | relevance | path

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

123

/external/tinyalsa/
Dmixer.c55 struct mixer *mixer; member
61 struct mixer { struct
69 void mixer_close(struct mixer *mixer) in mixer_close() argument
73 if (!mixer) in mixer_close()
76 if (mixer->fd >= 0) in mixer_close()
77 close(mixer->fd); in mixer_close()
79 if (mixer->ctl) { in mixer_close()
80 for (n = 0; n < mixer->count; n++) { in mixer_close()
81 if (mixer->ctl[n].ename) { in mixer_close()
82 unsigned int max = mixer->ctl[n].info->value.enumerated.items; in mixer_close()
[all …]
Dtinymix.c38 static void tinymix_list_controls(struct mixer *mixer);
39 static int tinymix_detail_control(struct mixer *mixer, const char *control,
41 static int tinymix_set_value(struct mixer *mixer, const char *control,
73 struct mixer *mixer; in main() local
108 mixer = mixer_open(card); in main()
109 if (!mixer) { in main()
115 printf("Mixer name: '%s'\n", mixer_get_name(mixer)); in main()
116 tinymix_list_controls(mixer); in main()
118 ret = tinymix_detail_control(mixer, argv[optind], !g_value_only, !g_value_only); in main()
120 ret = tinymix_set_value(mixer, argv[optind], &argv[optind + 1], argc - optind - 1); in main()
[all …]
/external/webrtc/webrtc/modules/audio_conference_mixer/test/
Daudio_conference_mixer_unittest.cc59 rtc::scoped_ptr<AudioConferenceMixer> mixer( in TEST() local
66 EXPECT_EQ(0, mixer->SetMixabilityStatus(&named[i], true)); in TEST()
67 EXPECT_TRUE(mixer->MixabilityStatus(named[i])); in TEST()
72 EXPECT_EQ(-1, mixer->SetAnonymousMixabilityStatus(&anonymous[i], true)); in TEST()
73 EXPECT_EQ(0, mixer->SetMixabilityStatus(&anonymous[i], true)); in TEST()
74 EXPECT_TRUE(mixer->MixabilityStatus(anonymous[i])); in TEST()
75 EXPECT_FALSE(mixer->AnonymousMixabilityStatus(anonymous[i])); in TEST()
77 EXPECT_EQ(0, mixer->SetAnonymousMixabilityStatus(&anonymous[i], true)); in TEST()
78 EXPECT_TRUE(mixer->AnonymousMixabilityStatus(anonymous[i])); in TEST()
81 EXPECT_FALSE(mixer->MixabilityStatus(anonymous[i])); in TEST()
[all …]
/external/tinyalsa/include/tinyalsa/
Dasoundlib.h272 struct mixer;
276 struct mixer *mixer_open(unsigned int card);
277 void mixer_close(struct mixer *mixer);
280 const char *mixer_get_name(struct mixer *mixer);
283 unsigned int mixer_get_num_ctls(struct mixer *mixer);
284 struct mixer_ctl *mixer_get_ctl(struct mixer *mixer, unsigned int id);
285 struct mixer_ctl *mixer_get_ctl_by_name(struct mixer *mixer, const char *name);
317 int mixer_subscribe_events(struct mixer *mixer, int subscribe);
318 int mixer_wait_event(struct mixer *mixer, int timeout);
319 int mixer_consume_event(struct mixer *mixer);
/external/mesa3d/src/gallium/state_trackers/vdpau/
Dmixer.c47 VdpVideoMixer *mixer) in vlVdpVideoMixerCreate() argument
81 *mixer = vlAddDataHTAB(vmixer); in vlVdpVideoMixerCreate()
82 if (*mixer == 0) { in vlVdpVideoMixerCreate()
170 vlRemoveDataHTAB(*mixer); in vlVdpVideoMixerCreate()
186 vlVdpVideoMixerDestroy(VdpVideoMixer mixer) in vlVdpVideoMixerDestroy() argument
190 vmixer = vlGetDataHTAB(mixer); in vlVdpVideoMixerDestroy()
196 vlRemoveDataHTAB(mixer); in vlVdpVideoMixerDestroy()
230 VdpStatus vlVdpVideoMixerRender(VdpVideoMixer mixer, in vlVdpVideoMixerRender() argument
261 vmixer = vlGetDataHTAB(mixer); in vlVdpVideoMixerRender()
583 vlVdpVideoMixerGetFeatureSupport(VdpVideoMixer mixer, in vlVdpVideoMixerGetFeatureSupport() argument
[all …]
DMakefile.sources7 mixer.c \
/external/adhd/cras/src/server/
Dcras_alsa_mixer.c81 snd_mixer_t *mixer; member
98 snd_mixer_t **mixer) in alsa_mixer_open() argument
102 *mixer = NULL; in alsa_mixer_open()
103 rc = snd_mixer_open(mixer, 0); in alsa_mixer_open()
108 rc = snd_mixer_attach(*mixer, mixdev); in alsa_mixer_open()
113 rc = snd_mixer_selem_register(*mixer, NULL, NULL); in alsa_mixer_open()
118 rc = snd_mixer_load(*mixer); in alsa_mixer_open()
126 snd_mixer_close(*mixer); in alsa_mixer_open()
127 *mixer = NULL; in alsa_mixer_open()
340 elem = snd_mixer_find_selem(cmix->mixer, sid); in mixer_control_create_by_name()
[all …]
Dcras_alsa_card.c59 struct cras_alsa_mixer *mixer; member
118 alsa_card->mixer, in create_iodev_for_device()
252 alsa_card->mixer, in add_controls_and_iodevs_by_matching()
349 alsa_card->mixer, section); in add_controls_and_iodevs_with_ucm()
552 alsa_card->mixer = cras_alsa_mixer_create(alsa_card->name); in cras_alsa_card_create()
554 if (alsa_card->mixer == NULL) { in cras_alsa_card_create()
639 if (alsa_card->mixer) in cras_alsa_card_destroy()
640 cras_alsa_mixer_destroy(alsa_card->mixer); in cras_alsa_card_destroy()
Dcras_alsa_jack.c122 struct cras_alsa_mixer *mixer; member
580 jack_list->mixer, in open_and_monitor_gpio()
585 jack_list->mixer, in open_and_monitor_gpio()
595 jack_list->mixer, in open_and_monitor_gpio()
626 jack_list->mixer, section); in open_and_monitor_gpio_with_section()
629 jack_list->mixer, section); in open_and_monitor_gpio_with_section()
941 jack_list->mixer, in find_jack_controls()
955 jack_list->mixer, in find_jack_controls()
1047 jack_list->mixer, section); in find_hctl_jack_for_section()
1050 jack_list->mixer, section); in find_hctl_jack_for_section()
[all …]
Dcras_alsa_io.c145 struct cras_alsa_mixer *mixer; member
692 aio->mixer, in set_alsa_mute_control()
710 if (aio->mixer == NULL) in set_alsa_volume()
731 aio->mixer, in set_alsa_volume()
755 if (aio->mixer == NULL) in set_alsa_capture_gain()
771 aio->mixer, in set_alsa_capture_gain()
774 cras_alsa_mixer_set_capture_mute(aio->mixer, in set_alsa_capture_gain()
819 aio->mixer, mixer_input); in init_device_settings()
822 aio->mixer, mixer_input); in init_device_settings()
1040 struct cras_alsa_mixer *mixer = aio->mixer; in set_output_node_software_volume_needed() local
[all …]
/external/python/cpython3/Doc/library/
Dossaudiodev.rst102 Open a mixer device and return an OSS mixer device object. *device* is the
103 mixer device filename to use. If it is not specified, this module first looks
105 found, it falls back to :file:`/dev/mixer`.
355 The mixer object provides two file-like methods:
360 This method closes the open mixer device file. Any further attempts to use the
361 mixer after this file is closed will raise an :exc:`OSError`.
366 Returns the file handle number of the open mixer device file.
377 This method returns a bitmask specifying the available mixer controls ("Control"
380 mixer controls---the :const:`SOUND_MIXER_\*` constants defined at module level.
381 To determine if, for example, the current mixer object supports a PCM mixer, use
[all …]
/external/python/cpython2/Doc/library/
Dossaudiodev.rst100 Open a mixer device and return an OSS mixer device object. *device* is the
101 mixer device filename to use. If it is not specified, this module first looks
103 found, it falls back to :file:`/dev/mixer`.
340 The mixer object provides two file-like methods:
345 This method closes the open mixer device file. Any further attempts to use the
346 mixer after this file is closed will raise an :exc:`IOError`.
351 Returns the file handle number of the open mixer device file.
358 This method returns a bitmask specifying the available mixer controls ("Control"
361 mixer controls---the :const:`SOUND_MIXER_\*` constants defined at module level.
362 To determine if, for example, the current mixer object supports a PCM mixer, use
[all …]
/external/python/cpython3/Lib/test/
Dtest_ossaudiodev.py165 with ossaudiodev.openmixer() as mixer:
166 self.assertGreaterEqual(mixer.fileno(), 0)
186 mixer = ossaudiodev.openmixer()
187 mixer.close()
188 self.assertRaises(ValueError, mixer.fileno)
/external/webrtc/webrtc/voice_engine/
Doutput_mixer.cc79 OutputMixer::Create(OutputMixer*& mixer, uint32_t instanceId) in Create() argument
83 mixer = new OutputMixer(instanceId); in Create()
84 if (mixer == NULL) in Create()
123 OutputMixer::Destroy(OutputMixer*& mixer) in Destroy() argument
125 if (mixer) in Destroy()
127 delete mixer; in Destroy()
128 mixer = NULL; in Destroy()
Doutput_mixer.h38 static int32_t Create(OutputMixer*& mixer, uint32_t instanceId);
40 static void Destroy(OutputMixer*& mixer);
Dtransmit_mixer.cc153 TransmitMixer::Create(TransmitMixer*& mixer, uint32_t instanceId) in Create() argument
157 mixer = new TransmitMixer(instanceId); in Create()
158 if (mixer == NULL) in Create()
169 TransmitMixer::Destroy(TransmitMixer*& mixer) in Destroy() argument
171 if (mixer) in Destroy()
173 delete mixer; in Destroy()
174 mixer = NULL; in Destroy()
Dtransmit_mixer.h42 static int32_t Create(TransmitMixer*& mixer, uint32_t instanceId);
44 static void Destroy(TransmitMixer*& mixer);
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/mdss/mdp_sspp_change/
Dformat11 field:u32 mixer; offset:16; size:4; signed:0;
26 …nt fmt: "pnum=%d mixer=%d play_cnt=%d flags=0x%x stage=%d format=%d img=%dx%d src=[%d,%d,%d,%d] ds…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/mdss/mdp_sspp_set/
Dformat11 field:u32 mixer; offset:16; size:4; signed:0;
26 …nt fmt: "pnum=%d mixer=%d play_cnt=%d flags=0x%x stage=%d format=%d img=%dx%d src=[%d,%d,%d,%d] ds…
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/mdss/mdp_sspp_set/
Dformat11 field:u32 mixer; offset:16; size:4; signed:0;
26 …nt fmt: "pnum=%d mixer=%d play_cnt=%d flags=0x%x stage=%d format=%d img=%dx%d src=[%d,%d,%d,%d] ds…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/mdss/mdp_sspp_change/
Dformat11 field:u32 mixer; offset:16; size:4; signed:0;
26 …nt fmt: "pnum=%d mixer=%d play_cnt=%d flags=0x%x stage=%d format=%d img=%dx%d src=[%d,%d,%d,%d] ds…
/external/adhd/cras/
DREADME48 [<output-node-name>] ; Name of the mixer control for this output.
54 Jack name - Name of the mixer control for mixer jack, or the gpio jack name
62 be used for searching, and lastly the mixer output control name.
/external/perfetto/protos/perfetto/trace/ftrace/
Dmdss.proto28 optional uint32 mixer = 3; field
74 optional uint32 mixer = 3; field
/external/python/cpython3/Lib/distutils/tests/
DSetup.sample25 mixer src/mixer.c $(SDL) $(MIXER) $(DEBUG)
/external/python/cpython2/Lib/distutils/tests/
DSetup.sample25 mixer src/mixer.c $(SDL) $(MIXER) $(DEBUG)

123