Searched refs:mStreamType (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/core/java/android/preference/
H A DVolumePreference.java46 private int mStreamType; field in class:VolumePreference
56 mStreamType = a.getInt(android.R.styleable.VolumePreference_streamType, 0);
61 mStreamType = streamType;
69 mSeekBarVolumizer = new SeekBarVolumizer(getContext(), seekBar, mStreamType);
222 private int mStreamType; field in class:VolumePreference.SeekBarVolumizer
235 System.VOLUME_SETTINGS[mStreamType], -1);
248 mStreamType = streamType;
255 seekBar.setMax(mAudioManager.getStreamMaxVolume(mStreamType));
256 mOriginalStreamVolume = mAudioManager.getStreamVolume(mStreamType);
261 System.getUriFor(System.VOLUME_SETTINGS[mStreamType]),
[all...]
/frameworks/base/media/java/android/media/
H A DRingtone.java65 private int mStreamType = AudioManager.STREAM_RING; field in class:Ringtone
81 mStreamType = streamType;
102 return mStreamType;
188 mAudio.setAudioStreamType(mStreamType);
222 if (mAudioManager.getStreamVolume(mStreamType) != 0) {
H A DAudioService.java1279 private final int mStreamType; field in class:AudioService.VolumeStreamState
1292 mStreamType = streamType;
1330 if (streamType != mStreamType && STREAM_VOLUME_ALIAS[streamType] == mStreamType) {
1331 mStreamStates[streamType].setIndex(rescaleIndex(mIndex, mStreamType, streamType), lastAudible);
1355 Log.e(TAG, "Could not get client death handler for stream: "+mStreamType);
1393 sendMsg(mAudioHandler, MSG_SET_SYSTEM_VOLUME, mStreamType, SENDMSG_NOOP, 0, 0,
1403 Log.w(TAG, "stream: "+mStreamType+" was already muted by this client");
1408 Log.e(TAG, "unexpected unmute for stream: "+mStreamType);
1421 if (!isStreamAffectedByRingerMode(mStreamType) || mRingerMod
1987 public int mStreamType = -1;// no stream type field in class:AudioService.FocusStackEntry
[all...]
H A DAudioTrack.java198 private int mStreamType = AudioManager.STREAM_MUSIC; field in class:AudioTrack
274 mStreamType, mSampleRate, mChannels, mAudioFormat,
292 // mStreamType is valid
311 mStreamType = streamType;
461 return mStreamType;
/frameworks/base/media/libmediaplayerservice/
H A DMidiFile.h72 int mStreamType; member in class:android::MidiFile
H A DVorbisPlayer.h83 int mStreamType; member in class:android::VorbisPlayer
H A DMediaPlayerService.h92 void setAudioStreamType(int streamType) { mStreamType = streamType; }
106 int mStreamType; member in class:android::MediaPlayerService::AudioOutput
H A DMediaPlayerService.cpp333 mStreamType, mLeftVolume, mRightVolume);
1418 mStreamType = AudioSystem::MUSIC;
1512 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != NO_ERROR) {
1515 if (AudioSystem::getOutputSamplingRate(&afSampleRate, mStreamType) != NO_ERROR) {
1524 mStreamType,
1534 mStreamType,
H A DMidiFile.cpp61 mStreamType(AudioSystem::MUSIC), mLoop(false), mExit(false),
H A DVorbisPlayer.cpp58 mStreamType(AudioSystem::MUSIC), mLoop(false), mAndroidLoop(false),
/frameworks/base/media/jni/soundpool/
H A DSoundPool.h181 int streamType() const { return mStreamType; }
221 int mStreamType; member in class:android::SoundPool
H A DSoundPool.cpp58 mStreamType = streamType;
/frameworks/base/packages/TtsService/jni/
H A Dandroid_tts_SynthProxy.cpp162 AudioSystem::stream_type mStreamType; member in class:SynthProxyJniStorage
175 mStreamType = DEFAULT_TTS_STREAM_TYPE;
212 mStreamType = streamType;
217 if (AudioSystem::getOutputSamplingRate(&afSampleRate, mStreamType) != NO_ERROR) {
221 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != NO_ERROR) {
225 if (AudioSystem::getOutputLatency(&afLatency, mStreamType) != NO_ERROR) {
233 mAudioOut = new AudioTrack(mStreamType, rate, format,
261 (streamType == pJniData->mStreamType) ){
/frameworks/base/media/libmedia/
H A DAudioTrack.cpp233 mStreamType = streamType;
269 return mStreamType;
331 status = createTrack(mStreamType, mCblk->sampleRate, mFormat, mChannelCount,
452 if (AudioSystem::getOutputSamplingRate(&afSamplingRate, mStreamType) != NO_ERROR) {
596 return AudioSystem::getOutput((AudioSystem::stream_type)mStreamType,
703 result = createTrack(mStreamType, cblk->sampleRate, mFormat, mChannelCount,
950 snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n", mStreamType, mVolume[0], mVolume[1]);
H A Dmediaplayer.cpp48 mStreamType = AudioSystem::MUSIC;
218 mPlayer->setAudioStreamType(mStreamType);
459 if (mStreamType == type) return NO_ERROR;
467 mStreamType = type;
H A DToneGenerator.cpp813 mStreamType = streamType;
1027 mpAudioTrack->set(mStreamType,
/frameworks/base/include/media/
H A DAudioTrack.h411 uint8_t mStreamType; member in class:android::AudioTrack
H A DToneGenerator.h269 int mStreamType; // Audio stream used for output member in class:android::ToneGenerator
H A Dmediaplayer.h190 int mStreamType; member in class:android::MediaPlayer
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp76 int mStreamType; member in class:AudioTrackJniStorage
81 mStreamType = AudioSystem::DEFAULT;
254 lpJniStorage->mStreamType = atStreamType;
/frameworks/base/libs/audioflinger/
H A DAudioFlinger.h406 return mStreamType;
434 return (mStreamType == AudioSystem::NUM_STREAM_TYPES);
446 int mStreamType; member in class:android::AudioFlinger::PlaybackThread::Track
H A DAudioFlinger.cpp2474 mStreamType = streamType;
2507 AudioSystem::stopOutput(thread->id(), (AudioSystem::stream_type)mStreamType);
2523 mStreamType,
2610 status = AudioSystem::startOutput(thread->id(), (AudioSystem::stream_type)mStreamType);
2643 AudioSystem::stopOutput(thread->id(), (AudioSystem::stream_type)mStreamType);
2660 AudioSystem::stopOutput(thread->id(), (AudioSystem::stream_type)mStreamType);

Completed in 964 milliseconds