Home
last modified time | relevance | path

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

12

/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()
229 private int mStreamType; field in VolumePreference.SeekBarVolumizer
242 int volume = mAudioManager.getStreamVolume(mStreamType);
255 mStreamType = streamType; in SeekBarVolumizer()
262 seekBar.setMax(mAudioManager.getStreamMaxVolume(mStreamType)); in initSeekBar()
263 mOriginalStreamVolume = mAudioManager.getStreamVolume(mStreamType); in initSeekBar()
268 System.getUriFor(System.VOLUME_SETTINGS[mStreamType]), in initSeekBar()
[all …]
/frameworks/base/media/java/android/media/
DRingtone.java68 private int mStreamType = AudioManager.STREAM_RING; field in Ringtone
85 mStreamType = streamType; in setStreamType()
98 return mStreamType; in getStreamType()
188 mLocalPlayer.setAudioStreamType(mStreamType); in setUri()
224 if (mAudioManager.getStreamVolume(mStreamType) != 0) { in play()
229 mRemotePlayer.play(mRemoteToken, mUri, mStreamType); in play()
DAudioService.java2379 private final int mStreamType; field in AudioService.VolumeStreamState
2395 mStreamType = streamType; in VolumeStreamState()
2431 AudioManager.DEFAULT_STREAM_VOLUME[mStreamType] : -1; in readSettings()
2442 index : AudioManager.DEFAULT_STREAM_VOLUME[mStreamType]; in readSettings()
2450 (mStreamVolumeAlias[mStreamType] == AudioSystem.STREAM_RING)) || in readSettings()
2451 (mStreamVolumeAlias[mStreamType] == AudioSystem.STREAM_SYSTEM))) { in readSettings()
2452 lastAudibleIndex = AudioManager.DEFAULT_STREAM_VOLUME[mStreamType]; in readSettings()
2468 (mStreamVolumeAlias[mStreamType] == AudioSystem.STREAM_RING)) || in readSettings()
2469 (mStreamVolumeAlias[mStreamType] == AudioSystem.STREAM_SYSTEM))) { in readSettings()
2485 AudioSystem.setStreamVolumeIndex(mStreamType, in applyDeviceVolume()
[all …]
DAudioTrack.java201 private int mStreamType = AudioManager.STREAM_MUSIC; field in AudioTrack
327 mStreamType, mSampleRate, mChannels, mAudioFormat, in AudioTrack()
375 mStreamType = streamType; in audioParamCheck()
563 return mStreamType; in getStreamType()
/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackQueueItem.java30 private final int mStreamType; field in AudioPlaybackQueueItem
43 mStreamType = streamType; in AudioPlaybackQueueItem()
76 mPlayer.setAudioStreamType(mStreamType); in run()
DPlaybackSynthesisCallback.java35 private final int mStreamType; field in PlaybackSynthesisCallback
72 mStreamType = streamType; in PlaybackSynthesisCallback()
155 mStreamType, sampleRateInHz, audioFormat, channelCount, mVolume, mPan, in start()
DBlockingAudioTrack.java47 private final int mStreamType; field in BlockingAudioTrack
80 mStreamType = streamType; in BlockingAudioTrack()
199 AudioTrack audioTrack = new AudioTrack(mStreamType, mSampleRateInHz, channelConfig, in createStreamingAudioTrack()
/frameworks/av/libvideoeditor/lvpp/
DVideoEditorPlayer.cpp314 mStreamType = AUDIO_STREAM_MUSIC; in VeAudioOutput()
413 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != in open()
417 if (AudioSystem::getOutputSamplingRate(&afSampleRate, mStreamType) != in open()
440 mStreamType, in open()
450 mStreamType, in open()
568 mStreamType, mLeftVolume, mRightVolume); in dump()
DVideoEditorPlayer.h63 void setAudioStreamType(audio_stream_type_t streamType) { mStreamType = streamType; } in setAudioStreamType()
77 audio_stream_type_t mStreamType; variable
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp82 unsigned mStreamType; member
99 mStreamType(0), in SourceInfo()
108 mStreamType = 0x0f; in SourceInfo()
110 mStreamType = 0x1b; in SourceInfo()
120 return mStreamType; in streamType()
390 if (mStreamType == 0x0f) { in onMessageReceived()
402 if (mStreamType == 0x0f && mAACCodecSpecificData == NULL) { in onMessageReceived()
414 if (mStreamType == 0x0f) { in onMessageReceived()
/frameworks/av/cmds/stagefright/
Dstagefright.cpp417 StreamType mStreamType; member
425 mStreamType(OTHER), in DetectSyncSource()
431 mStreamType = AVC; in DetectSyncSource()
433 mStreamType = MPEG4; in DetectSyncSource()
436 mStreamType = H263; in DetectSyncSource()
480 if (mStreamType == AVC) { in read()
490 if (mStreamType != AVC || mSawFirstIDRFrame) { in read()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp96 unsigned type() const { return mStreamType; } in type()
117 unsigned mStreamType; member
431 mStreamType(streamType), in Stream()
434 switch (mStreamType) { in Stream()
524 switch (mStreamType) { in isVideo()
537 switch (mStreamType) { in isAudio()
784 ALOGV("onPayloadData mStreamType=0x%02x", mStreamType); in onPayloadData()
804 mElementaryPID, mStreamType); in onPayloadData()
DMPEG2PSExtractor.cpp61 unsigned mStreamType; member
537 mStreamType(stream_type), in Track()
542 switch (mStreamType) { in Track()
/frameworks/wilhelm/src/
Dclasses.h98 audio_stream_type_t mStreamType; member
343 audio_stream_type_t mStreamType; member
/frameworks/av/include/media/
DSoundPool.h181 audio_stream_type_t streamType() const { return mStreamType; } in streamType()
223 audio_stream_type_t mStreamType; variable
DToneGenerator.h272 audio_stream_type_t mStreamType; // Audio stream used for output variable
Dmediaplayer.h255 audio_stream_type_t mStreamType; variable
/frameworks/av/media/libmedia/
Dmediaplayer.cpp51 mStreamType = AUDIO_STREAM_MUSIC; in MediaPlayer()
238 mPlayer->setAudioStreamType(mStreamType); in prepareAsync_l()
502 if (mStreamType == type) return NO_ERROR; in setAudioStreamType()
510 mStreamType = type; in setAudioStreamType()
DAudioTrack.cpp300 mStreamType = streamType; in set()
333 return mStreamType; in streamType()
565 if (AudioSystem::getOutputSamplingRate(&afSamplingRate, mStreamType) != NO_ERROR) { in setSampleRate()
721 return AudioSystem::getOutput(mStreamType, in getOutput_l()
1341 result = createTrack_l(mStreamType, in restoreTrack_l()
1436 …snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n", mStreamType, mVolume[0],… in dump()
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java324 private int mStreamType; field in ScoAudioTest.SimplePlayerController
330 mStreamType = stream; in SimplePlayerController()
340 mStreamType = stream; in SimplePlayerController()
367 mMediaPlayer.setAudioStreamType(mStreamType); in playOrPause()
/frameworks/av/media/libmediaplayerservice/
DMidiFile.h80 audio_stream_type_t mStreamType; variable
DMediaPlayerService.h103 … void setAudioStreamType(audio_stream_type_t streamType) { mStreamType = streamType; } in setAudioStreamType()
128 audio_stream_type_t mStreamType; variable
DMediaPlayerService.cpp330 mStreamType, mLeftVolume, mRightVolume); in dump()
1420 mStreamType = AUDIO_STREAM_MUSIC; in AudioOutput()
1528 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != NO_ERROR) { in open()
1531 if (AudioSystem::getOutputSamplingRate(&afSampleRate, mStreamType) != NO_ERROR) { in open()
1550 mStreamType, in open()
1562 mStreamType, in open()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp72 audio_stream_type_t mStreamType; member in AudioTrackJniStorage
77 mStreamType = AUDIO_STREAM_DEFAULT; in AudioTrackJniStorage()
306 lpJniStorage->mStreamType = atStreamType; in android_media_AudioTrack_native_setup()
/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.cpp500 ap->mStreamType = newStreamType; in audioPlayer_setStreamType()
511 switch(ap->mStreamType) { in audioPlayer_getStreamType()
1267 pAudioPlayer->mStreamType = ANDROID_DEFAULT_OUTPUT_STREAM_TYPE; in android_audioPlayer_create()
1435 app.streamType = pAudioPlayer->mStreamType; in android_audioPlayer_realize()
1460 pAudioPlayer->mStreamType, // streamType in android_audioPlayer_realize()

12