/frameworks/av/media/libaudioclient/ |
H A D | AudioSystem.cpp | 256 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 D | ToneGenerator.cpp | 838 // 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 D | Ringtone.java | 101 * @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 D | AudioTrack.java | 390 * @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 D | AudioSystem.java | 794 public static int getDefaultStreamVolume(int streamType) { argument 795 return DEFAULT_STREAM_VOLUME[streamType];
|
H A D | PlayerBase.java | 570 * @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 D | Utils.h | 70 bool isStreaming, audio_stream_type_t streamType);
|
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | Utils.h | 70 bool isStreaming, audio_stream_type_t streamType);
|
/frameworks/av/media/libstagefright/include/ |
H A D | Utils.h | 70 bool isStreaming, audio_stream_type_t streamType);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | VolumeCurve.h | 218 audio_stream_type_t streamType = volumeCurve->getStreamType(); local 219 return editCurvesFor(streamType).add(volumeCurve);
|
/frameworks/base/cmds/bootanimation/ |
H A D | audioplay.cpp | 192 SLint32 streamType = SL_ANDROID_STREAM_SYSTEM; local 194 SL_ANDROID_KEY_STREAM_TYPE, &streamType, sizeof(SLint32));
|
/frameworks/base/core/java/android/preference/ |
H A D | VolumePreference.java | 63 public void setStreamType(int streamType) { argument 64 mStreamType = streamType;
|
/frameworks/av/services/audioflinger/ |
H A D | Threads.h | 705 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 D | Threads.cpp | 1833 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 D | ToneGenerator.h | 155 ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava = false);
|
H A D | IAudioFlinger.h | 54 audio_stream_type_t streamType,
|
H A D | MediaPlayerInterface.h | 322 virtual status_t setAudioStreamType(audio_stream_type_t streamType) = 0;
|
/frameworks/av/media/libaudioclient/include/media/ |
H A D | ToneGenerator.h | 155 ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava = false);
|
H A D | IAudioFlinger.h | 54 audio_stream_type_t streamType,
|
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPool.cpp | 745 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 D | MPEG2TSWriter.cpp | 43 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 D | ATSParser.cpp | 138 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 D | Dialog.java | 1332 public final void setVolumeControlStream(int streamType) { argument 1333 getWindow().setVolumeControlStream(streamType);
|
/frameworks/av/media/libmediaplayerservice/include/ |
H A D | MediaPlayerInterface.h | 322 virtual status_t setAudioStreamType(audio_stream_type_t streamType) = 0;
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputHardwareManager.java | 513 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) {
|