/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/webrtc/webrtc/modules/audio_conference_mixer/test/ |
audio_conference_mixer_unittest.cc | 59 rtc::scoped_ptr<AudioConferenceMixer> mixer( 66 EXPECT_EQ(0, mixer->SetMixabilityStatus(&named[i], true)); 67 EXPECT_TRUE(mixer->MixabilityStatus(named[i])); 72 EXPECT_EQ(-1, mixer->SetAnonymousMixabilityStatus(&anonymous[i], true)); 73 EXPECT_EQ(0, mixer->SetMixabilityStatus(&anonymous[i], true)); 74 EXPECT_TRUE(mixer->MixabilityStatus(anonymous[i])); 75 EXPECT_FALSE(mixer->AnonymousMixabilityStatus(anonymous[i])); 77 EXPECT_EQ(0, mixer->SetAnonymousMixabilityStatus(&anonymous[i], true)); 78 EXPECT_TRUE(mixer->AnonymousMixabilityStatus(anonymous[i])); 81 EXPECT_FALSE(mixer->MixabilityStatus(anonymous[i])) [all...] |
/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...] |
Android.mk | 5 LOCAL_SRC_FILES:= mixer.c pcm.c 16 LOCAL_SRC_FILES:= mixer.c pcm.c
|
/external/tinyalsa/include/tinyalsa/ |
asoundlib.h | 140 /* Mixer control types */ 259 * MIXER API 262 struct mixer; 265 /* Open and close a mixer */ 266 struct mixer *mixer_open(unsigned int card); 267 void mixer_close(struct mixer *mixer); 269 /* Get info about a mixer */ 270 const char *mixer_get_name(struct mixer *mixer); [all...] |
/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);
|
/frameworks/av/services/audioflinger/tests/ |
mixer_to_wav_tests.sh | 3 # This script uses test-mixer to generate WAV files 50 adb push $OUT/system/bin/test-mixer /system/bin 53 # mixer settings 65 adb shell test-mixer $1 -s 48000 \ 74 adb shell test-mixer $1 -s 48000 \ 85 adb shell test-mixer $1 -c 5 -s 9307 \ 94 adb shell test-mixer $1 -s 32000 \ 103 adb shell test-mixer $1 -s 32000 \ 112 adb shell test-mixer $1 -s 32000 \ 120 adb shell test-mixer $1 -s 44100 [all...] |
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...] |
Android.mk | 31 # audio mixer test tool 36 test-mixer.cpp \ 60 LOCAL_MODULE:= test-mixer
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/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...] |
asoundlib.h | 54 #include <alsa/mixer.h>
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/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...] |
/hardware/qcom/display/msm8084/liboverlay/ |
overlay.cpp | 113 eDest Overlay::nextPipe(eMdpPipeType type, int dpy, int mixer) { 121 (mPipeBook[i].mMixer == MIXER_UNUSED || //Free or same mixer 122 mPipeBook[i].mMixer == mixer) && 137 mPipeBook[index].mMixer = mixer; 143 PipeBook::getDestStr(dest), dpy, mixer); 149 ALOGD_IF(PIPE_DEBUG, "Pipe unavailable type=%d display=%d mixer=%d", 150 (int)type, dpy, mixer); 167 return nextPipe(OV_MDP_PIPE_VG, pipeSpecs.dpy, pipeSpecs.mixer); 170 dest = nextPipe(OV_MDP_PIPE_DMA, pipeSpecs.dpy, pipeSpecs.mixer); 173 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs.dpy, pipeSpecs.mixer); [all...] |
/hardware/qcom/display/msm8226/liboverlay/ |
overlay.cpp | 124 eDest Overlay::nextPipe(eMdpPipeType type, int dpy, int mixer) { 132 (mPipeBook[i].mMixer == MIXER_UNUSED || //Free or same mixer 133 mPipeBook[i].mMixer == mixer) && 148 mPipeBook[index].mMixer = mixer; 154 PipeBook::getDestStr(dest), dpy, mixer); 160 ALOGD_IF(PIPE_DEBUG, "Pipe unavailable type=%d display=%d mixer=%d", 161 (int)type, dpy, mixer); 180 return nextPipe(OV_MDP_PIPE_VG, pipeSpecs.dpy, pipeSpecs.mixer); 183 dest = nextPipe(OV_MDP_PIPE_DMA, pipeSpecs.dpy, pipeSpecs.mixer); 186 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs.dpy, pipeSpecs.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/qcom/audio/post_proc/ |
effect_api.h | 21 struct mixer *mixer, 23 void offload_close_mixer(struct mixer *mixer);
|
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);
|
/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.
|
/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
|