Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.cpp981 SLresult android_audioPlayer_validateChannelMask(uint32_t mask, uint32_t numChans) { in android_audioPlayer_validateChannelMask() argument
983 if (numChans == 0 || numChans > FCC_8) { in android_audioPlayer_validateChannelMask()
984 SL_LOGE("Number of channels %u must be between one and %u inclusive", numChans, FCC_8); in android_audioPlayer_validateChannelMask()
988 if (sles_channel_count_from_mask(mask) != numChans) { in android_audioPlayer_validateChannelMask()
989 SL_LOGE("Channel mask %#x does not match channel count %u", mask, numChans); in android_audioPlayer_validateChannelMask()
1012 if (numChans > 1 && (mask & AUDIO_CHANNEL_OUT_STEREO) != AUDIO_CHANNEL_OUT_STEREO) { in android_audioPlayer_validateChannelMask()