HomeSort by relevance Sort by last modified time
    Searched full:streamtype (Results 1 - 25 of 106) sorted by null

1 2 3 4 5

  /frameworks/base/media/java/android/media/
IAudioService.aidl 34 void adjustStreamVolume(int streamType, int direction, int flags);
36 void setStreamVolume(int streamType, int index, int flags);
38 void setStreamSolo(int streamType, boolean state, IBinder cb);
40 void setStreamMute(int streamType, boolean state, IBinder cb);
42 boolean isStreamMute(int streamType);
44 int getStreamVolume(int streamType);
46 int getStreamMaxVolume(int streamType);
48 int getLastAudibleStreamVolume(int streamType);
AudioService.java 502 int streamType;
504 streamType = suggestedStreamType;
506 streamType = getActiveStreamType(suggestedStreamType);
511 ((STREAM_VOLUME_ALIAS[streamType] != AudioSystem.STREAM_RING)
516 adjustStreamVolume(streamType, direction, flags);
520 public void adjustStreamVolume(int streamType, int direction, int flags) {
522 ensureValidStreamType(streamType);
527 int streamTypeAlias = STREAM_VOLUME_ALIAS[streamType];
575 sendVolumeUpdate(streamType, oldIndex, index, flags);
579 public void setStreamVolume(int streamType, int index, int flags)
    [all...]
AudioManager.java 460 * @param streamType The stream type to adjust. One of {@link #STREAM_VOICE_CALL},
470 public void adjustStreamVolume(int streamType, int direction, int flags) {
473 service.adjustStreamVolume(streamType, direction, flags);
566 * @param streamType The stream type whose maximum volume index is returned.
570 public int getStreamMaxVolume(int streamType) {
573 return service.getStreamMaxVolume(streamType);
583 * @param streamType The stream type whose volume index is returned.
588 public int getStreamVolume(int streamType) {
591 return service.getStreamVolume(streamType);
603 public int getLastAudibleStreamVolume(int streamType) {
    [all...]
Ringtone.java 78 * @param streamType The stream, see {@link AudioManager}.
80 public void setStreamType(int streamType) {
81 mStreamType = streamType;
AudioTrack.java 241 * @param streamType the type of the audio stream. See
263 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat,
266 this(streamType, sampleRateInHz, channelConfig, audioFormat,
280 * @param streamType the type of the audio stream. See
303 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat,
313 audioParamCheck(streamType, sampleRateInHz, channelConfig, audioFormat, mode);
351 private void audioParamCheck(int streamType, int sampleRateInHz,
356 if( (streamType != AudioManager.STREAM_ALARM) && (streamType != AudioManager.STREAM_MUSIC)
357 && (streamType != AudioManager.STREAM_RING) && (streamType != AudioManager.STREAM_SYSTEM
    [all...]
  /frameworks/base/core/java/android/view/
VolumePanel.java 153 int streamType;
160 StreamResources(int streamType, int descRes, int iconRes, int iconMuteRes, boolean show) {
161 this.streamType = streamType;
181 int streamType;
276 private boolean isMuted(int streamType) {
277 return mAudioManager.isStreamMute(streamType);
287 int streamType = streamRes.streamType;
292 sc.streamType = streamType
    [all...]
  /frameworks/base/media/libmedia/
AudioSystem.cpp 206 status_t AudioSystem::getOutputSamplingRate(int* samplingRate, int streamType)
211 if (streamType == AUDIO_STREAM_DEFAULT) {
212 streamType = AUDIO_STREAM_MUSIC;
215 output = getOutput((audio_stream_type_t)streamType);
234 LOGV("getOutputSamplingRate() streamType %d, output %d, sampling rate %d", streamType, output, *samplingRate);
239 status_t AudioSystem::getOutputFrameCount(int* frameCount, int streamType)
244 if (streamType == AUDIO_STREAM_DEFAULT) {
245 streamType = AUDIO_STREAM_MUSIC;
248 output = getOutput((audio_stream_type_t)streamType);
    [all...]
AudioTrack.cpp 54 int streamType,
58 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) {
62 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) {
66 if (AudioSystem::getOutputLatency(&afLatency, streamType) != NO_ERROR) {
87 int streamType,
99 mStatus = set(streamType, sampleRate, format, channelMask,
105 int streamType,
117 mStatus = set(streamType, sampleRate, format, channelMask,
142 int streamType,
165 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR)
    [all...]
  /frameworks/base/core/java/android/speech/tts/
BlockingMediaPlayer.java 50 * @param streamType
52 public BlockingMediaPlayer(Context context, Uri uri, int streamType) {
55 mStreamType = streamType;
SynthesisMessageParams.java 58 SynthesisMessageParams(int streamType, int sampleRate,
64 mStreamType = streamType;
PlaybackSynthesisCallback.java 69 PlaybackSynthesisCallback(int streamType, float volume, float pan,
72 mStreamType = streamType;
  /frameworks/base/core/java/android/preference/
VolumePreference.java 60 public void setStreamType(int streamType) {
61 mStreamType = streamType;
250 public SeekBarVolumizer(Context context, SeekBar seekBar, int streamType) {
251 this(context, seekBar, streamType, null);
254 public SeekBarVolumizer(Context context, SeekBar seekBar, int streamType, Uri defaultUri) {
257 mStreamType = streamType;
  /frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
SingleThreadedMediaPlayerProxy.java 107 public void setAudioStreamType(int streamType) {
108 mDelegate.setAudioStreamType(streamType);
MediaPlayerProxy.java 48 void setAudioStreamType(int streamType);
  /frameworks/media/libvideoeditor/vss/src/
M4AMRR_CoreReader.c 97 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)
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)
144 if ( streamType == M4SYS_kAMR
    [all...]
  /frameworks/media/libvideoeditor/lvpp/
VideoEditorPlayer.h 62 void setAudioStreamType(int streamType) { mStreamType = streamType; }
  /frameworks/media/libvideoeditor/vss/common/inc/
M4SYS_Stream.h 35 /** 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
40 value to return the above categories. StreamType is an un-signed integer on 16 bits.
146 M4SYS_StreamType streamType; /**< The stream type of the stream*/
  /packages/apps/Settings/src/com/android/settings/
RingerVolumePreference.java 115 int streamType = SEEKBAR_TYPE[i];
116 boolean muted = mAudioManager.isStreamMute(streamType);
119 if (streamType == AudioManager.STREAM_RING && muted
129 final int volume = muted ? mAudioManager.getLastAudibleStreamVolume(streamType)
130 : mAudioManager.getStreamVolume(streamType);
  /frameworks/base/include/media/
AudioTrack.h 112 int streamType =-1,
127 * streamType: Select the type of audio stream this track is attached to
145 AudioTrack( int streamType,
165 AudioTrack( int streamType,
189 status_t set(int streamType =-1,
218 int streamType() const;
441 status_t createTrack_l(int streamType,
  /frameworks/base/media/jni/soundpool/
SoundPool.cpp 42 SoundPool::SoundPool(int maxChannels, int streamType, int srcQuality)
44 LOGV("SoundPool constructor: maxChannels=%d, streamType=%d, srcQuality=%d",
45 maxChannels, streamType, srcQuality);
59 mStreamType = streamType;
573 int streamType = mSoundPool->streamType();
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, sampleRate, sample->format()
    [all...]
  /frameworks/media/libvideoeditor/vss/stagefrightshells/src/
VideoEditor3gpReader.cpp     [all...]
  /frameworks/base/media/libstagefright/mpeg2ts/
MPEG2PSExtractor.cpp 485 unsigned streamType;
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/media/libvideoeditor/vss/3gpwriter/src/
M4MP4W_Interface.c 228 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)
    [all...]
  /packages/apps/DeskClock/res/xml/
settings.xml 31 android:streamType="alarm" />
  /frameworks/base/core/jni/
android_media_ToneGenerator.cpp 81 jint streamType, jint volume) {
82 ToneGenerator *lpToneGen = new ToneGenerator(streamType, AudioSystem::linearToLog(volume), true);

Completed in 972 milliseconds

1 2 3 4 5