HomeSort by relevance Sort by last modified time
    Searched refs:mixer (Results 1 - 25 of 71) sorted by null

1 2 3

  /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/
mixer.c 0 /* mixer.c
50 struct mixer *mixer; member in struct:mixer_ctl
55 struct mixer { struct
63 void mixer_close(struct mixer *mixer)
67 if (!mixer)
70 if (mixer->fd >= 0)
71 close(mixer->fd);
73 if (mixer->ctl)
98 struct mixer *mixer = NULL; local
    [all...]
tinymix.c 38 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; local
108 mixer = mixer_open(card);
109 if (!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/media/libaudioprocessing/tests/
mixer_to_wav_tests.sh 3 # This script uses test-mixer to generate WAV files
51 adb push $OUT/system/bin/test-mixer /system/bin
54 # mixer settings
66 adb shell test-mixer $1 -s 48000 \
75 adb shell test-mixer $1 -s 48000 \
86 adb shell test-mixer $1 -c 5 -s 9307 \
95 adb shell test-mixer $1 -s 32000 \
104 adb shell test-mixer $1 -s 32000 \
113 adb shell test-mixer $1 -s 32000 \
121 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 32 # audio mixer test tool
37 test-mixer.cpp \
52 LOCAL_MODULE := test-mixer
  /external/tinyalsa/include/tinyalsa/
asoundlib.h 143 /* Mixer control types */
269 * MIXER API
272 struct mixer;
275 /* Open and close a mixer */
276 struct mixer *mixer_open(unsigned int card);
277 void mixer_close(struct mixer *mixer);
279 /* Get info about a mixer */
280 const char *mixer_get_name(struct mixer *mixer);
    [all...]
  /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...]
asoundlib.h 54 #include <alsa/mixer.h>
  /hardware/qcom/audio/hal/
acdb.c 40 struct mixer *mixer = NULL; local
48 mixer = mixer_open(snd_card_num);
49 if (!mixer) {
50 ALOGE("%s: Unable to open the mixer card: %d", __func__,
98 ctl = mixer_get_ctl_by_name(mixer, CVD_VERSION_MIXER_CTL);
100 ALOGE("%s: Could not get ctl for mixer cmd - %s", __func__, CVD_VERSION_MIXER_CTL);
117 snd_card_name = strdup(mixer_get_name(mixer));
146 mixer_close(mixer);
  /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...]
  /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 113 unsigned int mixer = -1; local
114 sscanf(de->d_name, MIXER_PREFIX "C%u", &mixer);
204 struct mixer *mixer; local
206 mixer = mixer_open(i);
207 EXPECT_TRUE(mixer != NULL);
208 if (mixer)
209 mixer_close(mixer);
  /hardware/qcom/audio/hal/audio_extn/
utils.c 58 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name);
60 ALOGE("%s: Could not get ctl for mixer cmd - %s",
82 void audio_extn_utils_send_default_app_type_cfg(void *platform, struct mixer *mixer)
89 ctl = mixer_get_ctl_by_name(mixer, mixer_ctl_name);
91 ALOGE("%s: Could not get ctl for mixer cmd - %s",__func__, mixer_ctl_name);
406 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name);
408 ALOGE("%s: Could not get volume ctl mixer %s", __func__,
516 struct mixer *mixer = NULL local
    [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 39 struct mixer* mixerp = mixer_open(hwId);
46 LOGI("Mixer control %s type %s value %d", mixer_ctl_get_name(control),
50 // no mixer control for MobilePre. If this assumption fails,
51 // 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

Completed in 2045 milliseconds

1 2 3