Home | History | Annotate | Download | only in libaudio

Lines Matching defs:AudioStreamIn

18 #define LOG_TAG "AudioHAL:AudioStreamIn"
21 #include "AudioStreamIn.h"
42 const audio_format_t AudioStreamIn::kAudioFormat = AUDIO_FORMAT_PCM_16_BIT;
43 const uint32_t AudioStreamIn::kChannelMask = AUDIO_CHANNEL_IN_MONO;
46 const int AudioStreamIn::kPeriodCount = 4;
48 AudioStreamIn::AudioStreamIn(AudioHardwareInput& owner)
69 AudioStreamIn::~AudioStreamIn()
77 status_t AudioStreamIn::set(audio_format_t *pFormat, uint32_t *pChannelMask,
100 uint32_t AudioStreamIn::getSampleRate()
106 status_t AudioStreamIn::setSampleRate(uint32_t rate)
113 size_t AudioStreamIn::getBufferSize()
122 uint32_t AudioStreamIn::getChannelMask()
127 audio_format_t AudioStreamIn::getFormat()
132 status_t AudioStreamIn::setFormat(audio_format_t format)
140 status_t AudioStreamIn::standby()
146 status_t AudioStreamIn::standby_l()
152 ALOGD("AudioStreamIn::standby_l, call pcm_close()");
185 status_t AudioStreamIn::dump(int fd)
190 DUMP("\n AudioStreamIn::dump\n");
205 status_t AudioStreamIn::setParameters(struct audio_stream* stream,
215 ALOGI("AudioStreamIn::setParameters, mInputSource set to %d", intVal);
222 char* AudioStreamIn::getParameters(const char* keys)
228 status_t AudioStreamIn::setGain(float gain)
235 uint32_t AudioStreamIn::getInputFramesLost()
240 status_t AudioStreamIn::addAudioEffect(effect_handle_t effect)
247 status_t AudioStreamIn::removeAudioEffect(effect_handle_t effect)
254 ssize_t AudioStreamIn::read(void* buffer, size_t bytes)
296 void AudioStreamIn::setRemoteControlMicEnabled(bool flag)
310 status_t AudioStreamIn::startInputStream_l()
313 ALOGI("AudioStreamIn::startInputStream_l, entry");
334 ALOGD("AudioStreamIn::startInputStream_l, mRequestedSampleRate = %d",
357 ALOGD("AudioStreamIn::startInputStream_l, call pcm_open()");
362 ALOGE("ERROR AudioStreamIn::startInputStream_l, pcm_open failed");
383 ALOGD("AudioStreamIn::startInputStream_l, call create_resampler( %d to %d)",
392 ALOGW("AudioStreamIn: unable to create resampler");
406 ssize_t AudioStreamIn::readFrames_l(void* buffer, ssize_t frames)
444 int AudioStreamIn::getNextBufferThunk(
456 void AudioStreamIn::releaseBufferThunk(
469 int AudioStreamIn::getNextBuffer(struct resampler_buffer* buffer)
510 void AudioStreamIn::releaseBuffer(struct resampler_buffer* buffer)