Searched defs:streamType (Results 1 - 25 of 44) sorted by path

12

/frameworks/av/include/media/
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
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.h63 void setAudioStreamType(audio_stream_type_t streamType) { mStreamType = streamType; } argument
/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:__anon183
/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/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;
1539 if(M4DA_StreamTypeVideoH263 == streamType) {
1574 else if(M4DA_StreamTypeVideoMpeg4Avc == streamType) {
1609 } else if( (M4DA_StreamTypeVideoMpeg4 == streamType) ) {
[all...]
/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,
69 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) {
73 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) {
77 if (AudioSystem::getOutputLatency(&afLatency, streamType) != NO_ERROR) {
103 audio_stream_type_t streamType,
118 mStatus = set(streamType, sampleRate, format, channelMask,
125 int streamType,
139 mStatus = set((audio_stream_type_t)streamType, sampleRate, (audio_format_t)format,
146 audio_stream_type_t streamType,
161 mStatus = set(streamType, sampleRat
52 getMinFrameCount( int* frameCount, audio_stream_type_t streamType, uint32_t sampleRate) argument
102 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
124 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
145 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const sp<IMemory>& sharedBuffer, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
186 set( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId) argument
337 audio_stream_type_t AudioTrack::streamType() const function in class:android::AudioTrack
749 createTrack_l( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output) argument
[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 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 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/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/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/media/libstagefright/mpeg2ts/
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
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));
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.cpp37 unsigned PID, unsigned streamType, unsigned streamID);
40 unsigned streamType() const;
86 unsigned PID, unsigned streamType, unsigned streamID)
89 mStreamType(streamType),
123 unsigned TSPacketizer::Track::streamType() const { function in class:android::TSPacketizer::Track
347 unsigned streamType; local
352 streamType = 0x1b;
356 streamType = 0x0f;
360 streamType = 0x83;
373 if (track->streamType()
84 Track( const sp<AMessage> &format, unsigned PID, unsigned streamType, unsigned streamID) argument
[all...]
/frameworks/av/services/audioflinger/
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...]
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);
/frameworks/av/services/camera/libcameraservice/camera2/
H A DZslProcessor.cpp166 int streamType = params.quirks.useZslFormat ? local
171 streamType, 0,
/frameworks/base/core/java/android/app/
H A DActivity.java4610 * @param streamType The type of the audio stream whose volume should be
4617 public final void setVolumeControlStream(int streamType) { argument
4618 getWindow().setVolumeControlStream(streamType);
H A DDialog.java1203 public final void setVolumeControlStream(int streamType) { argument
1204 getWindow().setVolumeControlStream(streamType);
H A DNotification.java1247 public Builder setSound(Uri sound, int streamType) { argument
1249 mAudioStreamType = 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/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 DBlockingAudioTrack.java76 BlockingAudioTrack(int streamType, int sampleRate, argument
79 mStreamType = streamType;
H A DPlaybackSynthesisCallback.java69 PlaybackSynthesisCallback(int streamType, float volume, float pan, argument
72 mStreamType = streamType;

Completed in 2680 milliseconds

12