Searched refs:aaudioFormat (Results 1 – 3 of 3) sorted by relevance
513 audio_format_t AAudioConvert_aaudioToAndroidDataFormat(aaudio_format_t aaudioFormat) { in AAudioConvert_aaudioToAndroidDataFormat() argument515 switch (aaudioFormat) { in AAudioConvert_aaudioToAndroidDataFormat()524 ALOGE("AAudioConvert_aaudioToAndroidDataFormat 0x%08X unrecognized", aaudioFormat); in AAudioConvert_aaudioToAndroidDataFormat()531 aaudio_format_t aaudioFormat = AAUDIO_FORMAT_INVALID; in AAudioConvert_androidToAAudioDataFormat() local534 aaudioFormat = AAUDIO_FORMAT_PCM_I16; in AAudioConvert_androidToAAudioDataFormat()537 aaudioFormat = AAUDIO_FORMAT_PCM_FLOAT; in AAudioConvert_androidToAAudioDataFormat()540 aaudioFormat = AAUDIO_FORMAT_INVALID; in AAudioConvert_androidToAAudioDataFormat()544 return aaudioFormat; in AAudioConvert_androidToAAudioDataFormat()
114 aaudio_format_t aaudioFormat = getFormat(); in open() local115 if (aaudioFormat == AAUDIO_UNSPECIFIED || aaudioFormat == AAUDIO_FORMAT_PCM_FLOAT) { in open()116 aaudioFormat = AAUDIO_FORMAT_PCM_I16; in open()118 config.format = AAudioConvert_aaudioToAndroidDataFormat(aaudioFormat); in open()
181 aaudio_format_t aaudioFormat = in open() local183 setFormat(aaudioFormat); in open()184 setDeviceFormat(aaudioFormat); in open()