Lines Matching refs:streamType

209 status_t AudioSystem::getOutputSamplingRate(int* samplingRate, int streamType) {
210 return getOutputSamplingRate(samplingRate, (audio_stream_type_t)streamType);
213 status_t AudioSystem::getOutputSamplingRate(int* samplingRate, audio_stream_type_t streamType)
217 if (streamType == AUDIO_STREAM_DEFAULT) {
218 streamType = AUDIO_STREAM_MUSIC;
221 output = getOutput(streamType);
226 return getSamplingRate(output, streamType, samplingRate);
230 audio_stream_type_t streamType,
249 ALOGV("getSamplingRate() streamType %d, output %d, sampling rate %d", streamType, output, *samplingRate);
255 status_t AudioSystem::getOutputFrameCount(int* frameCount, int streamType) {
256 return getOutputFrameCount(frameCount, (audio_stream_type_t)streamType);
259 status_t AudioSystem::getOutputFrameCount(int* frameCount, audio_stream_type_t streamType)
263 if (streamType == AUDIO_STREAM_DEFAULT) {
264 streamType = AUDIO_STREAM_MUSIC;
267 output = getOutput(streamType);
272 return getFrameCount(output, streamType, frameCount);
276 audio_stream_type_t streamType,
293 ALOGV("getFrameCount() streamType %d, output %d, frameCount %d", streamType, output, *frameCount);
298 status_t AudioSystem::getOutputLatency(uint32_t* latency, audio_stream_type_t streamType)
302 if (streamType == AUDIO_STREAM_DEFAULT) {
303 streamType = AUDIO_STREAM_MUSIC;
306 output = getOutput(streamType);
311 return getLatency(output, streamType, latency);
315 audio_stream_type_t streamType,
332 ALOGV("getLatency() streamType %d, output %d, latency %d", streamType, output, *latency);
495 bool AudioSystem::routedToA2dpOutput(audio_stream_type_t streamType) {
496 switch (streamType) {