Lines Matching refs:AudioSystem
132 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType);
139 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType);
146 status = AudioSystem::getOutputLatency(&afLatency, streamType);
264 AudioSystem::removeAudioDeviceCallback(mDeviceCallback, mOutput);
273 AudioSystem::releaseAudioSessionId(mSessionId, mClientPid);
480 mSessionId = (audio_session_t) AudioSystem::newAudioUniqueId(AUDIO_UNIQUE_ID_USE_SESSION);
531 AudioSystem::acquireAudioSessionId(mSessionId, mClientPid);
746 AudioSystem::getRenderPosition(mOutput, &halFrames, &mPausedPosition);
813 if (AudioSystem::getSamplingRate(mOutput, &afSamplingRate) != NO_ERROR) {
839 status_t status = AudioSystem::getSamplingRate(mOutput, &sampleRate);
1108 (void) AudioSystem::getRenderPosition(mOutput, &halFrames, &dspFrames);
1195 return AudioSystem::getDeviceIdForIo(mOutput);
1221 const sp<IAudioFlinger>& audioFlinger = AudioSystem::get_audio_flinger();
1228 AudioSystem::removeAudioDeviceCallback(mDeviceCallback, mOutput);
1238 status = AudioSystem::getOutputForAttr(attr, &output,
1254 status = AudioSystem::getLatency(output, &mAfLatency);
1261 status = AudioSystem::getFrameCount(output, &mAfFrameCount);
1269 status = AudioSystem::getFrameCountHAL(output, &afFrameCountHAL);
1276 status = AudioSystem::getSamplingRate(output, &mAfSampleRate);
1545 AudioSystem::addAudioDeviceCallback(mDeviceCallback, mOutput);
1552 AudioSystem::releaseOutput(output, streamType, mSessionId);
1801 // AudioSystem cache. We should not exit here but after calling the callback so
2172 AudioSystem::clearAudioConfigCache();
2543 return AudioSystem::getParameters(output, keys);
2608 status_t AudioTrack::addAudioDeviceCallback(const sp<AudioSystem::AudioDeviceCallback>& callback)
2623 AudioSystem::removeAudioDeviceCallback(mDeviceCallback, mOutput);
2625 status = AudioSystem::addAudioDeviceCallback(callback, mOutput);
2632 const sp<AudioSystem::AudioDeviceCallback>& callback)
2644 AudioSystem::removeAudioDeviceCallback(mDeviceCallback, mOutput);