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/av/services/audiopolicy/common/managerdefinitions/src/
H A DSessionRoute.cpp91 audio_stream_type_t streamType,
96 if (mMapType == MAPTYPE_INPUT && streamType != SessionRoute::STREAM_TYPE_NA) {
115 route = new SessionRoute(session, streamType, source, descriptor, uid);
90 addRoute(audio_session_t session, audio_stream_type_t streamType, audio_source_t source, sp<DeviceDescriptor> descriptor, uid_t uid) argument
H A DSerializer.cpp528 audio_stream_type_t streamType; local
529 if (!StreamTypeConverter::fromString(streamTypeLiteral, streamType)) {
555 element = new Element(deviceCategory, 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/av/services/audiopolicy/common/managerdefinitions/include/
H A DSessionRoute.h32 // streamType argument
41 audio_stream_type_t streamType,
51 mStreamType(streamType),
105 // in the streamType argument.
107 audio_stream_type_t streamType,
40 SessionRoute(audio_session_t session, audio_stream_type_t streamType, audio_source_t source, sp<DeviceDescriptor> deviceDescriptor, uid_t uid) argument
H A DVolumeCurve.h219 audio_stream_type_t streamType = volumeCurve->getStreamType(); local
220 return editCurvesFor(streamType).add(volumeCurve);
/frameworks/base/media/java/android/media/
H A DAudioManagerInternal.java29 public abstract void adjustSuggestedStreamVolumeForUid(int streamType, int direction, argument
32 public abstract void adjustStreamVolumeForUid(int streamType, int direction, int flags, argument
35 public abstract void setStreamVolumeForUid(int streamType, int direction, int flags, argument
H A DRingtone.java100 * @param streamType The stream, see {@link AudioManager}.
104 public void setStreamType(int streamType) { argument
106 .setInternalLegacyStreamType(streamType)
H A DRingtoneManager.java612 * @param streamType The stream type for the ringtone, or -1 if it should
616 private static Ringtone getRingtone(final Context context, Uri ringtoneUri, int streamType) { argument
619 if (streamType >= 0) {
620 r.setStreamType(streamType);
H A DSoundPool.java144 * @param streamType the audio stream type as described in AudioManager
153 public SoundPool(int maxStreams, int streamType, int srcQuality) { argument
155 new AudioAttributes.Builder().setInternalLegacyStreamType(streamType).build());
H A DAudioAttributes.java580 * @param streamType one of {@link AudioManager#STREAM_VOICE_CALL},
586 public Builder setLegacyStreamType(int streamType) { argument
587 return setInternalLegacyStreamType(streamType);
593 * @param streamType
596 public Builder setInternalLegacyStreamType(int streamType) { argument
597 switch(streamType) {
630 Log.e(TAG, "Invalid stream type " + streamType + " for AudioAttributes");
632 mUsage = usageForLegacyStreamType(streamType);
846 public static int usageForLegacyStreamType(int streamType) { argument
847 switch(streamType) {
[all...]
H A DToneGenerator.java741 * @param streamType The streame type used for tone playback (e.g. STREAM_MUSIC).
745 public ToneGenerator(int streamType, int volume) { argument
746 native_setup(streamType, volume);
880 private native final void native_setup(int streamType, int volume); argument
/frameworks/av/media/libmedia/
H A DToneGenerator.cpp838 // streamType: Type of stream used for tone playback
845 ToneGenerator::ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava) { argument
847 ALOGV("ToneGenerator constructor: streamType=%d, volume=%f", streamType, volume);
851 if (AudioSystem::getOutputSamplingRate(&mSamplingRate, streamType) != NO_ERROR) {
856 mStreamType = streamType;
/frameworks/av/services/audioflinger/
H A DPlaybackTracks.h27 audio_stream_type_t streamType,
55 audio_stream_type_t streamType() const { function in class:Track
226 audio_stream_type_t streamType,
H A DTracks.cpp337 audio_stream_type_t streamType,
356 mStreamType(streamType),
1336 audio_stream_type_t streamType,
1343 : Track(playbackThread, NULL, streamType,
334 Track( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, void *buffer, const sp<IMemory>& sharedBuffer, audio_session_t sessionId, int uid, audio_output_flags_t flags, track_type type) argument
1335 PatchTrack(PlaybackThread *playbackThread, audio_stream_type_t streamType, uint32_t sampleRate, audio_channel_mask_t channelMask, audio_format_t format, size_t frameCount, void *buffer, audio_output_flags_t flags) argument
/frameworks/base/core/java/android/preference/
H A DVolumePreference.java63 public void setStreamType(int streamType) { argument
64 mStreamType = streamType;
H A DSeekBarVolumizer.java90 public SeekBarVolumizer(Context context, int streamType, Uri defaultUri, Callback callback) { argument
94 mStreamType = streamType;
412 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1);
414 updateVolumeSlider(streamType, streamValue);
423 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1);
424 int streamVolume = mAudioManager.getStreamVolume(streamType);
425 updateVolumeSlider(streamType, streamVolume);
432 private void updateVolumeSlider(int streamType, int streamValue) { argument
433 final boolean streamMatch = mNotificationOrRing ? isNotificationOrRing(streamType)
434 : (streamType
[all...]
/frameworks/base/cmds/bootanimation/
H A Daudioplay.cpp192 SLint32 streamType = SL_ANDROID_STREAM_SYSTEM; local
194 SL_ANDROID_KEY_STREAM_TYPE, &streamType, sizeof(SLint32));
/frameworks/wilhelm/src/android/
H A Dandroid_defs.h69 audio_stream_type_t streamType; member in struct:AudioPlayback_Parameters
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp725 audio_stream_type_t streamType = AUDIO_STREAM_MUSIC; local
727 streamType = mAudioSink->getAudioStreamType();
729 if (streamType == AUDIO_STREAM_NOTIFICATION) {
/frameworks/av/media/libstagefright/
H A DMPEG2TSWriter.cpp43 unsigned streamType() const;
120 unsigned MPEG2TSWriter::SourceInfo::streamType() const { function in class:android::MPEG2TSWriter::SourceInfo
806 *ptr++ = mSources.editItemAt(i)->streamType();
869 mSources.editItemAt(sourceIndex)->streamType() == 0x0f ? 0xc0 : 0xe0;
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2PSExtractor.cpp538 unsigned streamType; local
544 streamType = mStreamTypeByESID.valueAt(streamTypeIndex);
548 streamType = ATSParser::STREAMTYPE_MPEG2_AUDIO;
551 streamType = ATSParser::STREAMTYPE_MPEG2_VIDEO;
553 streamType = ATSParser::STREAMTYPE_RESERVED;
557 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/base/core/java/android/hardware/camera2/legacy/
H A DRequestThreadManager.java141 public FpsCounter(String streamType) { argument
142 mStreamType = streamType;
/frameworks/base/core/java/android/app/
H A DDialog.java1314 public final void setVolumeControlStream(int streamType) { argument
1315 getWindow().setVolumeControlStream(streamType);

Completed in 596 milliseconds

12