Home
last modified time | relevance | path

Searched refs:TrackBase (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/media/libaudioprocessing/
DAudioMixerBase.cpp77 std::shared_ptr<AudioMixerBase::TrackBase> AudioMixerBase::preCreateTrack() in preCreateTrack()
79 return std::make_shared<TrackBase>(); in preCreateTrack()
164 const std::shared_ptr<TrackBase> &track = mTracks[name]; in setChannelMasks()
198 const std::shared_ptr<TrackBase> &track = mTracks[name]; in enable()
210 const std::shared_ptr<TrackBase> &track = mTracks[name]; in disable()
348 const std::shared_ptr<TrackBase> &track = mTracks[name]; 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()
614 const std::shared_ptr<TrackBase> &t = pair.second; in process__validate()
[all …]
DAudioMixer.cpp526 std::shared_ptr<AudioMixerBase::TrackBase> AudioMixer::preCreateTrack() in preCreateTrack()
531 status_t AudioMixer::postCreateTrack(TrackBase *track) in postCreateTrack()
574 const std::shared_ptr<TrackBase> &tb = pair.second; in preProcess()
/frameworks/av/media/libaudioprocessing/include/media/
DAudioMixerBase.h198 struct TrackBase;
199 using hook_t = void(TrackBase::*)(
202 struct TrackBase { struct
203 TrackBase() in TrackBase() argument
208 virtual ~TrackBase() {} in ~TrackBase() argument
304 virtual std::shared_ptr<TrackBase> preCreateTrack();
305 virtual status_t postCreateTrack(TrackBase *track __unused) { return OK; } in postCreateTrack()
354 std::map<int /* name */, std::shared_ptr<TrackBase>> mTracks;
/frameworks/av/media/libaudioclient/include/media/
DAudioMixer.h96 struct Track : public TrackBase {
97 Track() : TrackBase() {} in Track()
221 std::shared_ptr<TrackBase> preCreateTrack() override;
222 status_t postCreateTrack(TrackBase *track) override;
/frameworks/av/services/audioflinger/
DTrackBase.h23 class TrackBase : public ExtendedAudioBufferProvider, public RefBase {
57 TrackBase(ThreadBase *thread,
73 virtual ~TrackBase();
206 DISALLOW_COPY_AND_ASSIGN(TrackBase);
DTracks.cpp67 AudioFlinger::ThreadBase::TrackBase::TrackBase( in TrackBase() function in android::AudioFlinger::ThreadBase::TrackBase
227 status_t AudioFlinger::ThreadBase::TrackBase::initCheck() const in initCheck()
238 AudioFlinger::ThreadBase::TrackBase::~TrackBase() in ~TrackBase()
264 void AudioFlinger::ThreadBase::TrackBase::releaseBuffer(AudioBufferProvider::Buffer* buffer) in releaseBuffer()
278 status_t AudioFlinger::ThreadBase::TrackBase::setSyncEvent(const sp<SyncEvent>& event) in setSyncEvent()
518 : TrackBase(thread, client, attr, sampleRate, format, channelMask, frameCount, in Track()
615 status_t status = TrackBase::initCheck(); in initCheck()
812 TrackBase::releaseBuffer(buffer); in releaseBuffer()
933 mState = TrackBase::STOPPING_1; in start()
937 mState = TrackBase::RESUMING; in start()
[all …]
DMmapTracks.h23 class MmapTrack : public TrackBase {
DThreads.cpp2298 sessionId, creatorPid, uid, *flags, TrackBase::TYPE_DEFAULT, portId); in createTrack_l()
2433 TrackBase::track_state state = track->mState; in addTrack_l()
2512 track->mState = TrackBase::STOPPED; in destroyTrack_l()
2516 track->mState = TrackBase::STOPPING_1; in destroyTrack_l()
4764 case TrackBase::STOPPING_1: in prepareTracks_l()
4767 track->mState = TrackBase::STOPPING_2; in prepareTracks_l()
4770 case TrackBase::PAUSING: in prepareTracks_l()
4774 case TrackBase::RESUMING: in prepareTracks_l()
4776 track->mState = TrackBase::ACTIVE; in prepareTracks_l()
4778 case TrackBase::ACTIVE: in prepareTracks_l()
[all …]
DPlaybackTracks.h59 class Track : public TrackBase, public VolumeProvider {
127 return isStatic() ? 0. : TrackBase::bufferLatencyMs(); in bufferLatencyMs()
DRecordTracks.h56 class RecordTrack : public TrackBase {
DPatchPanel.cpp620 ThreadBase::TrackBase::FrameTime recordFT{}, playFT{}; in getLatencyMs()
DThreads.h408 const sp<TrackBase>& track = tracks[i]; in hasAudioSession_l()