Searched defs:audio (Results 1 - 25 of 25) 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.cpp176 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 DHTTPLiveSource.cpp103 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 DNuPlayer.h213 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 DRTSPSource.cpp151 sp<MetaData> NuPlayer::RTSPSource::getFormatMeta(bool audio) { argument
152 sp<AnotherPacketSource> source = getSource(audio);
180 ALOGV("audio track doesn't have enough data yet. (%.2f secs buffered)",
198 bool audio, sp<ABuffer> *accessUnit) {
203 sp<AnotherPacketSource> source = getSource(audio);
214 sp<AnotherPacketSource> otherSource = getSource(!audio);
228 int64_t eosTimeout = audio ? mEOSTimeoutAudio : mEOSTimeoutVideo;
230 setEOSTimeout(audio, ALooper::GetNowUs());
232 setEOSTimeout(audio, 0);
250 setEOSTimeout(audio,
197 dequeueAccessUnit( bool audio, sp<ABuffer> *accessUnit) argument
255 getSource(bool audio) argument
266 setEOSTimeout(bool audio, int64_t timeout) argument
[all...]
H A DNuPlayerDecoder.cpp45 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);
701 mIsAudio ? "audio" : "video", formatChange, timeChange);
755 mIsAudio ? "audio" : "video",
1009 bool audio = !strncasecmp(oldMime.c_str(), "audio/", strle local
[all...]
H A DGenericSource.cpp224 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 */);
769 if (!strncasecmp(mime, "audio/", 6)) {
945 sp<MetaData> NuPlayer::GenericSource::getFormatMeta(bool audio) {
947 msg->setInt32("audio", audio);
961 int32_t audio; local
319 setBuffers( bool audio, Vector<MediaBuffer *> &buffers) argument
983 dequeueAccessUnit( bool audio, sp<ABuffer> *accessUnit) argument
1267 bool audio = !strncasecmp(mime, "audio/", 6); local
1346 bool audio = trackType == MEDIA_TRACK_TYPE_AUDIO; local
[all...]
H A DNuPlayerRenderer.cpp41 #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
134 queueBuffer( bool audio, const sp<ABuffer> &buffer, const sp<AMessage> &notifyConsumed) argument
146 queueEOS(bool audio, status_t finalResult) argument
263 flush(bool audio, bool notifyComplete) argument
1147 notifyEOS(bool audio, status_t finalResult, int64_t delayUs) argument
1160 int32_t audio; local
1258 int32_t audio; local
1290 int32_t audio, notifyComplete; local
1381 notifyFlushComplete(bool audio) argument
1388 dropBufferIfStale( bool audio, const sp<AMessage> &msg) argument
1506 getQueueGeneration(bool audio) argument
1511 getDrainGeneration(bool audio) argument
[all...]
H A DNuPlayer.cpp117 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
1365 handleFlushComplete(bool audio, bool isDecoder) argument
1490 instantiateDecoder(bool audio, sp<DecoderBase> *decoder) argument
1666 flushDecoder(bool audio, bool needShutdown) argument
1703 queueDecoderShutdown( bool audio, bool video, const sp<AMessage> &reply) argument
1875 performDecoderFlush(FlushCommand audio, FlushCommand video) argument
2203 int32_t audio, video; local
2318 getFormat(bool audio) argument
[all...]
/frameworks/av/services/radio/
H A DRadioService.h76 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 DRadioService.cpp25 #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 DFocusRequester.java17 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 DPlayerRecord.java17 package com.android.server.audio;
H A DMediaFocusControl.java17 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...]
H A DAudioService.java17 package com.android.server.audio;
144 /** Debug audio mode */
147 /** Debug audio policy feature */
253 private static final String SOUND_EFFECTS_PATH = "/media/audio/ui/";
261 /** Maximum volume index values for audio streams */
275 /** Minimum volume index values for audio streams */
443 // Indicate if SCO audio connection is currently active and if the initiator is
444 // audio service (internal) or bluetooth headset (external)
446 // SCO audio state is not active
448 // SCO audio activatio
[all...]
/frameworks/native/include/media/openmax/
H A DOMX_Component.h96 OMX_AUDIO_PORTDEFINITIONTYPE audio; member in union:OMX_PARAM_PORTDEFINITIONTYPE::__anon1341

Completed in 206 milliseconds