/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 | 100 sp<AMessage> NuPlayer::HTTPLiveSource::getFormat(bool audio) { argument 107 audio ? LiveSession::STREAMTYPE_AUDIO 123 bool audio, sp<ABuffer> *accessUnit) { 125 audio ? LiveSession::STREAMTYPE_AUDIO 227 sp<AMessage> format = getFormat(false /* audio */); 269 bool audio = changedMask & LiveSession::STREAMTYPE_AUDIO; local 277 notify->setInt32("audio", audio); 122 dequeueAccessUnit( bool audio, sp<ABuffer> *accessUnit) argument
|
H A D | NuPlayer.h | 188 inline const sp<DecoderBase> &getDecoder(bool audio) { argument 189 return audio ? mAudioDecoder : mVideoDecoder; 202 status_t instantiateDecoder(bool audio, sp<DecoderBase> *decoder); 210 void handleFlushComplete(bool audio, bool isDecoder); 219 void flushDecoder(bool audio, bool needShutdown); 231 void performDecoderFlush(FlushCommand audio, FlushCommand video); 241 bool audio, bool video, const sp<AMessage> &reply);
|
H A D | RTSPSource.cpp | 149 sp<MetaData> NuPlayer::RTSPSource::getFormatMeta(bool audio) { argument 150 sp<AnotherPacketSource> source = getSource(audio); 178 ALOGV("audio track doesn't have enough data yet. (%.2f secs buffered)", 196 bool audio, sp<ABuffer> *accessUnit) { 201 sp<AnotherPacketSource> source = getSource(audio); 212 sp<AnotherPacketSource> otherSource = getSource(!audio); 226 int64_t eosTimeout = audio ? mEOSTimeoutAudio : mEOSTimeoutVideo; 228 setEOSTimeout(audio, ALooper::GetNowUs()); 230 setEOSTimeout(audio, 0); 248 setEOSTimeout(audio, 195 dequeueAccessUnit( bool audio, sp<ABuffer> *accessUnit) argument 253 getSource(bool audio) argument 264 setEOSTimeout(bool audio, int64_t timeout) argument [all...] |
H A D | NuPlayerDecoder.cpp | 130 mIsAudio = !strncasecmp("audio/", mime.c_str(), 6); 440 bool hasVideo = (mSource->getFormat(false /* audio */) != NULL); 574 mIsAudio ? "audio" : "video", formatChange, timeChange); 640 mIsAudio ? "audio" : "video", 861 bool audio = !strncasecmp(oldMime.c_str(), "audio/", strlen("audio/")); local 863 if (audio) {
|
H A D | GenericSource.cpp | 215 if (!strncasecmp(mime, "audio/", 6)) { 270 ALOGE("failed to start audio track!"); 307 bool audio, Vector<MediaBuffer *> &buffers) { 308 if (mIsSecure && !audio) { 408 sp<MetaData> meta = doGetFormatMeta(false /* audio */); 458 // We're not doing this for streams that appear to be audio-only 461 if (!strncasecmp(mContentType.string(), "audio/", 6)) { 793 if (!strncasecmp(mime, "audio/", 6)) { 961 sp<MetaData> NuPlayer::GenericSource::getFormatMeta(bool audio) { 963 msg->setInt32("audio", audi 306 setBuffers( bool audio, Vector<MediaBuffer *> &buffers) argument 977 int32_t audio; local 999 dequeueAccessUnit( bool audio, sp<ABuffer> *accessUnit) argument 1282 bool audio = !strncasecmp(mime, "audio/", 6); local 1361 bool audio = trackType == MEDIA_TRACK_TYPE_AUDIO; local [all...] |
H A D | NuPlayerRenderer.cpp | 38 // Maximum time in paused state when offloading audio decompression. When elapsed, the AudioSink 39 // is closed to allow the audio DSP to power down. 105 bool audio, 109 msg->setInt32("audio", static_cast<int32_t>(audio)); 115 void NuPlayer::Renderer::queueEOS(bool audio, status_t finalResult) { argument 119 msg->setInt32("audio", static_cast<int32_t>(audio)); 124 void NuPlayer::Renderer::flush(bool audio, bool notifyComplete) { argument 127 if (audio) { 104 queueBuffer( bool audio, const sp<ABuffer> &buffer, const sp<AMessage> ¬ifyConsumed) argument 257 setHasMedia(bool audio) argument 954 notifyEOS(bool audio, status_t finalResult, int64_t delayUs) argument 967 int32_t audio; local 1058 int32_t audio; local 1089 int32_t audio, notifyComplete; local 1174 notifyFlushComplete(bool audio) argument 1181 dropBufferWhileFlushing( bool audio, const sp<AMessage> &msg) argument [all...] |
H A D | NuPlayer.cpp | 114 FlushDecoderAction(FlushCommand audio, FlushCommand video) argument 115 : mAudio(audio), 542 if (mSource == NULL || mSource->getFormat(false /* audio */) == NULL) { 548 new FlushDecoderAction(FLUSH_CMD_FLUSH /* audio */, 559 // If the video decoder is not set (perhaps audio only in this case) 624 // initialize video before audio because successful initialization of 625 // video may change deep buffer mode of audio. 630 // Don't try to re-open audio sink if there's an existing decoder. 632 sp<MetaData> audioMeta = mSource->getFormatMeta(true /* audio */); 633 sp<AMessage> videoFormat = mSource->getFormat(false /* audio */); 684 bool audio = msg->what() == kWhatAudioNotify; local 848 int32_t audio; local 875 int32_t audio; local 1096 handleFlushComplete(bool audio, bool isDecoder) argument 1188 instantiateDecoder(bool audio, sp<DecoderBase> *decoder) argument 1354 flushDecoder(bool audio, bool needShutdown) argument 1387 queueDecoderShutdown( bool audio, bool video, const sp<AMessage> &reply) argument 1536 performDecoderFlush(FlushCommand audio, FlushCommand video) argument 1817 int32_t audio, video; local 1919 getFormat(bool audio) argument [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | PlaylistFetcher.cpp | 1023 srcType == ATSParser::VIDEO ? "video" : "audio"); 1476 // This better be an ISO 13818-7 (AAC) or ISO 13818-1 (MPEG) audio 1483 // Make sure to skip all ID3 tags preceding the audio data. 1531 ALOGW("This stream only contains audio data!"); 1703 bool audio = !strncasecmp(mime, "audio/", 6); local 1704 if (audio) {
|
/frameworks/base/core/java/android/speech/srec/ |
H A D | Recognizer.java | 53 * // create and start audio input 54 * InputStream audio = new MicrophoneInputStream(11025, 11025*5); 85 * // put more audio in the Recognizer 86 * recognizer.putAudio(audio); 98 * // stop the audio device 99 * audio.close(); 157 * A separate config file is needed for each audio sample rate. 263 * Process some audio and return the current status. 286 * Put audio samples into the <code>Recognizer</code>. 287 * @param buf holds the audio sample 302 putAudio(InputStream audio) argument [all...] |
/frameworks/native/include/media/openmax/ |
H A D | OMX_Component.h | 96 OMX_AUDIO_PORTDEFINITIONTYPE audio; member in union:OMX_PARAM_PORTDEFINITIONTYPE::__anon1275
|