HomeSort by relevance Sort by last modified time
    Searched refs:mixer (Results 1 - 25 of 29) 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...]
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
60 void mixer_close(struct mixer *mixer)
64 if (!mixer)
67 if (mixer->fd >= 0)
68 close(mixer->fd);
70 if (mixer->ctl)
95 struct mixer *mixer = NULL; local
    [all...]
Android.mk 5 LOCAL_SRC_FILES:= mixer.c pcm.c
16 LOCAL_SRC_FILES:= mixer.c pcm.c
  /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...]
asoundlib.h 54 #include <alsa/mixer.h>
  /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...]
asoundlib.h 54 #include <alsa/mixer.h>
  /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...]
asoundlib.h 54 #include <alsa/mixer.h>
  /external/tinyalsa/include/tinyalsa/
asoundlib.h 124 /* Mixer control types */
204 * MIXER API
207 struct mixer;
210 /* Open and close a mixer */
211 struct mixer *mixer_open(unsigned int card);
212 void mixer_close(struct mixer *mixer);
214 /* Obtain mixer controls */
215 unsigned int mixer_get_num_ctls(struct mixer *mixer);
    [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
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
  /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
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
  /hardware/ti/wpan/tools/kfmapp/
kfmapp.c 40 struct mixer *mixer; variable in typeref:struct:mixer
826 static void tinymix_set_value(struct mixer *mixer, unsigned int id,
833 ctl = mixer_get_ctl(mixer, id);
849 mixer = mixer_open(0);
850 if (!mixer) {
851 fprintf(stderr, "Failed to open mixer\n");
865 tinymix_set_value(mixer, 77, 2);
866 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
49 // Fast mixer thread
59 int fastTrackNames[FastMixerState::kMaxFastTracks]; // handles used by mixer to identify tracks
68 AudioMixer* mixer = NULL; local
127 if (mixer != NULL) {
128 mixer->setLog(logWriter);
177 // This may be overly conservative; there could be times that the normal mixer
193 delete mixer;
230 delete mixer;
231 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.
  /device/ti/panda/audio/
audio_hw.c 50 /* Mixer control names */
69 #define MIXER_DL1_MIXER_MULTIMEDIA "DL1 Mixer Multimedia"
70 #define MIXER_DL1_MIXER_VOICE "DL1 Mixer Voice"
71 #define MIXER_DL1_MONO_MIXER "DL1 Mono Mixer"
72 #define MIXER_DL2_MIXER_MULTIMEDIA "DL2 Mixer Multimedia"
73 #define MIXER_DL2_MIXER_VOICE "DL2 Mixer Voice"
74 #define MIXER_DL2_MONO_MIXER "DL2 Mono Mixer"
75 #define MIXER_SIDETONE_MIXER_PLAYBACK "Sidetone Mixer Playback"
76 #define MIXER_SIDETONE_MIXER_CAPTURE "Sidetone Mixer Capture"
80 #define MIXER_VOICE_CAPTURE_MIXER_CAPTURE "Voice Capture Mixer Capture
580 struct mixer *mixer; member in struct:omap4_audio_device
    [all...]
  /system/media/audio_route/
audio_route.c 69 struct mixer *mixer; member in struct:audio_route
138 /* check if we need to allocate more space for mixer paths */
155 /* initialise the new mixer path */
161 /* return the mixer path just added, then increment number of them */
241 /* Check that mixer value index is within range */
244 ALOGE("mixer index %d is out of range for '%s'", mixer_value->index,
304 /* locate the mixer ctl in the list */
330 /* locate the mixer ctl in the list */
348 /* mixer helper function *
    [all...]
  /device/samsung/tuna/audio/
audio_hw.c 43 /* Mixer control names */
61 #define MIXER_DL1_MIXER_MULTIMEDIA "DL1 Mixer Multimedia"
62 #define MIXER_DL1_MIXER_VOICE "DL1 Mixer Voice"
63 #define MIXER_DL1_MIXER_TONES "DL1 Mixer Tones"
64 #define MIXER_DL2_MIXER_MULTIMEDIA "DL2 Mixer Multimedia"
65 #define MIXER_DL2_MIXER_VOICE "DL2 Mixer Voice"
66 #define MIXER_DL2_MIXER_TONES "DL2 Mixer Tones"
67 #define MIXER_SIDETONE_MIXER_PLAYBACK "Sidetone Mixer Playback"
68 #define MIXER_SIDETONE_MIXER_CAPTURE "Sidetone Mixer Capture"
69 #define MIXER_DL2_MONO_MIXER "DL2 Mono Mixer"
645 struct mixer *mixer; member in struct:tuna_audio_device
    [all...]
  /hardware/qcom/audio/hal/
audio_hw.h 44 * devices to enable corresponding mixer paths
240 struct mixer *mixer; member in struct:audio_device

Completed in 534 milliseconds

1 2