Searched defs:streamType (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/av/include/media/
H A DAudioPolicyHelper.h64 static void stream_type_to_audio_attributes(audio_stream_type_t streamType, argument
68 switch (streamType) {
111 ALOGE("invalid stream type %d when converting to attributes", streamType);
/frameworks/base/core/jni/
H A Dandroid_media_ToneGenerator.cpp89 jint streamType, jint volume) {
90 ToneGenerator *lpToneGen = new ToneGenerator((audio_stream_type_t) streamType, AudioSystem::linearToLog(volume), true);
88 android_media_ToneGenerator_native_setup(JNIEnv *env, jobject thiz, jint streamType, jint volume) argument
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DMediaPlayerProxy.java49 void setAudioStreamType(int streamType); argument
H A DSingleThreadedMediaPlayerProxy.java112 public void setAudioStreamType(int streamType) { argument
113 mDelegate.setAudioStreamType(streamType);
/frameworks/base/media/java/android/media/
H A DAudioManagerInternal.java31 public abstract void adjustSuggestedStreamVolumeForUid(int streamType, int direction, argument
35 public abstract void adjustStreamVolumeForUid(int streamType, int direction, int flags, argument
38 public abstract void setStreamVolumeForUid(int streamType, int direction, int flags, argument
H A DRingtone.java86 * @param streamType The stream, see {@link AudioManager}.
90 public void setStreamType(int streamType) { argument
92 .setInternalLegacyStreamType(streamType)
H A DAudioAttributes.java444 * @param streamType one of {@link AudioManager#STREAM_VOICE_CALL},
450 public Builder setLegacyStreamType(int streamType) { argument
451 return setInternalLegacyStreamType(streamType);
457 * @param streamType
460 public Builder setInternalLegacyStreamType(int streamType) { argument
461 switch(streamType) {
494 Log.e(TAG, "Invalid stream type " + streamType + " for AudioAttributes");
496 mUsage = usageForLegacyStreamType(streamType);
686 public static int usageForLegacyStreamType(int streamType) { argument
687 switch(streamType) {
[all...]
H A DRingtoneManager.java582 * @param streamType The stream type for the ringtone, or -1 if it should
586 private static Ringtone getRingtone(final Context context, Uri ringtoneUri, int streamType) { argument
589 if (streamType >= 0) {
590 r.setStreamType(streamType);
H A DSoundPool.java123 * @param streamType the audio stream type as described in AudioManager
132 public SoundPool(int maxStreams, int streamType, int srcQuality) { argument
134 new AudioAttributes.Builder().setInternalLegacyStreamType(streamType).build());
/frameworks/av/media/libmedia/
H A DToneGenerator.cpp790 // streamType: Type of stream used for tone playback
797 ToneGenerator::ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava) { argument
799 ALOGV("ToneGenerator constructor: streamType=%d, volume=%f", streamType, volume);
803 if (AudioSystem::getOutputSamplingRate(&mSamplingRate, streamType) != NO_ERROR) {
808 mStreamType = streamType;
H A DSoundPool.cpp583 audio_stream_type_t streamType = audio_attributes_to_stream_type(mSoundPool->attributes()); local
584 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) {
587 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) {
619 newTrack = new AudioTrack(streamType, sampleRate, sample->format(),
622 newTrack = new AudioTrack(streamType, sampleRate, sample->format(),
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DZslProcessor.cpp184 int streamType = params.quirks.useZslFormat ? local
189 streamType, &mZslStreamId);
/frameworks/base/core/java/android/preference/
H A DVolumePreference.java60 public void setStreamType(int streamType) { argument
61 mStreamType = streamType;
H A DSeekBarVolumizer.java78 public SeekBarVolumizer(Context context, int streamType, Uri defaultUri, Callback callback) { argument
81 mStreamType = streamType;
367 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1);
369 final boolean streamMatch = mNotificationOrRing ? isNotificationOrRing(streamType)
370 : (streamType == mStreamType);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeUI.java158 public void volumeChanged(int streamType, int flags) argument
160 mPanel.postVolumeChanged(streamType, flags);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp648 audio_stream_type_t streamType = AUDIO_STREAM_MUSIC; local
650 streamType = mAudioSink->getAudioStreamType();
652 if (streamType == AUDIO_STREAM_NOTIFICATION) {
/frameworks/wilhelm/src/android/
H A Dandroid_defs.h69 audio_stream_type_t streamType; member in struct:AudioPlayback_Parameters
/frameworks/av/media/libstagefright/
H A DMPEG2TSWriter.cpp43 unsigned streamType() const;
120 unsigned MPEG2TSWriter::SourceInfo::streamType() const { function in class:android::MPEG2TSWriter::SourceInfo
819 *ptr++ = mSources.editItemAt(i)->streamType();
882 mSources.editItemAt(sourceIndex)->streamType() == 0x0f ? 0xc0 : 0xe0;
H A DUtils.cpp695 bool isStreaming, audio_stream_type_t streamType)
759 info.stream_type = streamType;
694 canOffloadStream(const sp<MetaData>& meta, bool hasVideo, bool isStreaming, audio_stream_type_t streamType) argument
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2PSExtractor.cpp488 unsigned streamType; local
494 streamType = mStreamTypeByESID.valueAt(streamTypeIndex);
498 streamType = ATSParser::STREAMTYPE_MPEG2_AUDIO;
501 streamType = ATSParser::STREAMTYPE_MPEG2_VIDEO;
503 streamType = ATSParser::STREAMTYPE_RESERVED;
507 stream_id, new Track(this, stream_id, streamType));
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.cpp37 unsigned PID, unsigned streamType, unsigned streamID);
40 unsigned streamType() const;
88 unsigned PID, unsigned streamType, unsigned streamID)
91 mStreamType(streamType),
134 unsigned TSPacketizer::Track::streamType() const { function in class:android::TSPacketizer::Track
398 unsigned streamType; local
403 streamType = 0x1b;
407 streamType = 0x0f;
411 streamType = 0x83;
424 if (track->streamType()
86 Track( const sp<AMessage> &format, unsigned PID, unsigned streamType, unsigned streamID) argument
[all...]
/frameworks/av/services/audioflinger/
H A DPlaybackTracks.h27 audio_stream_type_t streamType,
55 audio_stream_type_t streamType() const { function in class:Track
169 audio_stream_type_t streamType,
212 audio_stream_type_t streamType,
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DRequestThreadManager.java145 public FpsCounter(String streamType) { argument
146 mStreamType = streamType;
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h106 void setAudioStreamType(audio_stream_type_t streamType) { argument
107 mStreamType = streamType; }
220 void setAudioStreamType(audio_stream_type_t streamType __unused) {}
/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.cpp544 int streamType = mPacketSources.keyAt(i); local
545 switch (streamType) {
1015 LiveSession::StreamType streamType = streamTypes[i]; local
1025 mStreamTypeMask &= ~streamType;
1026 mPacketSources.removeItem(streamType);

Completed in 5442 milliseconds

12