Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/audiocontrol/aidl/default/
DAudioControl.cpp657 std::vector<std::string> vecGain; in parseAudioGains() local
660 vecGain.push_back(value); in parseAudioGains()
663 if ((vecGain.size() == 0) || ((vecGain.size() % kAudioGainSize) != 0)) { in parseAudioGains()
669 for (int index = 0; index < vecGain.size(); index += kAudioGainSize) { in parseAudioGains()
671 if (!safelyParseInt(vecGain[index], &mode)) { in parseAudioGains()
672 dprintf(fd, "Non-integer index provided with request: %s\n", vecGain[index].c_str()); in parseAudioGains()
684 if (!safelyParseInt(vecGain[index + 1], &layout)) { in parseAudioGains()
686 vecGain[index + 1].c_str()); in parseAudioGains()
693 if (!safelyParseInt(vecGain[index + 2], &minValue)) { in parseAudioGains()
695 vecGain[index + 2].c_str()); in parseAudioGains()
[all …]