Searched refs:audio (Results 101 - 113 of 113) sorted by relevance

12345

/frameworks/av/services/audioflinger/
H A DFastMixer.cpp24 #include <system/audio.h>
450 // FIXME To avoid drift, use the local audio clock or watch the sink's fill status.
506 // - compensates for an audio HAL with jitter due to sample rate conversion
507 // - works with a variable buffer depth audio HAL that never pulls at a rate
510 // It doesn't work with a non-blocking audio HAL.
H A DAudioMixer.cpp33 #include <system/audio.h>
H A DAudioPolicyService.cpp39 #include <system/audio.h>
70 // start audio commands thread
73 /* instantiate the audio policy manager */
79 ALOGE_IF(rc, "couldn't open audio policy device (%s)", strerror(-rc));
85 ALOGE_IF(rc, "couldn't create audio policy (%s)", strerror(-rc));
90 ALOGE_IF(rc, "couldn't init_check the audio policy (%s)", strerror(-rc));
94 ALOGI("Loaded audio policy from %s (%s)", module->name, module->id);
96 // load audio pre processing modules
112 // release audio pre processing resources
288 // create audio pr
[all...]
H A DAudioFlinger.cpp51 #include <system/audio.h>
52 #include <hardware/audio.h>
116 // direct outputs can be a scarce resource in audio hardware and should
126 // RecordThread loop sleep time upon application overrun or audio HAL read error
198 ALOGE_IF(rc, "%s couldn't load audio hw module %s.%s (%s)", __func__,
204 ALOGE_IF(rc, "%s couldn't open audio hw device in %s.%s (%s)", __func__,
210 ALOGE("%s wrong audio hw device version %04x", __func__, (*dev)->common.version);
243 if (property_get("ro.audio.flinger_standbytime_ms", val_str, NULL) >= 0) {
290 ALOGW("findSuitableHwDev_l() loading well know audio hw modules");
497 // if no audio sessio
[all...]
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp38 #include <system/audio.h>
253 ALOGE("Error creating AudioTrack: unsupported audio format.");
326 sessionId);// audio session ID
347 sessionId);// audio session ID
360 // read the audio session ID back from AudioTrack in case we create a new session
563 // get the pointer for the audio data from the java array
572 ALOGE("Error retrieving source of audio data to play, can't play");
576 ALOGE("NULL java array of audio data to play, can't play");
/frameworks/base/voip/jni/rtp/
H A DAudioGroup.cpp46 #include <system/audio.h>
814 ALOGE("cannot initialize audio device");
963 // Create audio codec.
973 "cannot initialize audio codec");
977 // Create audio stream.
982 "cannot initialize audio stream");
988 // Create audio group.
995 "cannot initialize audio group");
1000 // Add audio stream into audio grou
[all...]
/frameworks/wilhelm/src/android/
H A Dandroid_Effect.cpp27 #include <system/audio.h>
463 // mAPlayer != 0 && mAudioTrack == 0 means playing decoded audio
464 // mAPlayer == 0 && mAudioTrack != 0 means playing PCM audio
486 // we keep track of the send level, independently of the current audio player level
544 // we keep track of the send level, independently of the current audio player level
H A DAudioPlayer_to_android.cpp27 #include <system/audio.h>
102 // from a URI or FD, to write the decoded audio data to a buffer queue
183 // minimum nb of buffers to cover output latency, given the size of each hardware audio buffer
260 // set volume on the underlying media player or audio track
421 * buffers in the queue, the playing of audio data stops. The player remains in the
554 * pre-condition: the locator of the audio sink is not SL_DATALOCATOR_OUTPUTMIX
919 SL_LOGE("Cannot create audio player: unsupported " \
939 SL_LOGE("Cannot create audio player: unsupported sample rate %u milliHz",
950 SL_LOGE("Cannot create audio player: unsupported sample bit depth %u",
960 SL_LOGE("Cannot create audio playe
[all...]
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp43 #include <system/audio.h>
81 // Ensure that buffer depth covers at least audio hardware latency
267 ALOGE("Could not get audio output for stream type %d", streamType);
835 // Ensure that buffer depth covers at least audio hardware latency
1268 ALOGE_IF(err != status_t(NO_MORE_BUFFERS), "Error obtaining an audio buffer, giving up.");
1340 // refresh the audio configuration cache in this process to make sure we get new
1370 // the actual amount of audio frames played (e.g SoundPool) receives them.
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp51 #include <system/audio.h>
101 ALOGE("Invalid audio source: %d", as);
152 ALOGE("Invalid audio encoder: %d", ae);
319 ALOGE("Invalid audio sampling rate: %d", sampleRate);
331 ALOGE("Invalid number of audio channels: %d", channels);
343 ALOGE("Invalid audio encoding bit rate: %d", bitRate);
496 // The range is set to be the same as the audio's time scale range
497 // since audio's time scale has a wider range.
524 ALOGE("Time scale (%d) for audio is out of range [600, 96000]", timeScale);
620 } else if (key == "audio
[all...]
H A DMediaPlayerService.cpp57 #include <system/audio.h>
919 ALOGE("no current audio output");
1406 ALOGE("open() error, can\'t derive mask for %d audio channels", channelCount);
1441 ALOGE("Unable to create audio track");
1660 // We've reached EOS but the audio track is not stopped yet,
1883 // change audio output devices. This notification comes from AudioFlinger
1904 if (mBatteryAudio.refCount > 0) { // if playing audio
1922 // record the start time only if currently no other audio
1942 // audio being played
2020 // audio outpu
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
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.

Completed in 455 milliseconds

12345