Home
last modified time | relevance | path

Searched refs:pRate (Results 1 – 12 of 12) sorted by relevance

/hardware/libhardware_legacy/audio/
DAudioHardwareGeneric.cpp198 uint32_t *pRate) in set() argument
202 uint32_t lRate = pRate ? *pRate : 0; in set()
215 if (pRate) *pRate = sampleRate(); in set()
221 if (pRate) *pRate = lRate; in set()
317 uint32_t *pRate, in set() argument
320 if (pFormat == 0 || pChannels == 0 || pRate == 0) return BAD_VALUE; in set()
321 LOGV("AudioStreamInGeneric::set(%p, %d, %d, %d, %u)", hw, fd, *pFormat, *pChannels, *pRate); in set()
325 (*pRate != sampleRate())) { in set()
329 *pRate = sampleRate(); in set()
DAudioHardwareStub.cpp119 status_t AudioStreamOutStub::set(int *pFormat, uint32_t *pChannels, uint32_t *pRate) in set() argument
123 if (pRate) *pRate = sampleRate(); in set()
168 status_t AudioStreamInStub::set(int *pFormat, uint32_t *pChannels, uint32_t *pRate, in set() argument
DA2dpAudioInterface.cpp236 uint32_t device, int *pFormat, uint32_t *pChannels, uint32_t *pRate) in set() argument
240 uint32_t lRate = pRate ? *pRate : 0; in set()
255 if (pRate) *pRate = sampleRate(); in set()
261 if (pRate) *pRate = lRate; in set()
DAudioHardwareStub.h32 virtual status_t set(int *pFormat, uint32_t *pChannels, uint32_t *pRate);
49 …virtual status_t set(int *pFormat, uint32_t *pChannels, uint32_t *pRate, AudioSystem::audio_in_…
DAudioHardwareGeneric.h48 uint32_t *pRate);
81 uint32_t *pRate,
DA2dpAudioInterface.h84 uint32_t *pRate);
/hardware/msm7k/libaudio-qdsp5v2/
DAudioHardware.cpp175 AudioHardware* hw, uint32_t devices, int *pFormat, uint32_t *pChannels, uint32_t *pRate) in set() argument
179 uint32_t lRate = pRate ? *pRate : 0; in set()
195 if (pRate) *pRate = sampleRate(); in set()
201 if (pRate) *pRate = lRate; in set()
DAudioHardware.h105 uint32_t *pRate);
/hardware/msm7k/libaudio/
DAudioHardware.cpp666 AudioHardware* hw, uint32_t devices, int *pFormat, uint32_t *pChannels, uint32_t *pRate) in set() argument
670 uint32_t lRate = pRate ? *pRate : 0; in set()
685 if (pRate) *pRate = sampleRate(); in set()
691 if (pRate) *pRate = lRate; in set()
881 AudioHardware* hw, uint32_t devices, int *pFormat, uint32_t *pChannels, uint32_t *pRate, in set() argument
888 if (pRate == 0) { in set()
891 uint32_t rate = hw->getInputSampleRate(*pRate); in set()
892 if (rate != *pRate) { in set()
893 *pRate = rate; in set()
905 LOGV("AudioStreamInMSM72xx::set(%d, %d, %u)", *pFormat, *pChannels, *pRate); in set()
[all …]
DAudioHardware.h167 uint32_t *pRate);
207 uint32_t *pRate,
/hardware/msm7k/libaudio-qsd8k/
DAudioHardware.cpp1543 AudioHardware* hw, uint32_t devices, int *pFormat, uint32_t *pChannels, uint32_t *pRate) in set() argument
1547 uint32_t lRate = pRate ? *pRate : 0; in set()
1563 if (pRate) *pRate = sampleRate(); in set()
1569 if (pRate) *pRate = lRate; in set()
1777 AudioHardware* hw, uint32_t devices, int *pFormat, uint32_t *pChannels, uint32_t *pRate, in set() argument
1784 if (pRate == 0) { in set()
1787 uint32_t rate = hw->getInputSampleRate(*pRate); in set()
1788 if (rate != *pRate) { in set()
1789 *pRate = rate; in set()
1801 LOGV("AudioStreamInMSM72xx::set(%d, %d, %u)", *pFormat, *pChannels, *pRate); in set()
[all …]
DAudioHardware.h244 uint32_t *pRate);
281 uint32_t *pRate,