Searched defs:audio (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DSimTonesTest.java17 package com.android.mediaframeworktest.functional.audio;
H A DMediaBassBoostTest.java17 package com.android.mediaframeworktest.functional.audio;
H A DMediaPresetReverbTest.java17 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 DMediaVirtualizerTest.java17 package com.android.mediaframeworktest.functional.audio;
H A DMediaAudioManagerTest.java17 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 DMediaEnvReverbTest.java17 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 DMediaEqualizerTest.java17 package com.android.mediaframeworktest.functional.audio;
H A DMediaVisualizerTest.java17 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 DMediaAudioEffectTest.java17 package com.android.mediaframeworktest.functional.audio;
276 //Test case 1.4: test contructor on mediaPlayer audio session
H A DMediaAudioTrackTest.java17 package com.android.mediaframeworktest.functional.audio;
752 // count (given the audio track properties), and add 77.
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DStreamingSource.cpp141 sp<MetaData> NuPlayer::StreamingSource::getFormatMeta(bool audio) { argument
143 audio ? ATSParser::AUDIO : ATSParser::VIDEO;
156 bool audio, sp<ABuffer> *accessUnit) {
158 audio ? ATSParser::AUDIO : ATSParser::VIDEO;
155 dequeueAccessUnit( bool audio, sp<ABuffer> *accessUnit) argument
H A DHTTPLiveSource.cpp100 sp<AMessage> NuPlayer::HTTPLiveSource::getFormat(bool audio) { argument
103 audio ? LiveSession::STREAMTYPE_AUDIO
119 bool audio, sp<ABuffer> *accessUnit) {
121 audio ? LiveSession::STREAMTYPE_AUDIO
215 sp<AMessage> format = getFormat(false /* audio */);
257 bool audio = changedMask & LiveSession::STREAMTYPE_AUDIO; local
265 notify->setInt32("audio", audio);
118 dequeueAccessUnit( bool audio, sp<ABuffer> *accessUnit) argument
H A DNuPlayer.h188 inline const sp<Decoder> &getDecoder(bool audio) { argument
189 return audio ? mAudioDecoder : mVideoDecoder;
202 status_t instantiateDecoder(bool audio, sp<Decoder> *decoder);
208 status_t feedDecoderInputData(bool audio, const sp<AMessage> &msg);
209 void renderBuffer(bool audio, const sp<AMessage> &msg);
213 void handleFlushComplete(bool audio, bool isDecoder);
219 bool audio, bool needShutdown, const sp<AMessage> &newFormat = NULL);
220 void updateDecoderFormatWithoutFlush(bool audio, const sp<AMessage> &format);
231 void performDecoderShutdown(bool audio, bool video);
240 bool audio, boo
[all...]
H A DRTSPSource.cpp150 sp<MetaData> NuPlayer::RTSPSource::getFormatMeta(bool audio) { argument
151 sp<AnotherPacketSource> source = getSource(audio);
179 ALOGV("audio track doesn't have enough data yet. (%.2f secs buffered)",
197 bool audio, sp<ABuffer> *accessUnit) {
210 sp<AnotherPacketSource> source = getSource(audio);
221 sp<AnotherPacketSource> otherSource = getSource(!audio);
235 int64_t eosTimeout = audio ? mEOSTimeoutAudio : mEOSTimeoutVideo;
237 setEOSTimeout(audio, ALooper::GetNowUs());
239 setEOSTimeout(audio, 0);
261 setEOSTimeout(audio,
196 dequeueAccessUnit( bool audio, sp<ABuffer> *accessUnit) argument
266 getSource(bool audio) argument
277 setEOSTimeout(bool audio, int64_t timeout) argument
[all...]
H A DGenericSource.cpp181 if (!strncasecmp(mime, "audio/", 6)) {
259 bool audio, Vector<MediaBuffer *> &buffers) {
260 if (mIsWidevine && !audio) {
352 sp<MetaData> meta = doGetFormatMeta(false /* audio */);
394 // We're not doing this for streams that appear to be audio-only
397 if (!strncasecmp(mContentType.string(), "audio/", 6)) {
628 if (!strncasecmp(mime, "audio/", 6)) {
792 sp<MetaData> NuPlayer::GenericSource::getFormatMeta(bool audio) {
794 msg->setInt32("audio", audio);
258 setBuffers( bool audio, Vector<MediaBuffer *> &buffers) argument
808 int32_t audio; local
830 dequeueAccessUnit( bool audio, sp<ABuffer> *accessUnit) argument
1083 bool audio = !strncasecmp(mime, "audio/", 6); local
1152 bool audio = trackType == MEDIA_TRACK_TYPE_AUDIO; local
[all...]
H A DNuPlayerDecoder.cpp760 bool audio = !strncasecmp(oldMime.c_str(), "audio/", strlen("audio/")); local
762 if (audio) {
H A DNuPlayerRenderer.cpp39 // Maximum time in paused state when offloading audio decompression. When elapsed, the AudioSink
40 // is closed to allow the audio DSP to power down.
102 bool audio,
106 msg->setInt32("audio", static_cast<int32_t>(audio));
112 void NuPlayer::Renderer::queueEOS(bool audio, status_t finalResult) { argument
116 msg->setInt32("audio", static_cast<int32_t>(audio));
121 void NuPlayer::Renderer::flush(bool audio) { argument
124 if (audio) {
101 queueBuffer( bool audio, const sp<ABuffer> &buffer, const sp<AMessage> &notifyConsumed) argument
211 setHasMedia(bool audio) argument
885 notifyEOS(bool audio, status_t finalResult, int64_t delayUs) argument
898 int32_t audio; local
990 int32_t audio; local
1022 int32_t audio; local
1099 notifyFlushComplete(bool audio) argument
1106 dropBufferWhileFlushing( bool audio, const sp<AMessage> &msg) argument
[all...]
H A DNuPlayer.cpp99 ShutdownDecoderAction(bool audio, bool video) argument
100 : mAudio(audio),
531 false /* audio */, true /* video */));
541 if (mStarted && mSource->getFormat(false /* audio */) != NULL) {
544 // If the video decoder is not set (perhaps audio only in this case)
607 sp<MetaData> audioMeta = mSource->getFormatMeta(true /* audio */);
613 sp<AMessage> videoFormat = mSource->getFormat(false /* audio */);
660 // initialize video before audio because successful initialization of
661 // video may change deep buffer mode of audio.
668 // open audio sin
710 bool audio = msg->what() == kWhatAudioNotify; local
865 int32_t audio; local
892 int32_t audio; local
1025 handleFlushComplete(bool audio, bool isDecoder) argument
1145 instantiateDecoder(bool audio, sp<Decoder> *decoder) argument
1214 feedDecoderInputData(bool audio, const sp<AMessage> &msg) argument
1437 renderBuffer(bool audio, const sp<AMessage> &msg) argument
1569 flushDecoder( bool audio, bool needShutdown, const sp<AMessage> &newFormat) argument
1608 updateDecoderFormatWithoutFlush( bool audio, const sp<AMessage> &format) argument
1622 queueDecoderShutdown( bool audio, bool video, const sp<AMessage> &reply) argument
1790 performDecoderShutdown(bool audio, bool video) argument
2002 int32_t audio, video; local
2104 getFormat(bool audio) argument
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.cpp984 srcType == ATSParser::VIDEO ? "video" : "audio");
1424 // This better be an ISO 13818-7 (AAC) or ISO 13818-1 (MPEG) audio
1431 // Make sure to skip all ID3 tags preceding the audio data.
1479 ALOGW("This stream only contains audio data!");
1650 bool audio = !strncasecmp(mime, "audio/", 6); local
1651 if (audio) {
/frameworks/base/core/java/android/speech/srec/
H A DRecognizer.java53 * // 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 DOMX_Component.h96 OMX_AUDIO_PORTDEFINITIONTYPE audio; member in union:OMX_PARAM_PORTDEFINITIONTYPE::__anon1262

Completed in 287 milliseconds