Home
last modified time | relevance | path

Searched refs:useFloat (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libaudioprocessing/tests/
Dtest-mixer.cpp81 const char *parseFormat(const char *s, bool *useFloat) { in parseFormat() argument
83 *useFloat = true; in parseFormat()
87 *useFloat = false; in parseFormat()
157 bool useFloat = useInputFloat; in main() local
161 const char *s = parseFormat(argv[i] + strlen(chirp), &useFloat); in main()
166 if (useFloat) { in main()
179 const char *s = parseFormat(argv[i] + strlen(sine), &useFloat); in main()
184 if (useFloat) { in main()
Dtest-resampler.cpp109 bool useFloat = false; in main() local
127 useFloat = true; in main()
187 if (useFloat && quality < AudioResampler::DYN_LOW_QUALITY) { in main()
247 if (useFloat) { in main()
331 audio_format_t format = useFloat ? AUDIO_FORMAT_PCM_FLOAT : AUDIO_FORMAT_PCM_16_BIT; in main()
333 size_t output_framesize = output_channels * (useFloat ? sizeof(float) : sizeof(int32_t)); in main()
469 if (useFloat) { in main()
Dresampler_tests.cpp89 void testBufferIncrement(size_t channels, bool useFloat, in testBufferIncrement() argument
93 const audio_format_t format = useFloat ? AUDIO_FORMAT_PCM_FLOAT : AUDIO_FORMAT_PCM_16_BIT; in testBufferIncrement()
97 if (useFloat) { in testBufferIncrement()
108 …size_t outputFrameSize = (channels == 1 ? 2 : channels) * (useFloat ? sizeof(float) : sizeof(int32… in testBufferIncrement()
/frameworks/av/media/libaudioprocessing/include/media/
DAudioMixerBase.h218 void adjustVolumeRamp(bool aux, bool useFloat = false);
/frameworks/av/media/libaudioprocessing/
DAudioMixerBase.cpp520 void AudioMixerBase::TrackBase::adjustVolumeRamp(bool aux, bool useFloat) in adjustVolumeRamp() argument
522 if (useFloat) { in adjustVolumeRamp()
552 if (useFloat) { in adjustVolumeRamp()