Searched refs:streamType (Results 26 - 50 of 66) sorted by relevance

123

/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)
/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));
H A DATSParser.cpp101 unsigned streamType,
280 unsigned streamType = br->getBits(8); local
281 ALOGV(" stream_type = 0x%02x", streamType);
316 info.mType = streamType;
455 unsigned streamType,
459 mStreamType(streamType),
501 ALOGV("new stream PID 0x%02x, type 0x%02x", elementaryPID, streamType);
840 ALOGI("payload streamType 0x%02x, PTS = 0x%016llx, dPTS = %lld",
452 Stream( Program *program, unsigned elementaryPID, unsigned streamType, unsigned PCR_PID) argument
/frameworks/av/media/libmedia/
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...]
H A DIAudioFlinger.cpp88 audio_stream_type_t streamType,
104 data.writeInt32((int32_t) streamType);
722 int streamType = data.readInt32(); local
734 (audio_stream_type_t) streamType, sampleRate, format,
86 createTrack( pid_t pid, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, track_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, status_t *status) argument
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;
/frameworks/av/include/media/
H A DAudioSystem.h94 audio_stream_type_t streamType,
113 static bool routedToA2dpOutput(audio_stream_type_t streamType);
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
H A DToneGenerator.h154 ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava = false);
H A DIAudioFlinger.h60 audio_stream_type_t streamType,
H A DMediaPlayerInterface.h227 virtual status_t setAudioStreamType(audio_stream_type_t streamType) = 0;
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.h63 void setAudioStreamType(audio_stream_type_t streamType) { mStreamType = streamType; } argument
/frameworks/base/core/java/android/speech/tts/
H A DBlockingAudioTrack.java76 BlockingAudioTrack(int streamType, int sampleRate, argument
79 mStreamType = 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 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/libmediaplayerservice/
H A DMediaPlayerService.h105 void setAudioStreamType(audio_stream_type_t streamType) { mStreamType = streamType; } argument
206 void setAudioStreamType(audio_stream_type_t streamType) {} argument
/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/base/core/jni/
H A Dandroid_media_AudioTrack.cpp204 jint streamType, jint sampleRateInHertz, jint javaChannelMask,
212 if (AudioSystem::getOutputFrameCount(&afFrameCount, (audio_stream_type_t) streamType) != NO_ERROR) {
216 if (AudioSystem::getOutputSamplingRate(&afSampleRate, (audio_stream_type_t) streamType) != NO_ERROR) {
234 switch (streamType) {
243 atStreamType = (audio_stream_type_t) streamType;
203 android_media_AudioTrack_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, jint streamType, jint sampleRateInHertz, jint javaChannelMask, jint audioFormat, jint buffSizeInBytes, jint memoryMode, jintArray jSession) argument
/frameworks/av/libvideoeditor/vss/src/
H A DM4PTO3GPP_API.c1518 pC->m_pWriterVideoStream->streamType = M4SYS_kMPEG_4; break;
1520 pC->m_pWriterVideoStream->streamType = M4SYS_kH263; break;
1522 pC->m_pWriterVideoStream->streamType = M4SYS_kH264; break;
1632 pC->m_pWriterAudioStream->streamType = M4SYS_kAMR;
1635 pC->m_pWriterAudioStream->streamType = M4SYS_kAAC;
1638 pC->m_pWriterAudioStream->streamType = M4SYS_kEVRC;
/frameworks/av/services/camera/libcameraservice/camera2/
H A DZslProcessor.cpp166 int streamType = params.quirks.useZslFormat ? local
171 streamType, 0,
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompat.java411 public Builder setSound(Uri sound, int streamType) { argument
413 mNotification.audioStreamType = streamType;
/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/services/audioflinger/
H A DAudioFlinger.h91 audio_stream_type_t streamType,
779 audio_stream_type_t streamType,
801 audio_stream_type_t streamType() const { function in class:android::AudioFlinger::PlaybackThread::Track
903 audio_stream_type_t streamType,
946 audio_stream_type_t streamType,
1077 audio_stream_type_t streamType,
1124 void invalidateTracks(audio_stream_type_t streamType);
H A DAudioFlinger.cpp443 audio_stream_type_t streamType,
463 if (uint32_t(streamType) >= AUDIO_STREAM_CNT) {
464 ALOGE("createTrack() invalid stream type %d", streamType);
505 track = thread->createTrack_l(client, streamType, sampleRate, format,
1711 audio_stream_type_t streamType,
1822 uint32_t strategy = AudioSystem::getStrategyForStream(streamType);
1826 uint32_t actual = AudioSystem::getStrategyForStream(t->streamType());
1837 track = new Track(this, client, streamType, sampleRate, format,
1840 track = TimedTrack::create(this, client, streamType, sampleRate, format,
1853 chain->setStrategy(AudioSystem::getStrategyForStream(track->streamType()));
441 createTrack( pid_t pid, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, IAudioFlinger::track_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, status_t *status) argument
1709 createTrack_l( const sp<AudioFlinger::Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t flags, pid_t tid, status_t *status) argument
3417 invalidateTracks(audio_stream_type_t streamType) argument
4314 Track( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t flags) argument
4854 create( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument
4872 TimedTrack( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument
[all...]
/frameworks/base/core/java/android/app/
H A DDialog.java1203 public final void setVolumeControlStream(int streamType) { argument
1204 getWindow().setVolumeControlStream(streamType);

Completed in 4750 milliseconds

123