Home | History | Annotate | Download | only in alsa_sound

Lines Matching full:samplerate

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