Home | History | Annotate | Download | only in audioflinger

Lines Matching refs:audioFlinger

19 #define LOG_TAG "AudioFlinger"
32 #include "AudioFlinger.h"
61 // TrackBase constructor must be called with AudioFlinger::mLock held
62 AudioFlinger::ThreadBase::TrackBase::TrackBase(
170 AudioFlinger::ThreadBase::TrackBase::~TrackBase()
186 // Client destructor must run with AudioFlinger mutex locked
187 Mutex::Autolock _l(mClient->audioFlinger()->mLock);
189 // must run with AudioFlinger lock held. Thus the explicit clear() rather than
198 void AudioFlinger::ThreadBase::TrackBase::releaseBuffer(AudioBufferProvider::Buffer* buffer)
214 status_t AudioFlinger::ThreadBase::TrackBase::setSyncEvent(const sp<SyncEvent>& event)
224 AudioFlinger::TrackHandle::TrackHandle(const sp<AudioFlinger::PlaybackThread::Track>& track)
230 AudioFlinger::TrackHandle::~TrackHandle() {
238 sp<IMemory> AudioFlinger::TrackHandle::getCblk() const {
242 status_t AudioFlinger::TrackHandle::start() {
246 void AudioFlinger::TrackHandle::stop() {
250 void AudioFlinger::TrackHandle::flush() {
254 void AudioFlinger::TrackHandle::pause() {
258 status_t AudioFlinger::TrackHandle::attachAuxEffect(int EffectId)
263 status_t AudioFlinger::TrackHandle::allocateTimedBuffer(size_t size,
273 status_t AudioFlinger::TrackHandle::queueTimedBuffer(const sp<IMemory>& buffer,
283 status_t AudioFlinger::TrackHandle::setMediaTimeTransform(
295 status_t AudioFlinger::TrackHandle::setParameters(const String8& keyValuePairs) {
299 status_t AudioFlinger::TrackHandle::getTimestamp(AudioTimestamp& timestamp)
305 void AudioFlinger::TrackHandle::signal()
310 status_t AudioFlinger::TrackHandle::onTransact(
318 // Track constructor must be called with AudioFlinger::mLock and ThreadBase::mLock held
319 AudioFlinger::PlaybackThread::Track::Track(
384 AudioFlinger::PlaybackThread::Track::~Track()
399 void AudioFlinger::PlaybackThread::Track::destroy()
423 /*static*/ void AudioFlinger::PlaybackThread::Track::appendDumpHeader(String8& result)
429 void AudioFlinger::PlaybackThread::Track::dump(char* buffer, size_t size)
511 uint32_t AudioFlinger::PlaybackThread::Track::sampleRate() const {
516 status_t AudioFlinger::PlaybackThread::Track::getNextBuffer(
543 size_t AudioFlinger::PlaybackThread::Track::framesReady() const {
547 size_t AudioFlinger::PlaybackThread::Track::framesReleased() const
553 bool AudioFlinger::PlaybackThread::Track::isReady() const {
567 status_t AudioFlinger::PlaybackThread::Track::start(AudioSystem::sync_event_t event,
633 void AudioFlinger::PlaybackThread::Track::stop()
661 void AudioFlinger::PlaybackThread::Track::pause()
692 void AudioFlinger::PlaybackThread::Track::flush()
747 void AudioFlinger::PlaybackThread::Track::reset()
750 // the audioflinger thread detects the track is stopped.
763 status_t AudioFlinger::PlaybackThread::Track::setParameters(const String8& keyValuePairs)
777 status_t AudioFlinger::PlaybackThread::Track::getTimestamp(AudioTimestamp& timestamp)
808 status_t AudioFlinger::PlaybackThread::Track::attachAuxEffect(int EffectId)
814 sp<AudioFlinger> af = mClient->audioFlinger();
862 void AudioFlinger::PlaybackThread::Track::setAuxBuffer(int EffectId, int32_t *buffer)
868 bool AudioFlinger::PlaybackThread::Track::presentationComplete(size_t framesWritten,
896 void AudioFlinger::PlaybackThread::Track::triggerEvents(AudioSystem::sync_event_t type)
909 uint32_t AudioFlinger::PlaybackThread::Track::getVolumeLR()
934 status_t AudioFlinger::PlaybackThread::Track::setSyncEvent(const sp<SyncEvent>& event)
948 void AudioFlinger::PlaybackThread::Track::invalidate()
959 void AudioFlinger::PlaybackThread::Track::signal()
971 sp<AudioFlinger::PlaybackThread::TimedTrack>
972 AudioFlinger::PlaybackThread::TimedTrack::create(
991 AudioFlinger::PlaybackThread::TimedTrack::TimedTrack(
1030 AudioFlinger::PlaybackThread::TimedTrack::~TimedTrack() {
1035 status_t AudioFlinger::PlaybackThread::TimedTrack::allocateTimedBuffer(
1064 void AudioFlinger::PlaybackThread::TimedTrack::trimTimedBufferQueue_l() {
1143 void AudioFlinger::PlaybackThread::TimedTrack::trimTimedBufferQueueHead_l(
1153 void AudioFlinger::PlaybackThread::TimedTrack::updateFramesPendingAfterTrim_l(
1175 status_t AudioFlinger::PlaybackThread::TimedTrack::queueTimedBuffer(
1193 status_t AudioFlinger::PlaybackThread::TimedTrack::setMediaTimeTransform(
1216 status_t AudioFlinger::PlaybackThread::TimedTrack::getNextBuffer(
1376 void AudioFlinger::PlaybackThread::TimedTrack::timedYieldSamples_l(
1396 void AudioFlinger::PlaybackThread::TimedTrack::timedYieldSilence_l(
1415 void AudioFlinger::PlaybackThread::TimedTrack::releaseBuffer(
1475 size_t AudioFlinger::PlaybackThread::TimedTrack::framesReady() const {
1480 AudioFlinger::PlaybackThread::TimedTrack::TimedBuffer::TimedBuffer()
1483 AudioFlinger::PlaybackThread::TimedTrack::TimedBuffer::TimedBuffer(
1490 AudioFlinger::PlaybackThread::OutputTrack::OutputTrack(
1523 AudioFlinger::PlaybackThread::OutputTrack::~OutputTrack()
1530 status_t AudioFlinger::PlaybackThread::OutputTrack::start(AudioSystem::sync_event_t event,
1543 void AudioFlinger::PlaybackThread::OutputTrack::stop()
1551 bool AudioFlinger::PlaybackThread::OutputTrack::write(int16_t* data, uint32_t frames)
1681 status_t AudioFlinger::PlaybackThread::OutputTrack::obtainBuffer(
1695 void AudioFlinger::PlaybackThread::OutputTrack::clearBufferQueue()
1712 AudioFlinger::RecordHandle::RecordHandle(
1713 const sp<AudioFlinger::RecordThread::RecordTrack>& recordTrack)
1719 AudioFlinger::RecordHandle::~RecordHandle() {
1724 sp<IMemory> AudioFlinger::RecordHandle::getCblk() const {
1728 status_t AudioFlinger::RecordHandle::start(int /*AudioSystem::sync_event_t*/ event,
1734 void AudioFlinger::RecordHandle::stop() {
1738 void AudioFlinger::RecordHandle::stop_nonvirtual() {
1743 status_t AudioFlinger::RecordHandle::onTransact(
1751 // RecordTrack constructor must be called with AudioFlinger::mLock held
1752 AudioFlinger::RecordThread::RecordTrack::RecordTrack(
1773 AudioFlinger::RecordThread::RecordTrack::~RecordTrack()
1779 status_t AudioFlinger::RecordThread::RecordTrack::getNextBuffer(AudioBufferProvider::Buffer* buffer,
1794 status_t AudioFlinger::RecordThread::RecordTrack::start(AudioSystem::sync_event_t event,
1806 void AudioFlinger::RecordThread::RecordTrack::stop()
1817 void AudioFlinger::RecordThread::RecordTrack::destroy()
1819 // see comments at AudioFlinger::PlaybackThread::Track::destroy()
1835 void AudioFlinger::RecordThread::RecordTrack::invalidate()
1846 /*static*/ void AudioFlinger::RecordThread::RecordTrack::appendDumpHeader(String8& result)
1851 void AudioFlinger::RecordThread::RecordTrack::dump(char* buffer, size_t size)