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

123

/frameworks/base/media/java/android/media/
H A DVolumeController.java26 public void postRemoteVolumeChanged(int streamType, int flags); argument
H A DRingtone.java77 * @param streamType The stream, see {@link AudioManager}.
79 public void setStreamType(int streamType) { argument
80 mStreamType = streamType;
H A DFocusRequester.java57 FocusRequester(int streamType, int focusRequest, argument
60 mStreamType = streamType;
H A DRingtoneManager.java583 * @param streamType The stream type for the ringtone, or -1 if it should
587 private static Ringtone getRingtone(final Context context, Uri ringtoneUri, int streamType) { argument
590 if (streamType >= 0) {
591 r.setStreamType(streamType);
H A DSoundPool.java116 * @param streamType the audio stream type as described in AudioManager
123 public SoundPool(int maxStreams, int streamType, int srcQuality) { argument
127 mImpl = new SoundPoolImpl(this, maxStreams, streamType, srcQuality);
459 public SoundPoolImpl(SoundPool proxy, int maxStreams, int streamType, int srcQuality) { argument
462 if (native_setup(new WeakReference(this), maxStreams, streamType, srcQuality) != 0) {
614 private native final int native_setup(Object weakRef, int maxStreams, int streamType, int srcQuality); argument
/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.h64 void setAudioStreamType(audio_stream_type_t streamType) { mStreamType = streamType; } argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java74 public Client(IBinder token, Uri uri, UserHandle user, int streamType) { argument
78 mRingtone.setStreamType(streamType);
94 public void play(IBinder token, Uri uri, int streamType) throws RemoteException {
104 client = new Client(token, uri, user, streamType);
140 public void playAsync(Uri uri, UserHandle user, boolean looping, int streamType) {
146 mAsyncPlayer.play(getContextForUser(user), uri, looping, streamType);
/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/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.cpp38 SoundPool::SoundPool(int maxChannels, audio_stream_type_t streamType, int srcQuality) argument
40 ALOGV("SoundPool constructor: maxChannels=%d, streamType=%d, srcQuality=%d",
41 maxChannels, streamType, srcQuality);
55 mStreamType = streamType;
571 audio_stream_type_t streamType = mSoundPool->streamType(); local
572 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) {
575 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) {
608 newTrack = new AudioTrack(streamType, sampleRate, sample->format(),
611 newTrack = new AudioTrack(streamType, sampleRat
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DZslProcessor.cpp176 int streamType = params.quirks.useZslFormat ? local
181 streamType, 0,
/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool_SoundPoolImpl.cpp179 android_media_SoundPool_SoundPoolImpl_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/av/media/libstagefright/
H A DUtils.cpp544 bool isStreaming, audio_stream_type_t streamType)
598 info.stream_type = streamType;
543 canOffloadStream(const sp<MetaData>& meta, bool hasVideo, bool isStreaming, audio_stream_type_t streamType) argument
/frameworks/av/services/audioflinger/
H A DPlaybackTracks.h27 audio_stream_type_t streamType,
52 audio_stream_type_t streamType() const { function in class:Track
163 audio_stream_type_t streamType,
207 audio_stream_type_t streamType,
/frameworks/base/core/java/android/preference/
H A DVolumePreference.java63 public void setStreamType(int streamType) { argument
64 mStreamType = streamType;
256 public SeekBarVolumizer(Context context, SeekBar seekBar, int streamType) { argument
257 this(context, seekBar, streamType, null);
260 public SeekBarVolumizer(Context context, SeekBar seekBar, int streamType, Uri defaultUri) { argument
263 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.h170 SoundPool(int maxChannels, audio_stream_type_t streamType, int srcQuality);
186 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:__anon196

Completed in 2637 milliseconds

123