07-22 23:01:45.684 713 12182 D audio_hw_primary_zane0722: #########zane######select_devices( )####usecae=1###
07-22 23:01:45.684 713 12182 D audio_hw_primary_zane0722: select_devices for use case (low-latency-playback)
07-22 23:01:45.684 713 12182 E audio_hw_primary_zane0722: zane_select_devices: find the usecase(1)
07-22 23:01:45.685 713 12182 D audio_hw_primary_zane0722: select_devices: out_snd_device(2: speaker) in_snd_device(0: )
07-22 23:01:45.718 713 12182 E audio_hw_primary_zane0722: zane_select_devices:**LINE(2664)to call enable_audio_route()
07-22 23:01:45.724 713 12182 D audio_hw_primary_zane0722: select_devices: acdb_id_out: 15
07-22 23:01:45.724 713 12182 D audio_hw_primary_zane0722: select_devices: done
usecase 1 对应 low-latency-playback
out_snd_device 2 对应 speaker
out_snd_device 2 找到 acdb_id_out 为15 不太明了;
out_snd_device是2,通过platform_get_snd_device_name(out_snd_device)得到了speaker
在enum中找到2 对应的是 SND_DEVICE_OUT_SPEAKER ;
也就是说这个字符串数组中的{2} 是speaker
又通过了platform_get_snd_device_acdb_id(out_snd_device)确定走哪一个acdb;