Lines Matching refs:sampleRate
91 status_t AudioUsbALSA::getCap(char * type, int &channels, int &sampleRate) in getCap() argument
104 sampleRate = 0; in getCap()
216 sampleRate = ratesSupported[i]; in getCap()
220 ALOGD("sampleRate: %d", sampleRate); in getCap()
278 status_t AudioUsbALSA::setHardwareParams(pcm *txHandle, uint32_t sampleRate, uint32_t channels, int… in setHardwareParams() argument
284 unsigned int requestedRate = sampleRate; in setHardwareParams()
299 ALOGV("Setting period size:%d samplerate:%d, channels: %d",periodBytes,sampleRate, channels); in setHardwareParams()
306 param_set_int(params, SNDRV_PCM_HW_PARAM_RATE, sampleRate); in setHardwareParams()
389 uint32_t sampleRate; in RecordingThreadEntry() local
590 struct pcm * AudioUsbALSA::configureDevice(unsigned flags, char* hw, int sampleRate, int channelCou… in configureDevice() argument
605 ALOGD("Setting hardware params: sampleRate:%d, channels: %d",sampleRate, channelCount); in configureDevice()
606 err = setHardwareParams(handle, sampleRate, channelCount,periodSize); in configureDevice()
778 uint32_t sampleRate; in PlaybackThreadEntry() local