Searched refs:streamType (Results 1 - 25 of 67) sorted by relevance

123

/frameworks/base/media/java/android/media/
H A DIRingtonePlayer.aidl26 void play(IBinder token, in Uri uri, int streamType);
31 void playAsync(in Uri uri, boolean looping, int streamType);
H A DIAudioService.aidl39 oneway void adjustLocalOrRemoteStreamVolume(int streamType, int direction);
43 void adjustStreamVolume(int streamType, int direction, int flags);
47 void setStreamVolume(int streamType, int index, int flags);
53 void setStreamSolo(int streamType, boolean state, IBinder cb);
55 void setStreamMute(int streamType, boolean state, IBinder cb);
57 boolean isStreamMute(int streamType);
63 int getStreamVolume(int streamType);
67 int getStreamMaxVolume(int streamType);
71 int getLastAudibleStreamVolume(int streamType);
144 void forceVolumeControlStream(int streamType, IBinde
[all...]
H A DAudioTrack.java243 * @param streamType the type of the audio stream. See
264 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, argument
267 this(streamType, sampleRateInHz, channelConfig, audioFormat,
283 * @param streamType the type of the audio stream. See
305 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, argument
315 audioParamCheck(streamType, sampleRateInHz, channelConfig, audioFormat, mode);
362 private void audioParamCheck(int streamType, int sampleRateInHz, argument
367 if( (streamType != AudioManager.STREAM_ALARM) && (streamType != AudioManager.STREAM_MUSIC)
368 && (streamType !
639 getNativeOutputSampleRate(int streamType) argument
1206 native_setup(Object audiotrack_this, int streamType, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes, int mode, int[] sessionId) argument
1248 native_get_output_sample_rate(int streamType) argument
[all...]
H A DAudioService.java531 for (int streamType = 0; streamType < numStreamTypes; streamType++) {
532 if (streamType != mStreamVolumeAlias[streamType]) {
533 mStreamStates[streamType].
534 setAllIndexes(mStreamStates[mStreamVolumeAlias[streamType]],
536 mStreamStates[streamType].
537 setAllIndexes(mStreamStates[mStreamVolumeAlias[streamType]],
541 if (mStreamStates[streamType]
678 adjustLocalOrRemoteStreamVolume(int streamType, int direction) argument
716 adjustStreamVolume(int streamType, int direction, int flags) argument
809 setStreamVolume(int streamType, int index, int flags) argument
847 forceVolumeControlStream(int streamType, IBinder cb) argument
933 sendVolumeUpdate(int streamType, int oldIndex, int index, int flags) argument
986 setStreamVolumeInt(int streamType, int index, int device, boolean force, boolean lastAudible) argument
1023 setStreamSolo(int streamType, boolean state, IBinder cb) argument
1032 setStreamMute(int streamType, boolean state, IBinder cb) argument
1039 isStreamMute(int streamType) argument
1060 getStreamVolume(int streamType) argument
1098 getStreamMaxVolume(int streamType) argument
1108 getLastAudibleStreamVolume(int streamType) argument
2158 isStreamAffectedByRingerMode(int streamType) argument
2162 isStreamMutedByRingerMode(int streamType) argument
2166 isStreamAffectedByMute(int streamType) argument
2182 ensureValidStreamType(int streamType) argument
2390 VolumeStreamState(String settingName, int streamType) argument
3612 FocusStackEntry(int streamType, int duration, IAudioFocusDispatcher afl, IBinder source, String id, AudioFocusDeathHandler hdlr, String pn, int uid) argument
5067 checkUpdateRemoteStateIfActive(int streamType) argument
5114 adjustRemoteVolume(int streamType, int direction, int flags) argument
[all...]
H A DToneGenerator.java735 * @param streamType The streame type used for tone playback (e.g. STREAM_MUSIC).
739 public ToneGenerator(int streamType, int volume) { argument
740 native_setup(streamType, volume);
874 private native final void native_setup(int streamType, int volume); argument
H A DAudioManager.java528 * @param streamType The stream type to adjust. One of {@link #STREAM_VOICE_CALL},
538 public void adjustStreamVolume(int streamType, int direction, int flags) { argument
544 service.adjustStreamVolume(streamType, direction, flags);
664 * @param streamType The stream type whose maximum volume index is returned.
668 public int getStreamMaxVolume(int streamType) { argument
674 return service.getStreamMaxVolume(streamType);
685 * @param streamType The stream type whose volume index is returned.
690 public int getStreamVolume(int streamType) { argument
696 return service.getStreamVolume(streamType);
709 public int getLastAudibleStreamVolume(int streamType) { argument
771 setStreamVolume(int streamType, int index, int flags) argument
866 setStreamSolo(int streamType, boolean state) argument
895 setStreamMute(int streamType, boolean state) argument
909 isStreamMute(int streamType) argument
964 forceVolumeControlStream(int streamType) argument
1510 adjustLocalOrRemoteStreamVolume(int streamType, int direction) argument
1904 requestAudioFocus(OnAudioFocusChangeListener l, int streamType, int durationHint) argument
1934 requestAudioFocusForCall(int streamType, int durationHint) argument
2371 getDevicesForStream(int streamType) argument
[all...]
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
/frameworks/base/core/java/android/view/
H A DVolumePanel.java169 int streamType; field in class:VolumePanel.StreamResources
176 StreamResources(int streamType, int descRes, int iconRes, int iconMuteRes, boolean show) { argument
177 this.streamType = streamType;
199 int streamType; field in class:VolumePanel.StreamControl
222 streamRes.show = (streamRes.streamType == STREAM_MASTER);
304 private boolean isMuted(int streamType) { argument
305 if (streamType == STREAM_MASTER) {
307 } else if (streamType == AudioService.STREAM_REMOTE_MUSIC) {
310 return mAudioManager.isStreamMute(streamType);
314 getStreamMaxVolume(int streamType) argument
324 getStreamVolume(int streamType) argument
334 setStreamVolume(int streamType, int index, int flags) argument
457 postVolumeChanged(int streamType, int flags) argument
468 postRemoteVolumeChanged(int streamType, int flags) argument
506 postMuteChanged(int streamType, int flags) argument
526 onVolumeChanged(int streamType, int flags) argument
556 onMuteChanged(int streamType, int flags) argument
568 onShowVolumeChanged(int streamType, int flags) argument
683 onPlaySound(int streamType, int flags) argument
723 onRemoteVolumeChanged(int streamType, int flags) argument
774 onSliderVisibilityChanged(int streamType, int visible) argument
792 getOrCreateToneGenerator(int streamType) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java73 public Client(IBinder token, Uri uri, int streamType) { argument
76 mRingtone.setStreamType(streamType);
92 public void play(IBinder token, Uri uri, int streamType) throws RemoteException {
98 client = new Client(token, uri, streamType);
134 public void playAsync(Uri uri, boolean looping, int streamType) {
139 mAsyncPlayer.play(mContext, 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/include/media/
H A DAudioTrack.h118 audio_stream_type_t streamType = AUDIO_STREAM_DEFAULT,
133 * streamType: Select the type of audio stream this track is attached to
154 AudioTrack( audio_stream_type_t streamType,
166 explicit AudioTrack( int streamType,
186 AudioTrack( audio_stream_type_t streamType,
210 status_t set(audio_stream_type_t streamType = AUDIO_STREAM_DEFAULT,
239 audio_stream_type_t streamType() const;
487 status_t createTrack_l(audio_stream_type_t streamType,
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp209 status_t AudioSystem::getOutputSamplingRate(int* samplingRate, int streamType) { argument
210 return getOutputSamplingRate(samplingRate, (audio_stream_type_t)streamType);
213 status_t AudioSystem::getOutputSamplingRate(int* samplingRate, audio_stream_type_t streamType) argument
217 if (streamType == AUDIO_STREAM_DEFAULT) {
218 streamType = AUDIO_STREAM_MUSIC;
221 output = getOutput(streamType);
226 return getSamplingRate(output, streamType, samplingRate);
230 audio_stream_type_t streamType,
249 ALOGV("getSamplingRate() streamType %d, output %d, sampling rate %d", streamType, outpu
229 getSamplingRate(audio_io_handle_t output, audio_stream_type_t streamType, int* samplingRate) argument
255 getOutputFrameCount(int* frameCount, int streamType) argument
259 getOutputFrameCount(int* frameCount, audio_stream_type_t streamType) argument
275 getFrameCount(audio_io_handle_t output, audio_stream_type_t streamType, int* frameCount) argument
298 getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) argument
314 getLatency(audio_io_handle_t output, audio_stream_type_t streamType, uint32_t* latency) argument
495 routedToA2dpOutput(audio_stream_type_t streamType) argument
[all...]
H A DAudioTrack.cpp54 audio_stream_type_t streamType,
64 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) {
68 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) {
72 if (AudioSystem::getOutputLatency(&afLatency, streamType) != NO_ERROR) {
98 audio_stream_type_t streamType,
113 mStatus = set(streamType, sampleRate, format, channelMask,
120 int streamType,
134 mStatus = set((audio_stream_type_t)streamType, sampleRate, (audio_format_t)format, channelMask,
140 audio_stream_type_t streamType,
155 mStatus = set(streamType, sampleRat
52 getMinFrameCount( int* frameCount, audio_stream_type_t streamType, uint32_t sampleRate) argument
97 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, int channelMask, int frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
119 AudioTrack( int streamType, uint32_t sampleRate, int format, int channelMask, int frameCount, uint32_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
139 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, int channelMask, const sp<IMemory>& sharedBuffer, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
180 set( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, int channelMask, int frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId) argument
331 audio_stream_type_t AudioTrack::streamType() const function in class:android::AudioTrack
743 createTrack_l( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, uint32_t channelMask, int frameCount, audio_output_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output) argument
[all...]
/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 DSynthesisPlaybackQueueItem.java66 SynthesisPlaybackQueueItem(int streamType, int sampleRate, argument
78 mAudioTrack = new BlockingAudioTrack(streamType, sampleRate, audioFormat,
H A DPlaybackSynthesisCallback.java69 PlaybackSynthesisCallback(int streamType, float volume, float pan, argument
72 mStreamType = streamType;
/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/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...]
H A DM4PCMR_CoreReader.c240 pStreamDesc->streamType = M4SYS_kPCM_8bitsU;
243 // pStreamDesc->streamType = M4SYS_kPCM_8bitsS; /* ??? 8bits stereo not
247 pStreamDesc->streamType = M4SYS_kAudioUnknown;
255 pStreamDesc->streamType = M4SYS_kPCM_16bitsU;
258 pStreamDesc->streamType = M4SYS_kPCM_16bitsS;
261 pStreamDesc->streamType = M4SYS_kAudioUnknown;
266 pStreamDesc->streamType = M4SYS_kAudioUnknown;
/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/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;
1535 if(M4DA_StreamTypeVideoH263 == streamType) {
1570 else if(M4DA_StreamTypeVideoMpeg4Avc == streamType) {
1605 } else if( (M4DA_StreamTypeVideoMpeg4 == streamType) ) {
[all...]
/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:__anon178
/frameworks/av/libvideoeditor/vss/3gpwriter/src/
H A DM4MP4W_Interface.c228 switch (pStreamDescription->streamType)
234 "adding a Video stream (streamType=0x%x)",
235 pStreamDescription->streamType);
246 // if (M4SYS_kH263 == pStreamDescription->streamType)
264 M4OSA_TRACE3_1("M4WRITER_3GP_addStream: adding an Audio stream (streamType=0x%x)",
265 pStreamDescription->streamType);
282 returning M4WRITER_3GP_ERR_UNSUPPORTED_STREAM_TYPE (streamType=0x%x)",
283 pStreamDescription->streamType);
301 switch (pStreamDescription->streamType)

Completed in 3683 milliseconds

123