Home
last modified time | relevance | path

Searched refs:mixer (Results 1 – 25 of 25) 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
16 LOCAL_SRC_FILES:= mixer.c pcm.c
DREADME5 - Provide a basic pcm and mixer API
/external/chromium_org/media/audio/alsa/
Dalsa_wrapper.cc108 int AlsaWrapper::MixerOpen(snd_mixer_t** mixer, int mode) { in MixerOpen() argument
109 return snd_mixer_open(mixer, mode); in MixerOpen()
112 int AlsaWrapper::MixerAttach(snd_mixer_t* mixer, const char* name) { in MixerAttach() argument
113 return snd_mixer_attach(mixer, name); in MixerAttach()
116 int AlsaWrapper::MixerElementRegister(snd_mixer_t* mixer, in MixerElementRegister() argument
119 return snd_mixer_selem_register(mixer, options, classp); in MixerElementRegister()
122 void AlsaWrapper::MixerFree(snd_mixer_t* mixer) { in MixerFree() argument
123 snd_mixer_free(mixer); in MixerFree()
126 int AlsaWrapper::MixerDetach(snd_mixer_t* mixer, const char* name) { in MixerDetach() argument
127 return snd_mixer_detach(mixer, name); in MixerDetach()
[all …]
Dalsa_util.cc117 snd_mixer_t* mixer = NULL; in OpenMixer() local
119 int error = wrapper->MixerOpen(&mixer, 0); in OpenMixer()
127 error = wrapper->MixerAttach(mixer, control_name.c_str()); in OpenMixer()
131 alsa_util::CloseMixer(wrapper, mixer, device_name); in OpenMixer()
135 error = wrapper->MixerElementRegister(mixer, NULL, NULL); in OpenMixer()
139 alsa_util::CloseMixer(wrapper, mixer, device_name); in OpenMixer()
143 return mixer; in OpenMixer()
146 void CloseMixer(media::AlsaWrapper* wrapper, snd_mixer_t* mixer, in CloseMixer() argument
148 if (!mixer) in CloseMixer()
151 wrapper->MixerFree(mixer); in CloseMixer()
[all …]
Dalsa_wrapper.h53 virtual int MixerOpen(snd_mixer_t** mixer, int mode);
54 virtual int MixerAttach(snd_mixer_t* mixer, const char* name);
55 virtual int MixerElementRegister(snd_mixer_t* mixer,
58 virtual void MixerFree(snd_mixer_t* mixer);
59 virtual int MixerDetach(snd_mixer_t* mixer, const char* name);
60 virtual int MixerClose(snd_mixer_t* mixer);
61 virtual int MixerLoad(snd_mixer_t* mixer);
62 virtual snd_mixer_elem_t* MixerFirstElem(snd_mixer_t* mixer);
Dalsa_util.h39 snd_mixer_t* mixer,
43 snd_mixer_t* mixer);
/external/tinyalsa/include/tinyalsa/
Dasoundlib.h254 struct mixer;
258 struct mixer *mixer_open(unsigned int card);
259 void mixer_close(struct mixer *mixer);
262 const char *mixer_get_name(struct mixer *mixer);
265 unsigned int mixer_get_num_ctls(struct mixer *mixer);
266 struct mixer_ctl *mixer_get_ctl(struct mixer *mixer, unsigned int id);
267 struct mixer_ctl *mixer_get_ctl_by_name(struct mixer *mixer, const char *name);
/external/chromium_org/content/renderer/media/
Daudio_renderer_mixer_manager.cc54 return it->second.mixer; in GetMixer()
77 media::AudioRendererMixer* mixer; in GetMixer() local
79 mixer = new media::AudioRendererMixer( in GetMixer()
82 mixer = new media::AudioRendererMixer( in GetMixer()
87 AudioRendererMixerReference mixer_reference = { mixer, 1 }; in GetMixer()
89 return mixer; in GetMixer()
104 delete it->second.mixer; in RemoveMixer()
Daudio_renderer_mixer_manager.h78 media::AudioRendererMixer* mixer; member
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/media/base/
Dchannel_mixer_unittest.cc40 ChannelMixer mixer(input_layout, output_layout); in TEST() local
48 mixer.Transform(input_bus.get(), output_bus.get()); in TEST()
139 ChannelMixer mixer(input_audio, output_audio); in TEST_P() local
140 mixer.Transform(input_bus.get(), output_bus.get()); in TEST_P()
/external/chromium_org/third_party/webrtc/voice_engine/
Doutput_mixer.cc101 OutputMixer::Create(OutputMixer*& mixer, uint32_t instanceId) in Create() argument
105 mixer = new OutputMixer(instanceId); in Create()
106 if (mixer == NULL) in Create()
146 OutputMixer::Destroy(OutputMixer*& mixer) in Destroy() argument
148 if (mixer) in Destroy()
150 delete mixer; in Destroy()
151 mixer = NULL; in Destroy()
Doutput_mixer.h39 static int32_t Create(OutputMixer*& mixer, uint32_t instanceId);
41 static void Destroy(OutputMixer*& mixer);
Dtransmit_mixer.h42 static int32_t Create(TransmitMixer*& mixer, uint32_t instanceId);
44 static void Destroy(TransmitMixer*& mixer);
Dtransmit_mixer.cc147 TransmitMixer::Create(TransmitMixer*& mixer, uint32_t instanceId) in Create() argument
151 mixer = new TransmitMixer(instanceId); in Create()
152 if (mixer == NULL) in Create()
163 TransmitMixer::Destroy(TransmitMixer*& mixer) in Destroy() argument
165 if (mixer) in Destroy()
167 delete mixer; in Destroy()
168 mixer = NULL; in Destroy()
/external/kernel-headers/original/uapi/sound/
Dhdspm.h215 struct hdspm_mixer *mixer; member
/external/chromium_org/third_party/webrtc/modules/audio_device/test/
DREADME.txt13 - Some tests requires that the user opens up the audio mixer dialog and
/external/chromium_org/third_party/webrtc/modules/audio_conference_mixer/source/
Daudio_conference_mixer_impl.cc108 AudioConferenceMixerImpl* mixer = new AudioConferenceMixerImpl(id); in Create() local
109 if(!mixer->Init()) { in Create()
110 delete mixer; in Create()
113 return mixer; in Create()
/external/chromium_org/chrome/browser/ui/app_list/search/
Dmixer_unittest.cc119 Mixer* mixer() { return mixer_.get(); } in mixer() function in app_list::test::MixerTest
/external/chromium_org/chrome/
Dchrome_browser_ui.gypi216 'browser/ui/app_list/search/mixer.cc',
217 'browser/ui/app_list/search/mixer.h',