JAVA_唐15 2023-12-12 15:20
浏览 12
已结题

Android 手机蓝牙作为从设备无法播放对方的音频

Android 手机蓝牙作为从设备无法播放对方的音频
已配置
true
true
persist.vendor.service.bt.a2dp.sink=true
异常log
12-12 10:13:28.172 1856 2052 D AvrcpControllerService: onTrackChanged
12-12 10:13:28.173 1856 7807 D AvrcpControllerSM: HandleMessage: CB_TRACK_CHANGED
12-12 10:13:28.180 1856 1856 D A2dpMediaBrowserService: prevPS PlaybackState {state=3, position=82, buffered position=0, speed=1.0, updated=4386361, actions=54, custom actions=[], active item id=-1, error=null}
12-12 10:13:28.251 1856 2240 D bt_btif_a2dp_sink: btif_a2dp_sink_command_ready: event 1 BTIF_MEDIA_SINK_DECODER_UPDATE
12-12 10:13:28.251 1856 2240 D a2dp_codec: A2DP_GetCodecType:
12-12 10:13:28.252 1856 2240 I chatty : uid=1002(bluetooth) btif_a2dp_sink_ identical 2 lines
12-12 10:13:28.252 1856 2240 D a2dp_codec: A2DP_GetCodecType:
12-12 10:13:28.252 1856 2240 D a2dp_vendor: A2DP_VendorGetSinkTrackChannelType: vendor_id: 79 codec_id:1
12-12 10:13:28.252 1856 2240 D bt_btif_avrcp_audio_track: BtifAvrcpAudioTrackCreate Track.cpp: btCreateTrack freq 44100 channel 3 codec: 255
12-12 10:13:28.253 589 3244 W AudioPolicyManagerCustom: getOutputForDevice() could not find output for stream 3, sampling rate 44100, format 0x20000000, channels 0x3, flags 0x11
12-12 10:13:28.253 589 3244 E AudioFlinger: createTrack() getOutputForAttr() return error -38 or invalid output handle
12-12 10:13:28.254 1856 2240 E IAudioFlinger: createTrack returned error -38
12-12 10:13:28.254 1856 2240 E AudioTrack: AudioFlinger could not create track, status: -38 output 1685021472
12-12 10:13:28.254 1856 2240 E bt_btif : btif_a2dp_sink_decoder_update_event: A2dpSink: Track creation failed at time 2
12-12 10:13:30.008 1856 2190 D bt_btif : LCB lcb=1 event=UL_MSG_EVT state=LCB_OPEN_ST

  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 系统已结题 12月20日
    • 创建了问题 12月12日

    悬赏问题

    • ¥15 速求,对多种商品的购买力优化问题(用遗传算法、枚举法、粒子群算法、模拟退火算法等方法求解)
    • ¥15 jdk环境变量配置,cmd中Javac运行不了,找不到问题求解答
    • ¥100 速求!商品购买力最优化问题(用遗传算法求解,给出python代码)
    • ¥15 虚拟机检测,可以是封装好的DLL,可付费
    • ¥15 kafka无法正常启动(只启动了一瞬间会然后挂了)
    • ¥30 使用matlab将观测点聚合成多条目标轨迹
    • ¥15 Workbench中材料库无法更新,如何解决?
    • ¥20 如何推断此服务器配置
    • ¥15 关于github的项目怎么在pycharm上面运行
    • ¥15 内存地址视频流转RTMP