Home
last modified time | relevance | path

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

/external/tinyalsa/
Dmixer.c50 struct mixer *mixer; member
55 struct mixer { struct
63 void mixer_close(struct mixer *mixer) in mixer_close() argument
67 if (!mixer) in mixer_close()
70 if (mixer->fd >= 0) in mixer_close()
71 close(mixer->fd); in mixer_close()
73 if (mixer->ctl) { in mixer_close()
74 for (n = 0; n < mixer->count; n++) { in mixer_close()
75 if (mixer->ctl[n].ename) { in mixer_close()
76 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 …]
DREADME5 - Provide a basic pcm and mixer API
DAndroid.bp6 "mixer.c",
/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);
/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/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/webrtc/webrtc/modules/audio_conference_mixer/source/
Daudio_conference_mixer_impl.cc104 AudioConferenceMixerImpl* mixer = new AudioConferenceMixerImpl(id); in Create() local
105 if(!mixer->Init()) { in Create()
106 delete mixer; in Create()
109 return mixer; in Create()
/external/webrtc/webrtc/modules/audio_device/test/
DREADME.txt13 - Some tests requires that the user opens up the audio mixer dialog and
/external/kernel-headers/original/uapi/sound/
Dhdspm.h217 struct hdspm_mixer *mixer; member
/external/jline/src/src/test/resources/jline/example/
Denglish.gz
/external/strace/
DChangeLog21638 Some ioctl commands from evdev, hiddev, mixer, uinput, spi, and joystick