Home
last modified time | relevance | path

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

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