/hardware/qcom/audio/legacy/libalsa-intf/ |
amix.c | 34 struct mixer_ctl *get_ctl(struct mixer *mixer, char *name) 40 return mixer_get_nth_control(mixer, atoi(name) - 1); 48 return mixer_get_control(mixer, name, idx); 53 struct mixer *mixer; local 59 mixer = mixer_open(device); 60 if (!mixer){ 66 mixer_dump(mixer); 67 mixer_close(mixer); [all...] |
alsa_mixer.c | 104 case SNDRV_CTL_ELEM_IFACE_MIXER: return "MIXER"; 127 void mixer_close(struct mixer *mixer) 131 if (mixer->fd >= 0) 132 close(mixer->fd); 134 if (mixer->ctl) { 135 for (n = 0; n < mixer->count; n++) { 136 if (mixer->ctl[n].ename) { 137 unsigned max = mixer->ctl[n].info->value.enumerated.items; 139 free(mixer->ctl[n].ename[m]) 157 struct mixer *mixer = NULL; local [all...] |
alsa_audio.h | 87 struct mixer *mixer; member in struct:mixer_ctl 114 /** Mixer */ 127 struct mixer { struct 172 struct mixer; 175 struct mixer *mixer_open(const char *device); 176 void mixer_close(struct mixer *mixer); 177 void mixer_dump(struct mixer *mixer); [all...] |
/external/tinyalsa/ |
tinymix.c | 35 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; local 58 mixer = mixer_open(card); 59 if (!mixer) { [all...] |
mixer.c | 0 /* mixer.c 48 struct mixer *mixer; member in struct:mixer_ctl 53 struct mixer { struct 61 void mixer_close(struct mixer *mixer) 65 if (!mixer) 68 if (mixer->fd >= 0) 69 close(mixer->fd); 71 if (mixer->ctl) 96 struct mixer *mixer = NULL; local [all...] |
/external/chromium_org/media/audio/linux/ |
alsa_wrapper.cc | 108 int AlsaWrapper::MixerOpen(snd_mixer_t** mixer, int mode) { 109 return snd_mixer_open(mixer, mode); 112 int AlsaWrapper::MixerAttach(snd_mixer_t* mixer, const char* name) { 113 return snd_mixer_attach(mixer, name); 116 int AlsaWrapper::MixerElementRegister(snd_mixer_t* mixer, 119 return snd_mixer_selem_register(mixer, options, classp); 122 void AlsaWrapper::MixerFree(snd_mixer_t* mixer) { 123 snd_mixer_free(mixer); 126 int AlsaWrapper::MixerDetach(snd_mixer_t* mixer, const char* name) { 127 return snd_mixer_detach(mixer, name) [all...] |
alsa_wrapper.h | 50 virtual int MixerOpen(snd_mixer_t** mixer, int mode); 51 virtual int MixerAttach(snd_mixer_t* mixer, const char* name); 52 virtual int MixerElementRegister(snd_mixer_t* mixer, 55 virtual void MixerFree(snd_mixer_t* mixer); 56 virtual int MixerDetach(snd_mixer_t* mixer, const char* name); 57 virtual int MixerClose(snd_mixer_t* mixer); 58 virtual int MixerLoad(snd_mixer_t* mixer); 59 virtual snd_mixer_elem_t* MixerFirstElem(snd_mixer_t* mixer);
|
alsa_util.cc | 117 snd_mixer_t* mixer = NULL; local 119 int error = wrapper->MixerOpen(&mixer, 0); 127 error = wrapper->MixerAttach(mixer, control_name.c_str()); 131 alsa_util::CloseMixer(wrapper, mixer, device_name); 135 error = wrapper->MixerElementRegister(mixer, NULL, NULL); 139 alsa_util::CloseMixer(wrapper, mixer, device_name); 143 return mixer; 146 void CloseMixer(media::AlsaWrapper* wrapper, snd_mixer_t* mixer, 148 if (!mixer) 151 wrapper->MixerFree(mixer); [all...] |
alsa_util.h | 39 snd_mixer_t* mixer, 43 snd_mixer_t* mixer);
|
/external/chromium_org/content/renderer/media/ |
audio_renderer_mixer_manager.cc | 52 return it->second.mixer; 75 media::AudioRendererMixer* mixer; local 77 mixer = new media::AudioRendererMixer( 80 mixer = new media::AudioRendererMixer( 85 AudioRendererMixerReference mixer_reference = { mixer, 1 }; 87 return mixer; 99 // Only remove the mixer if AudioRendererMixerManager is the last owner. 102 delete it->second.mixer;
|
audio_renderer_mixer_manager.h | 26 // configuration will share a mixer while a new AudioRendererMixer will be 53 // Returns a mixer instance based on AudioParameters; an existing one if one 58 // Remove a mixer instance given a mixer if the only other reference is held 60 // this method when it's done with a mixer. 75 media::AudioRendererMixer* mixer; member in struct:content::AudioRendererMixerManager::AudioRendererMixerReference
|
/external/tinyalsa/include/tinyalsa/ |
asoundlib.h | 125 /* Mixer control types */ 215 * MIXER API 218 struct mixer; 221 /* Open and close a mixer */ 222 struct mixer *mixer_open(unsigned int card); 223 void mixer_close(struct mixer *mixer); 225 /* Get info about a mixer */ 226 const char *mixer_get_name(struct mixer *mixer); [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/ |
mixer.h | 2 * \file include/mixer.h 36 * \defgroup Mixer Mixer Interface 37 * The mixer interface. 41 /** Mixer handle */ 43 /** Mixer elements class handle */ 45 /** Mixer element handle */ 49 * \brief Mixer callback function 50 * \param mixer Mixer handl [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/alsa/ |
mixer.h | 2 * \file include/mixer.h 36 * \defgroup Mixer Mixer Interface 37 * The mixer interface. 41 /** Mixer handle */ 43 /** Mixer elements class handle */ 45 /** Mixer element handle */ 49 * \brief Mixer callback function 50 * \param mixer Mixer handl [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/alsa/ |
mixer.h | 2 * \file include/mixer.h 36 * \defgroup Mixer Mixer Interface 37 * The mixer interface. 41 /** Mixer handle */ 43 /** Mixer elements class handle */ 45 /** Mixer element handle */ 49 * \brief Mixer callback function 50 * \param mixer Mixer handl [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
mixer_oss.h | 5 * OSS MIXER API 56 struct snd_mixer_oss_slot slots[SNDRV_OSS_MAX_MIXERS]; /* OSS mixer slots */ 63 void (*private_free_recsrc)(struct snd_mixer_oss *mixer); 73 struct snd_mixer_oss *mixer; member in struct:snd_mixer_oss_file
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
mixer_oss.h | 5 * OSS MIXER API 56 struct snd_mixer_oss_slot slots[SNDRV_OSS_MAX_MIXERS]; /* OSS mixer slots */ 63 void (*private_free_recsrc)(struct snd_mixer_oss *mixer); 73 struct snd_mixer_oss *mixer; member in struct:snd_mixer_oss_file
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
Makefile | 22 mixer.c
|
mixer.c | 47 VdpVideoMixer *mixer) 74 *mixer = vlAddDataHTAB(vmixer); 75 if (*mixer == 0) { 154 vlRemoveDataHTAB(*mixer); 167 vlVdpVideoMixerDestroy(VdpVideoMixer mixer) 171 vmixer = vlGetDataHTAB(mixer); 179 vlRemoveDataHTAB(mixer); 202 VdpStatus vlVdpVideoMixerRender(VdpVideoMixer mixer, 228 vmixer = vlGetDataHTAB(mixer); 407 vlVdpVideoMixerGetFeatureSupport(VdpVideoMixer mixer, [all...] |
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
Makefile | 22 mixer.c
|
mixer.c | 47 VdpVideoMixer *mixer) 74 *mixer = vlAddDataHTAB(vmixer); 75 if (*mixer == 0) { 154 vlRemoveDataHTAB(*mixer); 167 vlVdpVideoMixerDestroy(VdpVideoMixer mixer) 171 vmixer = vlGetDataHTAB(mixer); 179 vlRemoveDataHTAB(mixer); 202 VdpStatus vlVdpVideoMixerRender(VdpVideoMixer mixer, 228 vmixer = vlGetDataHTAB(mixer); 407 vlVdpVideoMixerGetFeatureSupport(VdpVideoMixer mixer, [all...] |
/hardware/ti/wpan/tools/kfmapp/ |
kfmapp.c | 40 struct mixer *mixer; variable in typeref:struct:mixer 827 static void tinymix_set_value(struct mixer *mixer, unsigned int id, 834 ctl = mixer_get_ctl(mixer, id); 850 mixer = mixer_open(0); 851 if (!mixer) { 852 fprintf(stderr, "Failed to open mixer\n"); 866 tinymix_set_value(mixer, 77, 2); 867 tinymix_set_value(mixer, 76, 2) [all...] |
/frameworks/av/services/audioflinger/ |
FastMixer.cpp | 18 // Design rules for threadLoop() are given in the comments at section "Fast mixer thread" of 52 // Fast mixer thread 62 int fastTrackNames[FastMixerState::kMaxFastTracks]; // handles used by mixer to identify tracks 71 AudioMixer* mixer = NULL; local 136 if (mixer != NULL) { 137 mixer->setLog(logWriter); 188 // This may be overly conservative; there could be times that the normal mixer 207 delete mixer; 244 delete mixer; 245 mixer = NULL [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
ALSAMixer.cpp | 62 {dev, "alsa.mixer.playback." name, out, NULL},\ 63 {dev, "alsa.mixer.capture." name, in, NULL}\ 98 static int initMixer (snd_mixer_t **mixer, const char *name) 102 if ((err = snd_mixer_open(mixer, 0)) < 0) { 103 ALOGE("Unable to open mixer: %s", snd_strerror(err)); 107 if ((err = snd_mixer_attach(*mixer, name)) < 0) { 108 ALOGW("Unable to attach mixer to device %s: %s", 111 if ((err = snd_mixer_attach(*mixer, "hw:00")) < 0) { 112 ALOGE("Unable to attach mixer to device default: %s", 115 snd_mixer_close (*mixer); [all...] |
/cts/suite/audio_quality/test/ |
MixerTest.cpp | 40 struct mixer* mixerp = mixer_open(hwId); 47 LOGI("Mixer control %s type %s value %d", mixer_ctl_get_name(control), 51 // no mixer control for MobilePre. If this assumption fails, 52 // mixer control should be added.
|