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

1234

/frameworks/av/media/libaudioclient/
H A DAudioSystem.cpp256 status_t AudioSystem::getOutputSamplingRate(uint32_t* samplingRate, audio_stream_type_t streamType) argument
260 if (streamType == AUDIO_STREAM_DEFAULT) {
261 streamType = AUDIO_STREAM_MUSIC;
264 output = getOutput(streamType);
293 status_t AudioSystem::getOutputFrameCount(size_t* frameCount, audio_stream_type_t streamType) argument
297 if (streamType == AUDIO_STREAM_DEFAULT) {
298 streamType = AUDIO_STREAM_MUSIC;
301 output = getOutput(streamType);
330 status_t AudioSystem::getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) argument
334 if (streamType
[all...]
H A DToneGenerator.cpp838 // streamType: Type of stream used for tone playback
845 ToneGenerator::ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava) { argument
847 ALOGV("ToneGenerator constructor: streamType=%d, volume=%f", streamType, volume);
851 if (AudioSystem::getOutputSamplingRate(&mSamplingRate, streamType) != NO_ERROR) {
856 mStreamType = streamType;
/frameworks/base/media/java/android/media/
H A DRingtone.java101 * @param streamType The stream, see {@link AudioManager}.
105 public void setStreamType(int streamType) { argument
106 PlayerBase.deprecateStreamTypeForPlayback(streamType, "Ringtone", "setStreamType()");
108 .setInternalLegacyStreamType(streamType)
H A DAudioTrack.java390 * @param streamType the type of the audio stream. See
428 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, argument
431 this(streamType, sampleRateInHz, channelConfig, audioFormat,
447 * @param streamType the type of the audio stream. See
486 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, argument
491 .setLegacyStreamType(streamType)
500 deprecateStreamTypeForPlayback(streamType, "AudioTrack", "AudioTrack()");
1474 static public int getNativeOutputSampleRate(int streamType) { argument
1475 return native_get_output_sample_rate(streamType);
3101 static private native final int native_get_output_sample_rate(int streamType); argument
[all...]
H A DAudioSystem.java794 public static int getDefaultStreamVolume(int streamType) { argument
795 return DEFAULT_STREAM_VOLUME[streamType];
H A DPlayerBase.java570 * @param streamType the stream type to check
573 public static void deprecateStreamTypeForPlayback(int streamType, String className, argument
578 if (streamType == AudioManager.STREAM_ACCESSIBILITY) {
/frameworks/av/include/media/stagefright/
H A DUtils.h70 bool isStreaming, audio_stream_type_t streamType);
/frameworks/av/media/libstagefright/foundation/include/
H A DUtils.h70 bool isStreaming, audio_stream_type_t streamType);
/frameworks/av/media/libstagefright/include/
H A DUtils.h70 bool isStreaming, audio_stream_type_t streamType);
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DVolumeCurve.h218 audio_stream_type_t streamType = volumeCurve->getStreamType(); local
219 return editCurvesFor(streamType).add(volumeCurve);
/frameworks/base/cmds/bootanimation/
H A Daudioplay.cpp192 SLint32 streamType = SL_ANDROID_STREAM_SYSTEM; local
194 SL_ANDROID_KEY_STREAM_TYPE, &streamType, sizeof(SLint32));
/frameworks/base/core/java/android/preference/
H A DVolumePreference.java63 public void setStreamType(int streamType) { argument
64 mStreamType = streamType;
/frameworks/av/services/audioflinger/
H A DThreads.h705 audio_stream_type_t streamType,
760 bool invalidateTracks_l(audio_stream_type_t streamType);
761 virtual void invalidateTracks(audio_stream_type_t streamType);
1153 virtual void invalidateTracks(audio_stream_type_t streamType);
1471 audio_stream_type_t streamType,
1523 virtual audio_stream_type_t streamType() { return AUDIO_STREAM_DEFAULT; }
1525 virtual void invalidateTracks(audio_stream_type_t streamType __unused) {}
1554 audio_stream_type_t streamType,
1570 virtual void invalidateTracks(audio_stream_type_t streamType);
1572 virtual audio_stream_type_t streamType() { retur
[all...]
H A DThreads.cpp1833 audio_stream_type_t streamType,
2010 uint32_t strategy = AudioSystem::getStrategyForStream(streamType);
2014 uint32_t actual = AudioSystem::getStrategyForStream(t->streamType());
2024 track = new Track(this, client, streamType, sampleRate, format,
2040 chain->setStrategy(AudioSystem::getStrategyForStream(track->streamType()));
2137 status = AudioSystem::startOutput(mId, track->streamType(),
2144 AudioSystem::stopOutput(mId, track->streamType(),
2526 return AudioSystem::getStrategyForStream(track->streamType());
2598 AudioSystem::stopOutput(mId, track->streamType(),
2605 AudioSystem::releaseOutput(mId, track->streamType(),
1831 createTrack_l( const sp<AudioFlinger::Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *pFrameCount, const sp<IMemory>& sharedBuffer, audio_session_t sessionId, audio_output_flags_t *flags, pid_t tid, uid_t uid, status_t *status, audio_port_handle_t portId) argument
2762 invalidateTracks_l(audio_stream_type_t streamType) argument
2778 invalidateTracks(audio_stream_type_t streamType) argument
5730 invalidateTracks(audio_stream_type_t streamType) argument
8224 configure(const audio_attributes_t *attr, audio_stream_type_t streamType, audio_session_t sessionId, const sp<MmapStreamCallback>& callback, audio_port_handle_t portId) argument
8292 invalidateTracks(audio_stream_type_t streamType) argument
[all...]
/frameworks/av/include/media/
H A DToneGenerator.h155 ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava = false);
H A DIAudioFlinger.h54 audio_stream_type_t streamType,
H A DMediaPlayerInterface.h322 virtual status_t setAudioStreamType(audio_stream_type_t streamType) = 0;
/frameworks/av/media/libaudioclient/include/media/
H A DToneGenerator.h155 ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava = false);
H A DIAudioFlinger.h54 audio_stream_type_t streamType,
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp745 audio_stream_type_t streamType = audio_attributes_to_stream_type(mSoundPool->attributes()); local
746 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) {
749 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) {
791 newTrack = new AudioTrack(streamType, sampleRate, sample->format(),
798 newTrack = new AudioTrack(streamType, sampleRate, sample->format(),
/frameworks/av/media/libstagefright/
H A DMPEG2TSWriter.cpp43 unsigned streamType() const;
118 unsigned MPEG2TSWriter::SourceInfo::streamType() const { function in class:android::MPEG2TSWriter::SourceInfo
777 *ptr++ = mSources.editItemAt(i)->streamType();
840 mSources.editItemAt(sourceIndex)->streamType() == 0x0f ? 0xc0 : 0xe0;
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp138 unsigned streamType,
509 unsigned streamType = br->getBits(8); local
510 ALOGV(" stream_type = 0x%02x", streamType);
529 info.mType = streamType;
711 unsigned streamType,
716 mStreamType(streamType),
731 elementaryPID, streamType, mScrambled, mSampleEncrypted);
779 elementaryPID, streamType);
1479 ALOGI("payload streamType 0x%02x, PTS = 0x%016llx, dPTS = %lld",
708 Stream( Program *program, unsigned elementaryPID, unsigned streamType, unsigned PCR_PID, int32_t CA_system_ID) argument
/frameworks/base/core/java/android/app/
H A DDialog.java1332 public final void setVolumeControlStream(int streamType) { argument
1333 getWindow().setVolumeControlStream(streamType);
/frameworks/av/media/libmediaplayerservice/include/
H A DMediaPlayerInterface.h322 virtual status_t setAudioStreamType(audio_stream_type_t streamType) = 0;
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputHardwareManager.java513 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1);
514 if (streamType != AudioManager.STREAM_MUSIC) {
525 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1);
526 if (streamType != AudioManager.STREAM_MUSIC) {

Completed in 3875 milliseconds

1234