Lines Matching refs:streamType

54         audio_stream_type_t streamType,
69 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) {
73 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) {
77 if (AudioSystem::getOutputLatency(&afLatency, streamType) != NO_ERROR) {
103 audio_stream_type_t streamType,
118 mStatus = set(streamType, sampleRate, format, channelMask,
125 int streamType,
139 mStatus = set((audio_stream_type_t)streamType, sampleRate, (audio_format_t)format,
146 audio_stream_type_t streamType,
161 mStatus = set(streamType, sampleRate, format, channelMask,
187 audio_stream_type_t streamType,
203 ALOGV("set() streamType %d frameCount %d flags %04x", streamType, frameCount, flags);
212 if (streamType == AUDIO_STREAM_DEFAULT) {
213 streamType = AUDIO_STREAM_MUSIC;
218 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) {
251 if (streamType != AUDIO_STREAM_MUSIC) {
262 streamType,
267 ALOGE("Could not get audio output for stream type %d", streamType);
287 status_t status = createTrack_l(streamType,
306 mStreamType = streamType;
337 audio_stream_type_t AudioTrack::streamType() const
750 audio_stream_type_t streamType,
767 if (AudioSystem::getLatency(output, streamType, &afLatency) != NO_ERROR) {
795 if (AudioSystem::getFrameCount(output, streamType, &afFrameCount) != NO_ERROR) {
827 if (AudioSystem::getSamplingRate(output, streamType, &afSampleRate) != NO_ERROR) {
831 if (AudioSystem::getFrameCount(output, streamType, &afFrameCount) != NO_ERROR) {
880 streamType,