/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | SimTonesTest.java | 17 package com.android.mediaframeworktest.functional.audio;
|
H A D | MediaBassBoostTest.java | 17 package com.android.mediaframeworktest.functional.audio;
|
H A D | MediaPresetReverbTest.java | 17 package com.android.mediaframeworktest.functional.audio; 210 // creating a volume controller on output mix ensures that ro.audio.silent mutes 211 // audio after the effects and not before 281 // creating a volume controller on output mix ensures that ro.audio.silent mutes 282 // audio after the effects and not before
|
H A D | MediaVirtualizerTest.java | 17 package com.android.mediaframeworktest.functional.audio;
|
H A D | MediaAudioManagerTest.java | 17 package com.android.mediaframeworktest.functional.audio; 155 // the audio focus request is async, so wait a bit to verify it had the expected effect 175 //Test case 1: test audio focus listener loses audio focus: 186 //Test case 2: test audio focus listener loses audio focus: 198 //Test case 3: test audio focus listener loses audio focus: 210 //Test case 4: test audio focus registering and use over 3000 iterations 220 assertTrue("audio focu [all...] |
H A D | MediaEnvReverbTest.java | 17 package com.android.mediaframeworktest.functional.audio; 365 // creating a volume controller on output mix ensures that ro.audio.silent mutes 366 // audio after the effects and not before 438 // creating a volume controller on output mix ensures that ro.audio.silent mutes 439 // audio after the effects and not before
|
H A D | MediaEqualizerTest.java | 17 package com.android.mediaframeworktest.functional.audio;
|
H A D | MediaVisualizerTest.java | 17 package com.android.mediaframeworktest.functional.audio; 242 // creating a volume controller on output mix ensures that ro.audio.silent mutes 243 // audio after the effects and not before 321 // creating a volume controller on output mix ensures that ro.audio.silent mutes 322 // audio after the effects and not before 454 // creating a volume controller on output mix ensures that ro.audio.silent mutes 455 // audio after the effects and not before
|
H A D | MediaAudioEffectTest.java | 17 package com.android.mediaframeworktest.functional.audio; 276 //Test case 1.4: test contructor on mediaPlayer audio session
|
H A D | MediaAudioTrackTest.java | 17 package com.android.mediaframeworktest.functional.audio; 752 // count (given the audio track properties), and add 77.
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | StreamingSource.cpp | 176 sp<AnotherPacketSource> audioTrack = getSource(true /*audio*/); 177 sp<AnotherPacketSource> videoTrack = getSource(false /*audio*/); 185 ALOGV("audio track doesn't have enough data yet. (%.2f secs buffered)", 207 sp<AnotherPacketSource> NuPlayer::StreamingSource::getSource(bool audio) { argument 213 audio ? ATSParser::AUDIO : ATSParser::VIDEO); 218 sp<MetaData> NuPlayer::StreamingSource::getFormatMeta(bool audio) { argument 219 sp<AnotherPacketSource> source = getSource(audio); 229 bool audio, sp<ABuffer> *accessUnit) { 230 sp<AnotherPacketSource> source = getSource(audio); 228 dequeueAccessUnit( bool audio, sp<ABuffer> *accessUnit) argument
|
H A D | HTTPLiveSource.cpp | 103 sp<AMessage> NuPlayer::HTTPLiveSource::getFormat(bool audio) { argument 110 audio ? LiveSession::STREAMTYPE_AUDIO 126 bool audio, sp<ABuffer> *accessUnit) { 128 audio ? LiveSession::STREAMTYPE_AUDIO 292 sp<AMessage> format = getFormat(false /* audio */); 334 bool audio = changedMask & LiveSession::STREAMTYPE_AUDIO; local 342 notify->setInt32("audio", audio); 125 dequeueAccessUnit( bool audio, sp<ABuffer> *accessUnit) argument
|
H A D | NuPlayer.h | 213 inline const sp<DecoderBase> &getDecoder(bool audio) { argument 214 return audio ? mAudioDecoder : mVideoDecoder; 228 status_t instantiateDecoder(bool audio, sp<DecoderBase> *decoder); 238 void handleFlushComplete(bool audio, bool isDecoder); 247 void flushDecoder(bool audio, bool needShutdown); 260 void performDecoderFlush(FlushCommand audio, FlushCommand video); 270 bool audio, bool video, const sp<AMessage> &reply);
|
H A D | RTSPSource.cpp | 153 sp<MetaData> NuPlayer::RTSPSource::getFormatMeta(bool audio) { argument 154 sp<AnotherPacketSource> source = getSource(audio); 182 ALOGV("audio track doesn't have enough data yet. (%.2f secs buffered)", 200 bool audio, sp<ABuffer> *accessUnit) { 205 sp<AnotherPacketSource> source = getSource(audio); 216 sp<AnotherPacketSource> otherSource = getSource(!audio); 230 int64_t eosTimeout = audio ? mEOSTimeoutAudio : mEOSTimeoutVideo; 232 setEOSTimeout(audio, ALooper::GetNowUs()); 234 setEOSTimeout(audio, 0); 252 setEOSTimeout(audio, 199 dequeueAccessUnit( bool audio, sp<ABuffer> *accessUnit) argument 257 getSource(bool audio) argument 268 setEOSTimeout(bool audio, int64_t timeout) argument [all...] |
H A D | NuPlayerDecoder.cpp | 45 return property_get_bool("media.stagefright.audio.deep", false /* default_value */); 118 mIsAudio ? "audio" : "video", cbID, mPaused); 166 mIsAudio ? "audio" : "video", err); 247 mIsAudio = !strncasecmp("audio/", mime.c_str(), 6); 581 ALOGI("[%s] saw output EOS", mIsAudio ? "audio" : "video"); 628 bool hasVideo = (mSource->getFormat(false /* audio */) != NULL); 704 mIsAudio ? "audio" : "video", formatChange, timeChange); 758 mIsAudio ? "audio" : "video", 1012 bool audio = !strncasecmp(oldMime.c_str(), "audio/", strle local [all...] |
H A D | GenericSource.cpp | 224 if (!strncasecmp(mime, "audio/", 6)) { 285 ALOGE("failed to start audio track!"); 320 bool audio, Vector<MediaBuffer *> &buffers) { 321 if (mIsSecure && !audio) { 414 sp<MetaData> meta = doGetFormatMeta(false /* audio */); 786 if (!strncasecmp(mime, "audio/", 6)) { 962 sp<MetaData> NuPlayer::GenericSource::getFormatMeta(bool audio) { 964 msg->setInt32("audio", audio); 978 int32_t audio; local 319 setBuffers( bool audio, Vector<MediaBuffer *> &buffers) argument 1000 dequeueAccessUnit( bool audio, sp<ABuffer> *accessUnit) argument 1284 bool audio = !strncasecmp(mime, "audio/", 6); local 1363 bool audio = trackType == MEDIA_TRACK_TYPE_AUDIO; local [all...] |
H A D | NuPlayer.cpp | 117 FlushDecoderAction(FlushCommand audio, FlushCommand video) argument 118 : mAudio(audio), 340 // do some cursory validation of the settings here. audio modes are 434 mime = "audio/"; 635 (mSource != NULL && mStarted && mSource->getFormat(false /* audio */) != NULL 641 if (mSource == NULL || !mStarted || mSource->getFormat(false /* audio */) == NULL 649 new FlushDecoderAction(FLUSH_CMD_FLUSH /* audio */, 658 // If the video decoder is not set (perhaps audio only in this case) 837 // initialize video before audio because successful initialization of 838 // video may change deep buffer mode of audio 883 bool audio = msg->what() == kWhatAudioNotify; local 1048 int32_t audio; local 1075 int32_t audio; local 1371 handleFlushComplete(bool audio, bool isDecoder) argument 1496 instantiateDecoder(bool audio, sp<DecoderBase> *decoder) argument 1672 flushDecoder(bool audio, bool needShutdown) argument 1709 queueDecoderShutdown( bool audio, bool video, const sp<AMessage> &reply) argument 1881 performDecoderFlush(FlushCommand audio, FlushCommand video) argument 2209 int32_t audio, video; local 2324 getFormat(bool audio) argument [all...] |
H A D | NuPlayerRenderer.cpp | 41 #Turn offload audio off (use PCM for Play Music) -- AudioPolicyManager 42 adb shell setprop audio.offload.disable 1 44 #Allow offload audio with video (requires offloading to be enabled) -- AudioPolicyManager 45 adb shell setprop audio.offload.video 1 47 #Use audio callbacks for PCM data 48 adb shell setprop media.stagefright.audio.cbk 1 50 #Use deep buffer for PCM data with video (it is generally enabled for audio-only) 51 adb shell setprop media.stagefright.audio.deep 1 53 #Set size of buffers for pcm audio sink in msec (example: 1000 msec) 54 adb shell setprop media.stagefright.audio 136 queueBuffer( bool audio, const sp<ABuffer> &buffer, const sp<AMessage> ¬ifyConsumed) argument 148 queueEOS(bool audio, status_t finalResult) argument 265 flush(bool audio, bool notifyComplete) argument 1170 notifyEOS(bool audio, status_t finalResult, int64_t delayUs) argument 1183 int32_t audio; local 1281 int32_t audio; local 1313 int32_t audio, notifyComplete; local 1412 notifyFlushComplete(bool audio) argument 1419 dropBufferIfStale( bool audio, const sp<AMessage> &msg) argument 1541 getQueueGeneration(bool audio) argument 1546 getDrainGeneration(bool audio) argument [all...] |
/frameworks/av/services/radio/ |
H A D | RadioService.h | 76 bool audio); 98 bool mMute; // radio audio source state 99 // when unmuted, audio is routed to the 137 bool audio); 172 bool audio() const { return mAudio; } function in class:android::RadioService::ModuleClient
|
H A D | RadioService.cpp | 25 #include <system/audio.h> 403 bool audio) 416 moduleClient = new ModuleClient(this, client, config, audio); 422 // There is a limited amount of tuners and a limited amount of radio audio sources per module. 423 // The minimum is one tuner and one audio source. 425 // NOTE: current framework implementation only supports one radio audio source. 427 // to the radio audio source (AUDIO_DEVICE_IN_FM_TUNER). 429 // and can use the audio source if requested. 432 // - If the newly connected client requests the audio source (audio 401 addClient(const sp<IRadioClient>& client, const struct radio_band_config *config, bool audio) argument 644 ModuleClient(const sp<Module>& module, const sp<IRadioClient>& client, const struct radio_band_config *config, bool audio) argument [all...] |
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | RotationHelper.java | 17 package com.android.server.audio; 31 * to the audio HALs through AudioSystem. 38 * query the display rotation so audio stays in sync with video/dialogs. This is 99 // use display rotation so audio stays in sync with video/dialogs
|
H A D | FocusRequester.java | 17 package com.android.server.audio; 27 import com.android.server.audio.MediaFocusControl.AudioFocusDeathHandler; 33 * Class to handle all the information about a user of audio focus. The lifecycle of each 34 * instance is managed by android.media.MediaFocusControl, from its addition to the audio focus 51 * the audio focus gain request that caused the addition of this object in the focus stack. 60 * the audio focus loss received my mFocusDispatcher, is AudioManager.AUDIOFOCUS_NONE if 65 * the audio attributes associated with the focus request 221 * For a given audio focus gain request, return the audio focus loss type that will result 224 * @return the audio focu [all...] |
H A D | PlayerRecord.java | 17 package com.android.server.audio;
|
H A D | MediaFocusControl.java | 17 package com.android.server.audio; 64 import com.android.server.audio.PlayerRecord.RemotePlaybackState; 429 * Discard the current audio focus owner. 430 * Notify top of audio focus stack that it lost focus (regardless of possibility to reassign 461 // going through the audio focus stack to signal new focus, traversing order doesn't 473 * Display in the log the current entries in the audio focus stack 535 // is the owner of the audio focus part of the client to remove? 581 * Push the focus requester onto the audio focus stack at the first position immediately 608 * Inner class to monitor audio focus client deaths, and remove them from the audio focu [all...] |
/frameworks/native/include/media/openmax/ |
H A D | OMX_Component.h | 96 OMX_AUDIO_PORTDEFINITIONTYPE audio; member in union:OMX_PARAM_PORTDEFINITIONTYPE::__anon1343
|