Lines Matching defs:AudioOutput
18 #define LOG_TAG "AudioHAL:AudioOutput"
32 #include "AudioOutput.h"
36 const uint32_t AudioOutput::kMaxDelayCompensationMSec = 300;
37 const uint32_t AudioOutput::kPrimeTimeoutChunks = 10; // 100ms
39 AudioOutput::AudioOutput(const char* alsa_name,
69 AudioOutput::~AudioOutput() {
74 status_t AudioOutput::initCheck() {
88 void AudioOutput::setupInternal() {
126 void AudioOutput::primeOutput(bool hasActiveOutputs) {
143 void AudioOutput::adjustDelay(int32_t nFrames) {
157 void AudioOutput::pushSilence(uint32_t nFrames)
180 void AudioOutput::stageChunk(const uint8_t* chunkData,
188 void AudioOutput::cleanupResources() {
200 void AudioOutput::openPCMDevice() {
256 status_t AudioOutput::getNextWriteTimestamp(int64_t* timestamp,
322 bool AudioOutput::getLastNextWriteTSValid() const {
326 int64_t AudioOutput::getLastNextWriteTS() const {
330 uint32_t AudioOutput::getExternalDelay_uSec() const {
334 void AudioOutput::setExternalDelay_uSec(uint32_t delay_usec) {
338 void AudioOutput::reset() {
357 status_t AudioOutput::getDMAStartData(
389 void AudioOutput::processOneChunk(const uint8_t* data, size_t len,
445 void AudioOutput::doPCMWrite(const uint8_t* data, size_t len) {
492 void AudioOutput::setVolume(float vol) {
500 void AudioOutput::setMute(bool mute) {
508 void AudioOutput::setOutputIsFixed(bool fixed) {
516 void AudioOutput::setFixedOutputLevel(float level) {
524 int AudioOutput::getHardwareTimestamp(size_t *pAvail,