/device/moto/wingray/libaudio/ |
H A D | AudioHardware.h | 117 uint32_t *sampleRate=0, 125 uint32_t *sampleRate, 132 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount); 167 uint32_t getInputSampleRate(uint32_t sampleRate); 206 void setDriver_l(bool speaker, bool bluetooth, bool spdif, int sampleRate); 212 virtual uint32_t sampleRate() const { return AUDIO_HW_OUT_SAMPLERATE; } function in class:android_audio_legacy::AudioHardware::AudioStreamOutTegra 217 virtual uint32_t latency() const { return (1000*AUDIO_HW_NUM_OUT_BUF_LONG*(bufferSize()/frameSize()))/sampleRate()+AUDIO_HW_OUT_LATENCY_MS; } 283 virtual uint32_t sampleRate() const { return mSampleRate; } function in class:android_audio_legacy::AudioHardware::AudioStreamInTegra 297 void setDriver_l(bool mic, bool bluetooth, int sampleRate);
|
H A D | AudioHardware.cpp | 163 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 189 lStatus = out->set(this, devices, format, channels, sampleRate); 221 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, 233 status_t lStatus = in->set(this, devices, format, channels, sampleRate, acoustic_flags); 443 size_t AudioHardware::getInputBufferSize(uint32_t sampleRate, int format, int channelCount) argument 457 bufsize = sampleRate * sizeof(int16_t) * channelCount / 50; 463 ALOGV("%s: returns %d for rate %d", __FUNCTION__, bufsize, sampleRate); 575 return (input != NULL) ? input->sampleRate() : 0; 836 uint32_t AudioHardware::getInputSampleRate(uint32_t sampleRate) argument 843 delta = abs(sampleRate 162 openOutputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) argument 220 openInputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, AudioSystem::audio_in_acoustics acoustic_flags) argument 978 setDriver_l( bool speaker, bool bluetooth, bool spdif, int sampleRate) argument 1563 setDriver_l(bool mic, bool bluetooth, int sampleRate) argument [all...] |
/device/samsung/crespo/libaudio/ |
H A D | AudioHardware.h | 106 uint32_t *sampleRate=0, status_t *status=0); 110 uint32_t *sampleRate, status_t *status, 117 uint32_t sampleRate, int format, int channelCount); 130 static uint32_t getInputSampleRate(uint32_t sampleRate); 194 static uint32_t checkInputSampleRate(uint32_t sampleRate); 217 virtual uint32_t sampleRate() function in class:android_audio_legacy::AudioHardware::AudioStreamOutALSA 227 (bufferSize()/frameSize()))/sampleRate() + 291 virtual uint32_t sampleRate() const { return mSampleRate; } function in class:android_audio_legacy::AudioHardware::AudioStreamInALSA 309 static size_t getBufferSize(uint32_t sampleRate, int channelCount);
|
H A D | AudioHardware.cpp | 211 uint32_t *sampleRate, status_t *status) 229 rc = out->set(this, devices, format, channels, sampleRate); 273 uint32_t *sampleRate, status_t *status, 291 rc = in->set(this, devices, format, channels, sampleRate, acoustic_flags); 542 size_t AudioHardware::getInputBufferSize(uint32_t sampleRate, int format, int channelCount) argument 553 if (sampleRate != getInputSampleRate(sampleRate)) { 554 ALOGW("getInputBufferSize bad sample rate: %d", sampleRate); 558 return AudioStreamInALSA::getBufferSize(sampleRate, channelCount); 939 uint32_t AudioHardware::getInputSampleRate(uint32_t sampleRate) argument 209 openOutputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) argument 271 openInputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, AudioSystem::audio_in_acoustics acoustic_flags) argument 2189 getBufferSize(uint32_t sampleRate, int channelCount) argument [all...] |
/device/generic/goldfish/audio/ |
H A D | AudioHardwareGeneric.h | 49 virtual uint32_t sampleRate() const { return 44100; } function in class:android_audio_legacy::AudioStreamOutGeneric 83 virtual uint32_t sampleRate() const { return 8000; } function in class:android_audio_legacy::AudioStreamInGeneric 123 uint32_t *sampleRate=0, 131 uint32_t *sampleRate,
|
H A D | AudioHardwareGeneric.cpp | 65 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 79 status_t lStatus = out->set(this, mFd, devices, format, channels, sampleRate); 99 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, 119 status_t lStatus = in->set(this, mFd, devices, format, channels, sampleRate, acoustics); 204 if (lRate == 0) lRate = sampleRate(); 209 (lRate != sampleRate())) { 212 if (pRate) *pRate = sampleRate(); 249 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate()); 322 (*pRate != sampleRate())) { 326 *pRate = sampleRate(); 64 openOutputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) argument 98 openInputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, AudioSystem::audio_in_acoustics acoustics) argument [all...] |