用Xcode8寫(xiě)音頻播放發(fā)現(xiàn)下面日志會(huì)經(jīng)常打印AQDefaultDevice (173): skipping input stream 0 0 0x0,如圖:
解決辦法:
1.選擇 Product ->Scheme ->Edit Scheme
2.在Arguments選項(xiàng)下的Environment Variables添加OS_ACTIVITY_MODE,值設(shè)置為disable
用Xcode8寫(xiě)音頻播放發(fā)現(xiàn)下面日志會(huì)經(jīng)常打印AQDefaultDevice (173): skipping input stream 0 0 0x0,如圖:
解決辦法:
1.選擇 Product ->Scheme ->Edit Scheme
2.在Arguments選項(xiàng)下的Environment Variables添加OS_ACTIVITY_MODE,值設(shè)置為disable