/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...] |
aplay.c | 168 struct mixer *mixer; local
|
/device/asus/fugu/libaudio/ |
HDMIAudioOutput.cpp | 77 struct mixer* mixer; local 83 mixer = mixer_open(mALSACardID); 84 if (mixer == NULL) { 85 ALOGE("Couldn't open mixer on alsa id %d", mALSACardID); 90 struct mixer_ctl *ctl = mixer_get_ctl_by_name(mixer, ctlName); 92 ALOGE("Couldn't get mixer ctl %s", ctlName); 115 mixer_close(mixer);
|
alsa_utils.cpp | 97 struct mixer* mixer = NULL; local 106 // Open the mixer for the chosen ALSA device 107 if (NULL == (mixer = mixer_open(ALSADeviceID))) { 114 // later, they are just pointers into the tinyalsa mixer structure itself. 116 ctrls[i] = mixer_get_ctl_by_name(mixer, kCtrlNames[i]); 202 if (NULL != mixer) 203 mixer_close(mixer);
|
/external/tinyalsa/ |
tinymix.c | 36 static void tinymix_list_controls(struct mixer *mixer); 37 static void tinymix_detail_control(struct mixer *mixer, const char *control, 39 static void tinymix_set_value(struct mixer *mixer, const char *control, 45 struct mixer *mixer; local 59 mixer = mixer_open(card); 60 if (!mixer) { [all...] |
mixer.c | 0 /* mixer.c 49 struct mixer *mixer; member in struct:mixer_ctl 54 struct mixer { struct 62 void mixer_close(struct mixer *mixer) 66 if (!mixer) 69 if (mixer->fd >= 0) 70 close(mixer->fd); 72 if (mixer->ctl) 97 struct mixer *mixer = NULL; local [all...] |
/hardware/qcom/audio/msm8909/post_proc/ |
bundle.h | 27 /* Retry for delay for mixer open */ 49 struct mixer *mixer; member in struct:output_context_s
|
/hardware/qcom/audio/post_proc/ |
bundle.h | 24 /* Retry for delay for mixer open */ 46 struct mixer *mixer; member in struct:output_context_s
|
/system/extras/tests/audio/alsa/ |
pcmtest.cpp | 116 unsigned int mixer = -1; local 117 sscanf(de->d_name, MIXER_PREFIX "C%u", &mixer); 207 struct mixer *mixer; local 209 mixer = mixer_open(i); 210 EXPECT_TRUE(mixer != NULL); 211 if (mixer) 212 mixer_close(mixer);
|
/frameworks/av/services/audioflinger/tests/ |
test-mixer.cpp | 30 * Sine or chirp functions are typically more useful as input to the mixer 43 fprintf(stderr, " -m enable floating point mixer output\n"); 44 fprintf(stderr, " -c number of mixer output channels\n"); 45 fprintf(stderr, " -s mixer sample-rate\n"); 237 // create the mixer. 239 AudioMixer *mixer = new AudioMixer(mixerFrameCount, outputSampleRate); local 249 int32_t name = mixer->getTrackName(channelMask, 253 mixer->setBufferProvider(name, &providers[i]); 254 mixer->setParameter(name, AudioMixer::TRACK, AudioMixer::MAIN_BUFFER, 256 mixer->setParameter [all...] |
/frameworks/base/cmds/bootanimation/ |
AudioPlayer.cpp | 71 static bool setMixerValue(struct mixer* mixer, const char* name, const char* values) 73 if (!mixer) { 74 ALOGE("no mixer in setMixerValue"); 77 struct mixer_ctl *ctl = mixer_get_ctl_by_name(mixer, name); 114 ALOGE("unsupported mixer type %d for %s", type, name); 134 * This header is followed by zero or more mixer settings, each with the format: 135 * mixer "<name>" = <value list> 136 * Since mixer names can contain spaces, the name must be enclosed in double quotes. 143 struct mixer* mixer = NULL local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/sound/ |
hdspm.h | 96 /* ------------- get Matrix Mixer IOCTL --------------- */ 98 /* MADI mixer: 64inputs+64playback in 64outputs = 8192 => *4Byte = 107 Ins to Outs mixer[out].in[in], Outstreams to Outs mixer[out].pb[pb] */ 121 struct hdspm_mixer *mixer; member in struct:hdspm_mixer_ioctl
|
/device/google/dragon/audio/soundtrigger/ |
sound_trigger_hw.c | 71 struct mixer *mixer; member in struct:dragon_sound_trigger_device 106 stdev->mixer = mixer_open(DRAGON_MIXER_VAD); 107 if (!stdev->mixer) 110 stdev->int_mic_sw = mixer_get_ctl_by_name(stdev->mixer, DRAGON_MIC_CTRL); 114 stdev->hotword_model = mixer_get_ctl_by_name(stdev->mixer, 117 ALOGE("No hotword model mixer control\n"); 124 if (stdev->mixer) 125 mixer_close(stdev->mixer); 145 mixer_close(stdev->mixer); [all...] |
/device/htc/flounder/audio/soundtrigger/ |
sound_trigger_hw.c | 73 struct mixer *mixer; member in struct:flounder_sound_trigger_device 116 stdev->mixer = mixer_open(FLOUNDER_MIXER_VAD); 117 if (!stdev->mixer) 120 stdev->ctl_dsp = mixer_get_ctl_by_name(stdev->mixer, FLOUNDER_CTRL_DSP); 130 if (stdev->mixer) 131 mixer_close(stdev->mixer); 151 mixer_close(stdev->mixer); 650 ALOGE("Error mixer init");
|
/external/webrtc/webrtc/modules/audio_conference_mixer/source/ |
audio_conference_mixer_impl.cc | 104 AudioConferenceMixerImpl* mixer = new AudioConferenceMixerImpl(id); local 105 if(!mixer->Init()) { 106 delete mixer; 109 return mixer; [all...] |
/hardware/qcom/display/msm8084/liboverlay/ |
overlay.h | 57 dpy(DPY_PRIMARY), mixer(MIXER_DEFAULT) {} 62 int mixer; member in struct:overlay::Overlay::PipeSpecs 111 /* Returns available ("unallocated") pipes for a display's mixer */ 112 int availablePipes(int dpy, int mixer); 163 * asisgned to a mixer within a display it cannot be reused for another 164 * mixer without being UNSET once*/ 165 utils::eDest nextPipe(utils::eMdpPipeType, int dpy, int mixer); 188 /* Mixer within a split display this pipe is attached to */ 254 inline int Overlay::availablePipes(int dpy, int mixer) { 260 mPipeBook[i].mMixer == mixer) & [all...] |
/hardware/qcom/display/msm8226/liboverlay/ |
overlay.h | 57 dpy(DPY_PRIMARY), mixer(MIXER_DEFAULT), numActiveDisplays(1) {} 62 int mixer; member in struct:overlay::Overlay::PipeSpecs 112 /* Returns available ("unallocated") pipes for a display's mixer */ 113 int availablePipes(int dpy, int mixer); 168 * asisgned to a mixer within a display it cannot be reused for another 169 * mixer without being UNSET once*/ 170 utils::eDest nextPipe(utils::eMdpPipeType, int dpy, int mixer); 196 /* Mixer within a split display this pipe is attached to */ 262 inline int Overlay::availablePipes(int dpy, int mixer) { 268 mPipeBook[i].mMixer == mixer) & [all...] |
/hardware/qcom/display/msm8909/liboverlay/ |
overlay.cpp | 103 int mixer = pipeSpecs.mixer; local 110 (mPipeBook[i].mMixer == MIXER_UNUSED || //Free or same mixer 111 mPipeBook[i].mMixer == mixer) && 128 mPipeBook[index].mMixer = mixer; 402 //Get the mixer configuration */ 414 // other pipes connected to mixer. 417 ALOGD("Unset overlay with index: %d at mixer %d", index, i);
|
overlay.h | 57 dpy(DPY_PRIMARY), mixer(MIXER_DEFAULT), numActiveDisplays(1) {} 62 int mixer; member in struct:overlay::Overlay::PipeSpecs 112 /* Returns available ("unallocated") pipes for a display's mixer */ 113 int availablePipes(int dpy, int mixer); 171 * asisgned to a mixer within a display it cannot be reused for another 172 * mixer without being UNSET once*/ 200 /* Mixer within a split display this pipe is attached to */ 202 /* Format for which this pipe is attached to the mixer*/ 266 inline int Overlay::availablePipes(int dpy, int mixer) { 272 mPipeBook[i].mMixer == mixer) & [all...] |
/hardware/qcom/display/msm8994/liboverlay/ |
overlay.h | 60 dpy(DPY_PRIMARY), mixer(MIXER_DEFAULT), numActiveDisplays(1) {} 65 int mixer; member in struct:overlay::Overlay::PipeSpecs 115 /* Returns available ("unallocated") pipes for a display's mixer */ 116 int availablePipes(int dpy, int mixer); 173 * asisgned to a mixer within a display it cannot be reused for another 174 * mixer without being UNSET once*/ 208 /* Mixer within a split display this pipe is attached to */ 210 /* Format for which this pipe is attached to the mixer*/ 281 inline int Overlay::availablePipes(int dpy, int mixer) { 287 mPipeBook[i].mMixer == mixer) & [all...] |
/system/media/audio_route/ |
audio_route.c | 71 struct mixer *mixer; member in struct:audio_route 115 LOG_ALWAYS_FATAL("Unsupported mixer ctl type: %d, check type before calling", (int)type); 190 /* check if we need to allocate more space for mixer paths */ 207 /* initialise the new mixer path */ 213 /* return the mixer path just added, then increment number of them */ 301 /* Check that mixer value index is within range */ 305 ALOGE("mixer index %d is out of range for '%s'", mixer_value->index, 419 /* mixer helper function */ 476 /* Obtain the mixer ctl and value * [all...] |
/bionic/libc/kernel/uapi/sound/ |
hdspm.h | 175 struct hdspm_mixer * mixer; member in struct:hdspm_mixer_ioctl
|
/external/kernel-headers/original/uapi/sound/ |
hdspm.h | 192 /* ------------- get Matrix Mixer IOCTL --------------- */ 194 /* MADI mixer: 64inputs+64playback in 64outputs = 8192 => *4Byte = 203 Ins to Outs mixer[out].in[in], Outstreams to Outs mixer[out].pb[pb] */ 217 struct hdspm_mixer *mixer; member in struct:hdspm_mixer_ioctl
|
/hardware/intel/audio_media/hdmi/ |
tinyaudio_hw.c | 412 struct mixer *mixer; local 421 mixer = mixer_open(card); 422 if (!mixer) { 423 ALOGE("[EDID] Failed to open mixer\n"); 428 if (id >= mixer_get_num_ctls(mixer)) { 433 ctl = mixer_get_ctl_by_name(mixer, "Playback Channel Map"); 435 //ctl = mixer_get_ctl(mixer, id); 460 mixer_close(mixer); 465 mixer_close(mixer); [all...] |