HomeSort by relevance Sort by last modified time
    Searched refs:streamType (Results 1 - 25 of 92) sorted by null

1 2 3 4

  /frameworks/base/media/java/android/media/
IRingtonePlayer.aidl 26 void play(IBinder token, in Uri uri, int streamType);
31 void playAsync(in Uri uri, boolean looping, int streamType);
IAudioService.aidl 39 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, IBinder cb)
    [all...]
AudioTrack.java 243 * @param streamType the type of the audio stream. See
264 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat,
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,
315 audioParamCheck(streamType, sampleRateInHz, channelConfig, audioFormat, mode);
362 private void audioParamCheck(int streamType, int sampleRateInHz,
367 if( (streamType != AudioManager.STREAM_ALARM) && (streamType != AudioManager.STREAM_MUSIC)
368 && (streamType != AudioManager.STREAM_RING) && (streamType != AudioManager.STREAM_SYSTEM
    [all...]
AudioService.java 531 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].muteCount() == 0)
    [all...]
ToneGenerator.java 735 * @param streamType The streame type used for tone playback (e.g. STREAM_MUSIC).
739 public ToneGenerator(int streamType, int volume) {
740 native_setup(streamType, volume);
874 private native final void native_setup(int streamType, int volume);
AudioManager.java 528 * @param streamType The stream type to adjust. One of {@link #STREAM_VOICE_CALL},
538 public void adjustStreamVolume(int streamType, int direction, int flags) {
544 service.adjustStreamVolume(streamType, direction, flags);
664 * @param streamType The stream type whose maximum volume index is returned.
668 public int getStreamMaxVolume(int streamType) {
674 return service.getStreamMaxVolume(streamType);
685 * @param streamType The stream type whose volume index is returned.
690 public int getStreamVolume(int streamType) {
696 return service.getStreamVolume(streamType);
709 public int getLastAudibleStreamVolume(int streamType) {
    [all...]
SoundPool.java 130 * @param streamType the audio stream type as described in AudioManager
137 public SoundPool(int maxStreams, int streamType, int srcQuality) {
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);
  /frameworks/base/core/java/android/view/
VolumePanel.java 169 int streamType;
176 StreamResources(int streamType, int descRes, int iconRes, int iconMuteRes, boolean show) {
177 this.streamType = streamType;
199 int streamType;
222 streamRes.show = (streamRes.streamType == STREAM_MASTER);
304 private boolean isMuted(int streamType) {
305 if (streamType == STREAM_MASTER) {
307 } else if (streamType == AudioService.STREAM_REMOTE_MUSIC) {
310 return mAudioManager.isStreamMute(streamType);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/media/
RingtonePlayer.java 73 public Client(IBinder token, Uri uri, int streamType) {
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/
MediaPlayerProxy.java 48 void setAudioStreamType(int streamType);
SingleThreadedMediaPlayerProxy.java 107 public void setAudioStreamType(int streamType) {
108 mDelegate.setAudioStreamType(streamType);
  /frameworks/av/include/media/
AudioTrack.h 118 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/
AudioSystem.cpp 209 status_t AudioSystem::getOutputSamplingRate(int* samplingRate, int streamType) {
210 return getOutputSamplingRate(samplingRate, (audio_stream_type_t)streamType);
213 status_t AudioSystem::getOutputSamplingRate(int* samplingRate, audio_stream_type_t streamType)
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, output, *samplingRate)
    [all...]
AudioTrack.cpp 54 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, sampleRate, format, channelMask
    [all...]
  /frameworks/base/core/java/android/speech/tts/
AudioPlaybackQueueItem.java 38 Context context, Uri uri, int streamType) {
43 mStreamType = streamType;
SynthesisPlaybackQueueItem.java 66 SynthesisPlaybackQueueItem(int streamType, int sampleRate,
78 mAudioTrack = new BlockingAudioTrack(streamType, sampleRate, audioFormat,
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;
248 public SeekBarVolumizer(Context context, SeekBar seekBar, int streamType) {
249 this(context, seekBar, streamType, null);
252 public SeekBarVolumizer(Context context, SeekBar seekBar, int streamType, Uri defaultUri) {
255 mStreamType = streamType;
  /frameworks/wilhelm/src/android/
android_defs.h 69 audio_stream_type_t streamType;
  /frameworks/av/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...]
M4PCMR_CoreReader.c 240 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/av/libvideoeditor/lvpp/
VideoEditorPlayer.h 63 void setAudioStreamType(audio_stream_type_t streamType) { mStreamType = streamType; }
  /frameworks/base/core/jni/
android_media_ToneGenerator.cpp 89 jint streamType, jint volume) {
90 ToneGenerator *lpToneGen = new ToneGenerator((audio_stream_type_t) streamType, AudioSystem::linearToLog(volume), true);
  /frameworks/av/libvideoeditor/vss/stagefrightshells/src/
VideoEditor3gpReader.cpp     [all...]
  /frameworks/av/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*/

Completed in 320 milliseconds

1 2 3 4