Home
last modified time | relevance | path

Searched refs:mixer (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/services/audioflinger/tests/
Dtest-mixer.cpp215 AudioMixer *mixer = new AudioMixer(mixerFrameCount, outputSampleRate); in main() local
227 int32_t name = mixer->getTrackName(channelMask, in main()
231 mixer->setBufferProvider(name, &Providers[i]); in main()
232 mixer->setParameter(name, AudioMixer::TRACK, AudioMixer::MAIN_BUFFER, in main()
234 mixer->setParameter( in main()
239 mixer->setParameter( in main()
244 mixer->setParameter( in main()
249 mixer->setParameter( in main()
254 mixer->setParameter( in main()
260 mixer->setParameter(name, AudioMixer::VOLUME, AudioMixer::VOLUME0, &f0); in main()
[all …]
Dmixer_to_wav_tests.sh50 adb push $OUT/system/bin/test-mixer /system/bin
65 adb shell test-mixer $1 -s 48000 \
75 adb shell test-mixer $1 -c 5 -s 9307 \
84 adb shell test-mixer $1 -s 32000 \
93 adb shell test-mixer $1 -s 32000 \
102 adb shell test-mixer $1 -s 32000 \
110 adb shell test-mixer $1 -s 44100 \
DAndroid.mk43 test-mixer.cpp \
69 LOCAL_MODULE:= test-mixer
/frameworks/av/services/audioflinger/
DFastMixer.cpp55 mixer(NULL), in FastMixer()
106 if (mixer != NULL) { in setLog()
107 mixer->setLog(logWriter); in setLog()
119 delete mixer; in onExit()
172 delete mixer; in onStateChange()
173 mixer = NULL; in onStateChange()
182 mixer = new AudioMixer(frameCount, sampleRate, FastMixerState::kMaxFastTracks); in onStateChange()
233 if (mixer != NULL) { in onStateChange()
236 mixer->deleteTrackName(name); in onStateChange()
253 if (mixer != NULL) { in onStateChange()
[all …]
DFastMixer.h63 AudioMixer* mixer; variable
/frameworks/base/cmds/bootanimation/
DAudioPlayer.cpp71 static bool setMixerValue(struct mixer* mixer, const char* name, const char* values) in setMixerValue() argument
73 if (!mixer) { in setMixerValue()
77 struct mixer_ctl *ctl = mixer_get_ctl_by_name(mixer, name); in setMixerValue()
143 struct mixer* mixer = NULL; in init() local
160 mixer = mixer_open(mCard); in init()
161 if (!mixer) { in init()
179 setMixerValue(mixer, name, values); in init()
187 mixer_close(mixer); in init()