| | |
| | | * @param getDatas |
| | | */ |
| | | private static void handleAudioData(UdpDataBean getDatas) { |
| | | // HDLLog.info("处理HDL音乐协议"); |
| | | outter: |
| | | for (int i = 0, len = devicesDataList.size(); i < len; i++) { |
| | | if (devicesDataList.get(i).getSourceSubnetID() == getDatas.sourceSubnetID |
| | |
| | | for (int j = 0, len2 = infos.size(); j < len2; j++) { |
| | | if (infos.get(j).getBigType() == Configuration.AUDIO_BIG_TYPE) { |
| | | //暂时只支持旧版背景音乐 |
| | | if (infos.get(j).getDeviceType() == HDLApConfig.TYPE_MUSIC_MODULE) { |
| | | if (infos.get(j).getDeviceType() == HDLApConfig.TYPE_MUSIC_MODULE || infos.get(j).getDeviceType() == HDLApConfig.TYPE_MUSIC_NEW_MODULE) { |
| | | HDLAudio.parseAudioData(getDatas, infos.get(j)); |
| | | } |
| | | break outter; |