Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/utility/
DAAudioUtilities.cpp126 audio_format_t androidFormat; in AAudioConvert_aaudioToAndroidDataFormat() local
129 androidFormat = AUDIO_FORMAT_DEFAULT; in AAudioConvert_aaudioToAndroidDataFormat()
132 androidFormat = AUDIO_FORMAT_PCM_16_BIT; in AAudioConvert_aaudioToAndroidDataFormat()
135 androidFormat = AUDIO_FORMAT_PCM_FLOAT; in AAudioConvert_aaudioToAndroidDataFormat()
138 androidFormat = AUDIO_FORMAT_PCM_24_BIT_PACKED; in AAudioConvert_aaudioToAndroidDataFormat()
141 androidFormat = AUDIO_FORMAT_PCM_32_BIT; in AAudioConvert_aaudioToAndroidDataFormat()
144 androidFormat = AUDIO_FORMAT_INVALID; in AAudioConvert_aaudioToAndroidDataFormat()
148 return androidFormat; in AAudioConvert_aaudioToAndroidDataFormat()
151 aaudio_format_t AAudioConvert_androidToAAudioDataFormat(audio_format_t androidFormat) { in AAudioConvert_androidToAAudioDataFormat() argument
153 switch (androidFormat) { in AAudioConvert_androidToAAudioDataFormat()
[all …]