Lines Matching refs:numSurroundFormats
843 unsigned int numSurroundFormats = 0; in getSurroundFormatsHelper() local
846 &numSurroundFormats, nullptr /* surroundFormats */, in getSurroundFormatsHelper()
852 audio_format_t surroundFormats[numSurroundFormats]; in getSurroundFormatsHelper()
853 memset(surroundFormats, 0, sizeof(audio_format_t) * numSurroundFormats); in getSurroundFormatsHelper()
854 bool surroundFormatsEnabled[numSurroundFormats]; in getSurroundFormatsHelper()
855 memset(surroundFormatsEnabled, 0, sizeof(bool) * numSurroundFormats); in getSurroundFormatsHelper()
857 &numSurroundFormats, surroundFormats, surroundFormatsEnabled); in getSurroundFormatsHelper()
862 for (int i = 0; i< numSurroundFormats; i++) { in getSurroundFormatsHelper()
869 unsigned int numSurroundFormats = 0; in getReportedSurroundFormatsHelper() local
872 &numSurroundFormats, nullptr /* surroundFormats */); in getReportedSurroundFormatsHelper()
877 audio_format_t surroundFormats[numSurroundFormats]; in getReportedSurroundFormatsHelper()
878 memset(surroundFormats, 0, sizeof(audio_format_t) * numSurroundFormats); in getReportedSurroundFormatsHelper()
879 ret = mManager->getReportedSurroundFormats(&numSurroundFormats, surroundFormats); in getReportedSurroundFormatsHelper()