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

12

/frameworks/base/core/java/android/speech/tts/
H A DAudioPlaybackQueueItem.java38 Context context, Uri uri, int streamType) {
43 mStreamType = streamType;
36 AudioPlaybackQueueItem(UtteranceProgressDispatcher dispatcher, Object callerIdentity, Context context, Uri uri, int streamType) argument
H A DPlaybackSynthesisCallback.java69 PlaybackSynthesisCallback(int streamType, float volume, float pan, argument
72 mStreamType = streamType;
H A DSynthesisPlaybackQueueItem.java66 SynthesisPlaybackQueueItem(int streamType, int sampleRate, argument
78 mAudioTrack = new BlockingAudioTrack(streamType, sampleRate, audioFormat,
H A DBlockingAudioTrack.java76 BlockingAudioTrack(int streamType, int sampleRate, argument
79 mStreamType = 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/libvideoeditor/lvpp/
H A DVideoEditorPlayer.h63 void setAudioStreamType(audio_stream_type_t streamType) { mStreamType = streamType; } argument
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DMediaPlayerProxy.java48 void setAudioStreamType(int streamType); argument
H A DSingleThreadedMediaPlayerProxy.java107 public void setAudioStreamType(int streamType) { argument
108 mDelegate.setAudioStreamType(streamType);
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java75 public Client(IBinder token, Uri uri, UserHandle user, int streamType) { argument
79 mRingtone.setStreamType(streamType);
95 public void play(IBinder token, Uri uri, int streamType) throws RemoteException {
105 client = new Client(token, uri, user, streamType);
141 public void playAsync(Uri uri, UserHandle user, boolean looping, int streamType) {
147 mAsyncPlayer.play(getContextForUser(user), uri, looping, streamType);
/frameworks/base/media/java/android/media/
H A DRingtone.java82 * @param streamType The stream, see {@link AudioManager}.
84 public void setStreamType(int streamType) { argument
85 mStreamType = streamType;
H A DSoundPool.java130 * @param streamType the audio stream type as described in AudioManager
137 public SoundPool(int maxStreams, int streamType, int srcQuality) { argument
140 if (native_setup(new WeakReference(this), maxStreams, streamType, srcQuality) != 0) {
483 private native final int native_setup(Object weakRef, int maxStreams, int streamType, int srcQuality); argument
H A DRingtoneManager.java604 * @param streamType The stream type for the ringtone, or -1 if it should
608 private static Ringtone getRingtone(final Context context, Uri ringtoneUri, int streamType) { argument
611 if (streamType >= 0) {
612 r.setStreamType(streamType);
/frameworks/av/media/libmedia/
H A DToneGenerator.cpp794 // streamType: Type of stream used for tone playback
801 ToneGenerator::ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava) { argument
803 ALOGV("ToneGenerator constructor: streamType=%d, volume=%f", streamType, volume);
807 if (AudioSystem::getOutputSamplingRate(&mSamplingRate, streamType) != NO_ERROR) {
812 mStreamType = streamType;
H A DSoundPool.cpp42 SoundPool::SoundPool(int maxChannels, audio_stream_type_t streamType, int srcQuality) argument
44 ALOGV("SoundPool constructor: maxChannels=%d, streamType=%d, srcQuality=%d",
45 maxChannels, streamType, srcQuality);
59 mStreamType = streamType;
573 audio_stream_type_t streamType = mSoundPool->streamType(); local
574 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) {
577 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) {
610 newTrack = new AudioTrack(streamType, sampleRate, sample->format(),
613 newTrack = new AudioTrack(streamType, sampleRat
[all...]
/frameworks/av/services/camera/libcameraservice/camera2/
H A DZslProcessor.cpp166 int streamType = params.quirks.useZslFormat ? local
171 streamType, 0,
/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool.cpp179 android_media_SoundPool_native_setup(JNIEnv *env, jobject thiz, jobject weakRef, jint maxChannels, jint streamType, jint srcQuality) argument
182 SoundPool *ap = new SoundPool(maxChannels, (audio_stream_type_t) streamType, srcQuality);
/frameworks/av/libvideoeditor/vss/src/
H A DM4AMRR_CoreReader.c97 M4OSA_UInt32 M4AMRR_getAuSize(M4OSA_UInt32 frameType, M4SYS_StreamType streamType);
98 M4OSA_UInt32 M4AMRR_getBitrate(M4OSA_UInt32 frameType, M4SYS_StreamType streamType);
102 * M4OSA_UInt32 M4AMRR_getAuSize(M4OSA_UInt32 frameType, M4SYS_StreamType streamType)
107 * @param streamType(IN) : AMR stream type NB or WB
111 M4OSA_UInt32 M4AMRR_getAuSize(M4OSA_UInt32 frameType, M4SYS_StreamType streamType) argument
116 if ( streamType == M4SYS_kAMR )
128 * M4OSA_UInt32 M4AMRR_getBitrate(M4OSA_UInt32 frameType, M4SYS_StreamType streamType)
133 * @param streamType(IN) : AMR stream type NB or WB
137 M4OSA_UInt32 M4AMRR_getBitrate(M4OSA_UInt32 frameType, M4SYS_StreamType streamType) argument
144 if ( streamType
[all...]
/frameworks/base/core/java/android/preference/
H A DVolumePreference.java60 public void setStreamType(int streamType) { argument
61 mStreamType = streamType;
248 public SeekBarVolumizer(Context context, SeekBar seekBar, int streamType) { argument
249 this(context, seekBar, streamType, null);
252 public SeekBarVolumizer(Context context, SeekBar seekBar, int streamType, Uri defaultUri) { argument
255 mStreamType = streamType;
/frameworks/wilhelm/src/android/
H A Dandroid_defs.h69 audio_stream_type_t streamType; member in struct:AudioPlayback_Parameters
/frameworks/av/include/media/
H A DSoundPool.h165 SoundPool(int maxChannels, audio_stream_type_t streamType, int srcQuality);
181 audio_stream_type_t streamType() const { return mStreamType; } function in class:android::SoundPool
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4SYS_Stream.h35 /** The streamType type provides a way to distinguish all streams (AAC, AMR, YUV420, MPEG-4 Video,
39 @n So a specific naming convention has been designed to allow a quick parsing of the streamType
146 M4SYS_StreamType streamType; /**< The stream type of the stream*/ member in struct:__anon183
/frameworks/av/media/libstagefright/
H A DMPEG2TSWriter.cpp43 unsigned streamType() const;
120 unsigned MPEG2TSWriter::SourceInfo::streamType() const { function in class:android::MPEG2TSWriter::SourceInfo
818 *ptr++ = mSources.editItemAt(i)->streamType();
881 mSources.editItemAt(sourceIndex)->streamType() == 0x0f ? 0xc0 : 0xe0;
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2PSExtractor.cpp485 unsigned streamType; local
491 streamType = mStreamTypeByESID.valueAt(streamTypeIndex);
495 streamType = ATSParser::STREAMTYPE_MPEG2_AUDIO;
498 streamType = ATSParser::STREAMTYPE_MPEG2_VIDEO;
500 streamType = ATSParser::STREAMTYPE_RESERVED;
504 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;
86 unsigned PID, unsigned streamType, unsigned streamID)
89 mStreamType(streamType),
123 unsigned TSPacketizer::Track::streamType() const { function in class:android::TSPacketizer::Track
347 unsigned streamType; local
352 streamType = 0x1b;
356 streamType = 0x0f;
360 streamType = 0x83;
373 if (track->streamType()
84 Track( const sp<AMessage> &format, unsigned PID, unsigned streamType, unsigned streamID) argument
[all...]
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditor3gpReader.cpp1413 M4_StreamType streamType = M4DA_StreamTypeUnknown; local
1457 streamType = M4DA_StreamTypeVideoMpeg4Avc;
1459 streamType = M4DA_StreamTypeVideoH263;
1461 streamType = M4DA_StreamTypeVideoMpeg4;
1466 streamType);
1468 if(streamType != M4DA_StreamTypeUnknown) {
1469 pC->mStreamType = streamType;
1539 if(M4DA_StreamTypeVideoH263 == streamType) {
1574 else if(M4DA_StreamTypeVideoMpeg4Avc == streamType) {
1609 } else if( (M4DA_StreamTypeVideoMpeg4 == streamType) ) {
[all...]

Completed in 145 milliseconds

12