Lines Matching refs:AudioMixerBase
58 bool AudioMixerBase::isValidFormat(audio_format_t format) const in isValidFormat()
72 bool AudioMixerBase::isValidChannelMask(audio_channel_mask_t channelMask) const in isValidChannelMask()
77 std::shared_ptr<AudioMixerBase::TrackBase> AudioMixerBase::preCreateTrack() in preCreateTrack()
82 status_t AudioMixerBase::create( in create()
160 bool AudioMixerBase::setChannelMasks(int name, in setChannelMasks()
184 void AudioMixerBase::destroy(int name) in destroy()
195 void AudioMixerBase::enable(int name) in enable()
207 void AudioMixerBase::disable(int name) in disable()
271 newVolume = AudioMixerBase::UNITY_GAIN_FLOAT; in setVolumeRampVariables()
279 if (newVolume > AudioMixerBase::UNITY_GAIN_FLOAT) { in setVolumeRampVariables()
280 newVolume = AudioMixerBase::UNITY_GAIN_FLOAT; in setVolumeRampVariables()
313 … const float scaledVolume = newVolume * AudioMixerBase::UNITY_GAIN_INT; // not neg, subnormal, nan in setVolumeRampVariables()
314 const int32_t intVolume = (scaledVolume >= (float)AudioMixerBase::UNITY_GAIN_INT) ? in setVolumeRampVariables()
315 AudioMixerBase::UNITY_GAIN_INT : (int32_t)scaledVolume; in setVolumeRampVariables()
345 void AudioMixerBase::setParameter(int name, int target, int param, void *value) in setParameter()
471 bool AudioMixerBase::TrackBase::setResampler(uint32_t trackSampleRate, uint32_t devSampleRate) in setResampler()
520 void AudioMixerBase::TrackBase::adjustVolumeRamp(bool aux, bool useFloat) in adjustVolumeRamp()
572 void AudioMixerBase::TrackBase::recreateResampler(uint32_t devSampleRate) in recreateResampler()
583 size_t AudioMixerBase::getUnreleasedFrames(int name) const in getUnreleasedFrames()
592 std::string AudioMixerBase::trackNames() const in trackNames()
601 void AudioMixerBase::process__validate() in process__validate()
671 mHook = &AudioMixerBase::process__nop; in process__validate()
680 mHook = &AudioMixerBase::process__genericResampling; in process__validate()
683 mHook = &AudioMixerBase::process__genericNoResampling; in process__validate()
722 mHook = &AudioMixerBase::process__nop; in process__validate()
735 void AudioMixerBase::TrackBase::track__genericResample( in track__genericResample()
769 void AudioMixerBase::TrackBase::track__nop(int32_t* out __unused, in track__nop()
774 void AudioMixerBase::TrackBase::volumeRampStereo( in volumeRampStereo()
817 void AudioMixerBase::TrackBase::volumeStereo( in volumeStereo()
846 void AudioMixerBase::TrackBase::track__16BitsStereo( in track__16BitsStereo()
938 void AudioMixerBase::TrackBase::track__16BitsMono( in track__16BitsMono()
1027 void AudioMixerBase::process__nop() in process__nop()
1056 void AudioMixerBase::process__genericNoResampling() in process__genericNoResampling()
1136 void AudioMixerBase::process__genericResampling() in process__genericResampling()
1188 void AudioMixerBase::process__oneTrack16BitsStereoNoResampling() in process__oneTrack16BitsStereoNoResampling()
1373 void AudioMixerBase::TrackBase::volumeMix(TO *out, size_t outFrames, in volumeMix()
1423 void AudioMixerBase::process__noResampleOneTrack() in process__noResampleOneTrack()
1479 void AudioMixerBase::TrackBase::track__Resample(TO* out, size_t outFrameCount, TO* temp, TA* aux) in track__Resample()
1510 void AudioMixerBase::TrackBase::track__NoResample( in track__NoResample()
1530 void AudioMixerBase::convertMixerFormat(void *out, audio_format_t mixerOutFormat, in convertMixerFormat()
1569 AudioMixerBase::hook_t AudioMixerBase::TrackBase::getTrackHook(int trackType, uint32_t channelCount, in getTrackHook()
1594 return (AudioMixerBase::hook_t) &TrackBase::track__Resample< in getTrackHook()
1597 return (AudioMixerBase::hook_t) &TrackBase::track__Resample< in getTrackHook()
1607 return (AudioMixerBase::hook_t) &TrackBase::track__NoResample< in getTrackHook()
1610 return (AudioMixerBase::hook_t) &TrackBase::track__NoResample< in getTrackHook()
1620 return (AudioMixerBase::hook_t) &TrackBase::track__NoResample< in getTrackHook()
1623 return (AudioMixerBase::hook_t) &TrackBase::track__NoResample< in getTrackHook()
1645 AudioMixerBase::process_hook_t AudioMixerBase::getProcessHook( in getProcessHook()
1654 return &AudioMixerBase::process__oneTrack16BitsStereoNoResampling; in getProcessHook()
1661 return &AudioMixerBase::process__noResampleOneTrack< in getProcessHook()
1664 return &AudioMixerBase::process__noResampleOneTrack< in getProcessHook()
1674 return &AudioMixerBase::process__noResampleOneTrack< in getProcessHook()
1677 return &AudioMixerBase::process__noResampleOneTrack< in getProcessHook()