Home
last modified time | relevance | path

Searched refs:mStreamType (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/android/preference/
DVolumePreference.java46 private int mStreamType; field in VolumePreference
56 mStreamType = a.getInt(android.R.styleable.VolumePreference_streamType, 0); in VolumePreference()
61 mStreamType = streamType; in setStreamType()
69 mSeekBarVolumizer = new SeekBarVolumizer(getContext(), seekBar, mStreamType); in onBindDialogView()
222 private int mStreamType; field in VolumePreference.SeekBarVolumizer
235 System.VOLUME_SETTINGS[mStreamType], -1);
248 mStreamType = streamType; in SeekBarVolumizer()
255 seekBar.setMax(mAudioManager.getStreamMaxVolume(mStreamType)); in initSeekBar()
256 mOriginalStreamVolume = mAudioManager.getStreamVolume(mStreamType); in initSeekBar()
261 System.getUriFor(System.VOLUME_SETTINGS[mStreamType]), in initSeekBar()
[all …]
/frameworks/base/media/java/android/media/
DRingtone.java65 private int mStreamType = AudioManager.STREAM_RING; field in Ringtone
81 mStreamType = streamType; in setStreamType()
102 return mStreamType; in getStreamType()
188 mAudio.setAudioStreamType(mStreamType); in openMediaPlayer()
222 if (mAudioManager.getStreamVolume(mStreamType) != 0) { in play()
DAudioService.java1286 private final int mStreamType; field in AudioService.VolumeStreamState
1299 mStreamType = streamType; in VolumeStreamState()
1337 … if (streamType != mStreamType && STREAM_VOLUME_ALIAS[streamType] == mStreamType) { in setIndex()
1338 … mStreamStates[streamType].setIndex(rescaleIndex(mIndex, mStreamType, streamType), lastAudible); in setIndex()
1362 Log.e(TAG, "Could not get client death handler for stream: "+mStreamType); in mute()
1400 … sendMsg(mAudioHandler, MSG_SET_SYSTEM_VOLUME, mStreamType, SENDMSG_NOOP, 0, 0, in mute()
1410 Log.w(TAG, "stream: "+mStreamType+" was already muted by this client"); in mute()
1415 Log.e(TAG, "unexpected unmute for stream: "+mStreamType); in mute()
1428 …if (!isStreamAffectedByRingerMode(mStreamType) || mRingerMode == AudioManager.RINGER_MODE_NORMAL) { in mute()
1430 … sendMsg(mAudioHandler, MSG_SET_SYSTEM_VOLUME, mStreamType, SENDMSG_NOOP, 0, 0, in mute()
[all …]
DAudioTrack.java198 private int mStreamType = AudioManager.STREAM_MUSIC; field in AudioTrack
324 mStreamType, mSampleRate, mChannels, mAudioFormat, in AudioTrack()
363 mStreamType = streamType; in audioParamCheck()
513 return mStreamType; in getStreamType()
/frameworks/base/media/libstagefright/
DMPEG2TSWriter.cpp70 unsigned mStreamType; member
86 mStreamType(0), in SourceInfo()
95 mStreamType = 0x0f; in SourceInfo()
97 mStreamType = 0x1b; in SourceInfo()
107 return mStreamType; in streamType()
366 if (mStreamType == 0x0f) { in onMessageReceived()
378 if (mStreamType == 0x0f && mAACCodecSpecificData == NULL) { in onMessageReceived()
390 if (mStreamType == 0x0f) { in onMessageReceived()
/frameworks/base/media/libstagefright/mpeg2ts/
DATSParser.cpp86 unsigned mStreamType; member
271 mStreamType(streamType), in Stream()
324 if (mStreamType == 0x1b && mSource != NULL) { in signalDiscontinuity()
500 LOGV("onPayloadData mStreamType=0x%02x", mStreamType); in onPayloadData()
528 if ((type == AVC_VIDEO && mStreamType == 0x1b) in getSource()
529 || (type == MPEG2ADTS_AUDIO && mStreamType == 0x0f)) { in getSource()
/frameworks/base/packages/TtsService/jni/
Dandroid_tts_SynthProxy.cpp162 AudioSystem::stream_type mStreamType; member in SynthProxyJniStorage
175 mStreamType = DEFAULT_TTS_STREAM_TYPE; in SynthProxyJniStorage()
212 mStreamType = streamType; in createAudioOut()
217 if (AudioSystem::getOutputSamplingRate(&afSampleRate, mStreamType) != NO_ERROR) { in createAudioOut()
221 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != NO_ERROR) { in createAudioOut()
225 if (AudioSystem::getOutputLatency(&afLatency, mStreamType) != NO_ERROR) { in createAudioOut()
233 mAudioOut = new AudioTrack(mStreamType, rate, format, in createAudioOut()
261 (streamType == pJniData->mStreamType) ){ in prepAudioTrack()
/frameworks/base/cmds/stagefright/
Dstagefright.cpp299 StreamType mStreamType; member
306 mStreamType(OTHER) { in DetectSyncSource()
311 mStreamType = AVC; in DetectSyncSource()
313 mStreamType = MPEG4; in DetectSyncSource()
316 mStreamType = H263; in DetectSyncSource()
357 if (mStreamType == AVC && isIDRFrame(*buffer)) { in read()
/frameworks/base/media/libmedia/
DAudioTrack.cpp232 mStreamType = streamType; in set()
265 return mStreamType; in streamType()
336 status = createTrack(mStreamType, mCblk->sampleRate, mFormat, mChannelCount, in start()
488 if (AudioSystem::getOutputSamplingRate(&afSamplingRate, mStreamType) != NO_ERROR) { in setSampleRate()
632 return AudioSystem::getOutput((AudioSystem::stream_type)mStreamType, in getOutput()
821 … result = createTrack(mStreamType, cblk->sampleRate, mFormat, mChannelCount, in obtainBuffer()
1075 …snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n", mStreamType, mVolume[0],… in dump()
Dmediaplayer.cpp48 mStreamType = AudioSystem::MUSIC; in MediaPlayer()
220 mPlayer->setAudioStreamType(mStreamType); in prepareAsync_l()
462 if (mStreamType == type) return NO_ERROR; in setAudioStreamType()
470 mStreamType = type; in setAudioStreamType()
DToneGenerator.cpp813 mStreamType = streamType; in ToneGenerator()
1027 mpAudioTrack->set(mStreamType, in initAudioTrack()
/frameworks/base/media/jni/soundpool/
DSoundPool.h181 int streamType() const { return mStreamType; } in streamType()
221 int mStreamType; variable
DSoundPool.cpp58 mStreamType = streamType; in SoundPool()
/frameworks/base/media/libmediaplayerservice/
DMidiFile.h72 int mStreamType; variable
DMediaPlayerService.h93 void setAudioStreamType(int streamType) { mStreamType = streamType; } in setAudioStreamType()
109 int mStreamType; variable
DMediaPlayerService.cpp327 mStreamType, mLeftVolume, mRightVolume); in dump()
1304 mStreamType = AudioSystem::MUSIC; in AudioOutput()
1399 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != NO_ERROR) { in open()
1402 if (AudioSystem::getOutputSamplingRate(&afSampleRate, mStreamType) != NO_ERROR) { in open()
1411 mStreamType, in open()
1423 mStreamType, in open()
DMidiFile.cpp61 mStreamType(AudioSystem::MUSIC), mLoop(false), mExit(false), in MidiFile()
/frameworks/base/include/media/
Dmediaplayer.h198 int mStreamType; variable
DToneGenerator.h269 int mStreamType; // Audio stream used for output variable
DAudioTrack.h459 uint8_t mStreamType; variable
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp76 int mStreamType; member in AudioTrackJniStorage
81 mStreamType = AudioSystem::DEFAULT; in AudioTrackJniStorage()
254 lpJniStorage->mStreamType = atStreamType; in android_media_AudioTrack_native_setup()
/frameworks/base/services/audioflinger/
DAudioFlinger.h466 return mStreamType; in type()
500 return (mStreamType == AudioSystem::NUM_STREAM_TYPES); in isOutputTrack()
512 int mStreamType; variable
DAudioFlinger.cpp2932 mStreamType = streamType; in Track()
2966 (AudioSystem::stream_type)mStreamType, in destroy()
2983 mStreamType, in dump()
3075 (AudioSystem::stream_type)mStreamType, in start()
3110 (AudioSystem::stream_type)mStreamType, in stop()
3129 (AudioSystem::stream_type)mStreamType, in pause()