Searched refs:channelMapping (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/include/media/ |
D | MicrophoneInfo.h | 92 std::vector<int> channelMapping; in writeToParcel() local 94 channelMapping.push_back(mChannelMapping[i]); in writeToParcel() 96 RETURN_IF_FAILED(parcel->writeInt32Vector(channelMapping)); in writeToParcel() 127 std::vector<int> channelMapping; in readFromParcel() local 128 status_t result = parcel->readInt32Vector(&channelMapping); in readFromParcel() 132 if (channelMapping.size() != AUDIO_CHANNEL_COUNT_MAX) { in readFromParcel() 135 for (size_t i = 0; i < channelMapping.size(); i++) { in readFromParcel() 136 mChannelMapping.push_back(channelMapping[i]); in readFromParcel()
|
/frameworks/base/media/java/android/media/ |
D | MicrophoneInfo.java | 171 List<Pair<Integer, Integer>> channelMapping, float sensitivity, float maxSpl, in MicrophoneInfo() argument 182 mChannelMapping = channelMapping; in MicrophoneInfo() 372 public void setChannelMapping(List<Pair<Integer, Integer>> channelMapping) { in setChannelMapping() argument 373 mChannelMapping = channelMapping; in setChannelMapping()
|
D | MediaRecorder.java | 1536 ArrayList<Pair<Integer, Integer>> channelMapping = new ArrayList<>(); in getActiveMicrophones() local 1538 channelMapping.add(new Pair(i, MicrophoneInfo.CHANNEL_MAPPING_DIRECT)); in getActiveMicrophones() 1540 microphone.setChannelMapping(channelMapping); in getActiveMicrophones()
|
D | AudioRecord.java | 1734 ArrayList<Pair<Integer, Integer>> channelMapping = new ArrayList<>(); in getActiveMicrophones() local 1736 channelMapping.add(new Pair(i, MicrophoneInfo.CHANNEL_MAPPING_DIRECT)); in getActiveMicrophones() 1738 microphone.setChannelMapping(channelMapping); in getActiveMicrophones()
|
/frameworks/av/media/libaudiohal/impl/ |
D | ConversionHelperHidl.cpp | 192 if (src.channelMapping.size() > AUDIO_CHANNEL_COUNT_MAX) { in microphoneInfoToHal() 194 src.channelMapping.size(), AUDIO_CHANNEL_COUNT_MAX); in microphoneInfoToHal() 197 for (ch = 0; ch < src.channelMapping.size() && ch < AUDIO_CHANNEL_COUNT_MAX; ch++) { in microphoneInfoToHal() 198 pDst->channel_mapping[ch] = channelMappingToHal(src.channelMapping[ch]); in microphoneInfoToHal()
|