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

1 2

  /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
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...]
  /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 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...]
  /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/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);
644 ALOGE("Error mixer init");
  /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/msm8994/liboverlay/
overlay.cpp 109 int mixer = pipeSpecs.mixer; local
116 (mPipeBook[i].mMixer == MIXER_UNUSED || //Free or same mixer
117 mPipeBook[i].mMixer == mixer) &&
134 mPipeBook[index].mMixer = mixer;
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);
174 * asisgned to a mixer within a display it cannot be reused for another
175 * mixer without being UNSET once*/
209 /* Mixer within a split display this pipe is attached to */
211 /* Format for which this pipe is attached to the mixer*/
279 inline int Overlay::availablePipes(int dpy, int mixer) {
285 mPipeBook[i].mMixer == mixer) &
    [all...]
  /system/media/audio_route/
audio_route.c 63 struct mixer *mixer; member in struct:audio_route
150 /* check if we need to allocate more space for mixer paths */
167 /* initialise the new mixer path */
173 /* return the mixer path just added, then increment number of them */
252 /* Check that mixer value index is within range */
256 ALOGE("mixer index %d is out of range for '%s'", mixer_value->index,
346 /* mixer helper function */
403 /* Obtain the mixer ctl and value */
404 ctl = mixer_get_ctl_by_name(ar->mixer, attr_name)
    [all...]
  /bionic/libc/kernel/uapi/sound/
hdspm.h 174 struct hdspm_mixer * mixer; member in struct:hdspm_mixer_ioctl
  /external/kernel-headers/original/uapi/sound/
hdspm.h 190 /* ------------- get Matrix Mixer IOCTL --------------- */
192 /* MADI mixer: 64inputs+64playback in 64outputs = 8192 => *4Byte =
201 Ins to Outs mixer[out].in[in], Outstreams to Outs mixer[out].pb[pb] */
215 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...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/alsa/sound/
hdspm.h 190 /* ------------- get Matrix Mixer IOCTL --------------- */
192 /* MADI mixer: 64inputs+64playback in 64outputs = 8192 => *4Byte =
201 Ins to Outs mixer[out].in[in], Outstreams to Outs mixer[out].pb[pb] */
215 struct hdspm_mixer *mixer; member in struct:hdspm_mixer_ioctl
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/sound/
hdspm.h 190 /* ------------- get Matrix Mixer IOCTL --------------- */
192 /* MADI mixer: 64inputs+64playback in 64outputs = 8192 => *4Byte =
201 Ins to Outs mixer[out].in[in], Outstreams to Outs mixer[out].pb[pb] */
215 struct hdspm_mixer *mixer; member in struct:hdspm_mixer_ioctl
  /hardware/qcom/audio/hal/
audio_hw.h 207 struct mixer *mixer; member in struct:audio_device

Completed in 864 milliseconds

1 2