亲爱的社区,
在Moverio BT-350上进行开发我尝试从蓝牙扬声器播放媒体音频时遇到了问题(在辅助线缆中连接了耳机)。
我的目标是将耳机的音频输出切换到蓝牙扬声器,反之亦然。 这通常是一个相当简单的任务,Android工具已经使我们能够实现。我们在Moverio bt 200设备上成功实现了这一目标,但似乎无法在新的bt moverio 350中实现。
我会告诉你我之前写过的代码:
首先我连接了蓝牙音箱(没有媒体配置文件/只有手机)和一对耳机通过插孔。
我的应用程序有两个按钮,分别称为“切换到蓝牙”和“切换到耳机”。
在onCreate方法中,我们可以播放最初可以从耳机中听到的媒体。
Resources res = getResources();
AssetFileDescriptor afd = res.openRawResourceFd(R.raw.media2);
MediaPlayer mp = new MediaPlayer();;
mp.setAudioStreamType(AudioManager.STREAM_VOICE_CALL);
mp.setLooping(false);
try {
mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength());
mp.prepare();
} catch (IOException e) {
e.printStackTrace();
}
mp.start();
点击“切换到蓝牙”时,我们有此代码
AudioManager mAudioManager;
mAudioManager = (AudioManager) getSystemService(AUDIO_SERVICE);
mAudioManager.startBluetoothSco();
mAudioManager.setBluetoothScoOn(true);
点击“切换到耳机”时,我们有以下信息:
AudioManager mAudioManager;
mAudioManager = (AudioManager) getSystemService(AUDIO_SERVICE);
mAudioManager.setBluetoothScoOn(false);
mAudioManager.stopBluetoothSco();
bt 350 doesent中的开关似乎正常工作! (它确实是200 bt) 我附上systme日志,因为帮助我解决问题可能是有用的。
启动过滤蓝牙错误时的系统日志:
E/BlueZ: APTX: failed to open library libbt-aptx.so (dlopen failed: library "libbt-aptx.so" not found)
E/BluetoothA2dpSink: Could not bind to Bluetooth A2DP Service with Intent { act=android.bluetooth.IBluetoothA2dpSink }
E/BluetoothAvrcpController: Could not bind to Bluetooth AVRCP Controller Service with Intent { act=android.bluetooth.IBluetoothAvrcpController }
E/BluetoothHeadsetClient: Could not bind to Bluetooth Headset Client Service with Intent { act=android.bluetooth.IBluetoothHeadsetClient }
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/ipc.c):(ipc_init) path : , size = 18
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/ipc.c):(ipc_connect) connect result : 0, errno : 0
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/ipc.c):(cmd_connect_cb) cond is G_IO_NVAL : off
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/ipc.c):(cmd_connect_cb) cond is G_IO_ERR : off
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/ipc.c):(cmd_connect_cb) cond is G_IO_HUP : off
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/ipc.c):(ipc_connect) connect result : 0, errno : 0
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/main.c):(service_register) service_id is 0x1. (HAL_SERVICE_ID_BLUETOOTH)
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/main.c):(service_register) service_id is 0x2. (HAL_SERVICE_ID_SOCKET)
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/main.c):(service_register) service_id is 0xb. (HAL_SERVICE_ID_MAP_CLIENT)
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/main.c):(service_register) service_id is 0x5. (HAL_SERVICE_ID_HANDSFREE)
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/ipc.c):(ipc_init) path : , size = 18
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/ipc.c):(ipc_connect) connect result : -1, errno : 111
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/ipc.c):(cmd_connect_cb) cond is G_IO_NVAL : off
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/ipc.c):(cmd_connect_cb) cond is G_IO_ERR : off
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/ipc.c):(cmd_connect_cb) cond is G_IO_HUP : on
E/bluetoothd: IPC: command socket connect failed
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/main.c):(service_register) service_id is 0x8. (HAL_SERVICE_ID_AVRCP)
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/main.c):(service_register) service_id is 0x6. (HAL_SERVICE_ID_A2DP)
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/ipc.c):(ipc_init) path : , size = 20
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/ipc.c):(ipc_connect) connect result : 0, errno : 0
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/ipc.c):(cmd_connect_cb) cond is G_IO_NVAL : off
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/ipc.c):(cmd_connect_cb) cond is G_IO_ERR : off
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/ipc.c):(cmd_connect_cb) cond is G_IO_HUP : off
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/main.c):(service_register) service_id is 0x3. (HAL_SERVICE_ID_HIDHOST)
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/main.c):(service_register) service_id is 0x7. (HAL_SERVICE_ID_HEALTH)
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/main.c):(service_register) service_id is 0x4. (HAL_SERVICE_ID_PAN)
E/bluetoothd: (device/intel/cherrytrail/cht_cr_rvp/bluetooth/bluez/android/main.c):(service_register) service_id is 0x9. (HAL_SERVICE_ID_GATT)
E/BluetoothAdapterProperties: Property change not handled in Java land:5
E/BluetoothHeadsetClient: Could not bind to Bluetooth Headset Client Service with Intent { act=android.bluetooth.IBluetoothHeadsetClient }
E/BluetoothA2dpSink: Could not bind to Bluetooth A2DP Service with Intent { act=android.bluetooth.IBluetoothA2dpSink }
E/BluetoothAvrcpController: Could not bind to Bluetooth AVRCP Controller Service with Intent { act=android.bluetooth.IBluetoothAvrcpController }
在切换期间记录:
#When switch to headphones
D/BluetoothHeadset: stopScoUsingVirtualVoiceCall()
D/HeadsetStateMachine: currentState = com.android.bluetooth.hfp.HeadsetStateMachine$Connected@ded9373
D/HeadsetStateMachine: Connected process message: 15, size: 1
D/HeadsetStateMachine: terminateScoUsingVirtualVoiceCall: Received
E/HeadsetStateMachine: terminateScoUsingVirtualVoiceCall:No present call to terminate
W/AudioPort: release: Port UNUSED 2
W/AudioPort: release: Port UNUSED 8
D/AudioIntelHal/AudioPlatformState: setParameters: key value pair android_mode=0;output_devices=32;output_flags=2;output_usecase=0
W/AudioIntelHal/AudioPlatformState: clearKeys: Unhandled argument: output_usecase=0
D/RouteManager: setVoiceVolume: gain=0
W/AudioPort: release: Port UNUSED 2
W/AudioPort: release: Port UNUSED 8
D/AudioIntelHal/AudioPlatformState: setParameters: key value pair android_mode=0;output_devices=8;output_flags=2;output_usecase=0
D/AudioIntelHal/AudioPlatformState: route-parameter-manager: Selection criterion changed event: Criterion name: SelectedOutputDevices, current state: Headphones
W/AudioIntelHal/AudioPlatformState: clearKeys: Unhandled argument: output_usecase=0
D/AudioIntelHal/AudioPlatformState: route-parameter-manager: Configuration application request {
D/AudioIntelHal/AudioPlatformState: route-parameter-manager: Applying configurations {
D/AudioIntelHal/AudioPlatformState: route-parameter-manager: Applying configuration "Yes" from domain "Route.HwCodec1IA.Playback.Applicable"
D/AudioIntelHal/AudioPlatformState: route-parameter-manager: Applying configuration "Yes" from domain "Route.HwCodec1IA.Playback.NeedReconfigure"
D/AudioIntelHal/AudioPlatformState: route-parameter-manager: Applying configuration "No" from domain "Route.BtIA.Playback.Applicable"
D/AudioIntelHal/AudioPlatformState: route-parameter-manager: } Applying configurations
D/AudioIntelHal/AudioPlatformState: route-parameter-manager: } Configuration application request
D/EVENT_THREAD: void CEventThread::trig(void*, uint32_t): in
D/EVENT_THREAD: void CEventThread::trig(void*, uint32_t): out
D/RouteManager: doReconsiderRouting: Route state:
-Previously Enabled Route in Input = <none>
-Previously Enabled Route in Output = Media|BtIA
-Selected Route in Input = <none>
-Selected Route in Output = Media|HwCodec1IA
-Route that need reconfiguration in Output = Media
D/RouteManager: -executeMuteRoutingStage-
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: RoutageState, current state: Flow
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: ClosingPlaybackRoutes, current state: Media|BtIA
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: OpenedPlaybackRoutes, current state: <none>
D/RouteManager: audio-parameter-manager: Configuration application request {
D/RouteManager: audio-parameter-manager: Applying configurations {
D/RouteManager: audio-parameter-manager: Applying configuration "Mute" from domain "Routing.Sst.Mute.Bluetooth.Playback"
D/RouteManager: audio-parameter-manager: Applying configuration "Mute" from domain "Routing.Sst.Mute.Media.Playback.Regular"
D/RouteManager: audio-parameter-manager: } Applying configurations
D/RouteManager: audio-parameter-manager: } Configuration application request
D/RouteManager: -executeDisableRoutingStage-
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: RoutageState, current state: Path
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: ClosingPlaybackRoutes, current state: BtIA
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: OpenedPlaybackRoutes, current state: Media
D/RouteManager: audio-parameter-manager: Configuration application request {
D/RouteManager: audio-parameter-manager: Applying configurations {
D/RouteManager: audio-parameter-manager: Applying configuration "Locked" from domain "Routing.Sst.Enable.VoiceProcessingLock.Uplink"
D/RouteManager: audio-parameter-manager: Applying configuration "Locked" from domain "Routing.Sst.Enable.VoiceProcessingLock.Downlink"
D/RouteManager: audio-parameter-manager: } Applying configurations
D/RouteManager: audio-parameter-manager: } Configuration application request
D/RouteManager: -executeConfigureRoutingStage-
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: RoutageState, current state: Configure
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: ClosingPlaybackRoutes, current state: <none>
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: OpenedPlaybackRoutes, current state: Media|HwCodec1IA
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: SelectedOutputDevices, current state: Headphones
D/RouteManager: audio-parameter-manager: Configuration application request {
D/RouteManager: audio-parameter-manager: Applying configurations {
D/RouteManager: audio-parameter-manager: Applying configuration "Activated" from domain "Routing.Configure.HWCodec.Playback.DAC_LEFT"
D/RouteManager: audio-parameter-manager: Applying configuration "Bind" from domain "Routing.Sst.Configure.Playback.Media.ToEarpieceOrHeadset"
D/RouteManager: audio-parameter-manager: Applying configuration "Unbind" from domain "Routing.Sst.Configure.Playback.Media.Bluetooth"
W/RouteManager: audio-parameter-manager: Unable to forward synchronize configurable element /Audio/TI/MIXER/DAC/LEFT/DAC_L/SWITCH: Failed to open mixer control: Left Output Mixer From DAC_L
D/RouteManager: audio-parameter-manager: } Applying configurations
D/RouteManager: audio-parameter-manager: } Configuration application request
D/RouteManager: -executeEnableRoutingStage-
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: RoutageState, current state: Path|Configure
D/RouteManager: audio-parameter-manager: Configuration application request {
D/RouteManager: audio-parameter-manager: Applying configurations {
D/RouteManager: audio-parameter-manager: Applying configuration "UnLocked" from domain "Routing.Sst.Enable.VoiceProcessingLock.Uplink"
D/RouteManager: audio-parameter-manager: Applying configuration "UnLocked" from domain "Routing.Sst.Enable.VoiceProcessingLock.Downlink"
D/RouteManager: audio-parameter-manager: Applying configuration "Enable" from domain "Routing.Enable.HWCodec.Playback.Headset"
W/RouteManager: audio-parameter-manager: Unable to forward synchronize configurable element /Audio/TI/OUTPUT/HEADPHONE/L_SWITCH: Failed to open mixer control: HP Left Analog Volume Switch
W/RouteManager: audio-parameter-manager: Unable to forward synchronize configurable element /Audio/TI/OUTPUT/HEADPHONE/R_SWITCH: Failed to open mixer control: HP Right Analog Volume Switch
W/RouteManager: audio-parameter-manager: Unable to forward synchronize configurable element /Audio/TI/MIXER/DAC/RIGHT/DAC_R/SWITCH: Failed to open mixer control: Right Output Mixer From DAC_R
D/RouteManager: audio-parameter-manager: } Applying configurations
D/RouteManager: audio-parameter-manager: } Configuration application request
D/RouteManager: -executeUnmuteRoutingStage-
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: RoutageState, current state: Flow|Path|Configure
D/RouteManager: audio-parameter-manager: Configuration application request {
D/RouteManager: audio-parameter-manager: Applying configurations {
D/RouteManager: audio-parameter-manager: Applying configuration "Unmute" from domain "Routing.Mute.HWCodec.Playback.Headset"
D/RouteManager: audio-parameter-manager: Applying configuration "Unmute" from domain "Routing.Sst.Mute.HwCodec.Playback.Internal"
D/RouteManager: audio-parameter-manager: Applying configuration "Unmute" from domain "Routing.Sst.Mute.Media.Playback.Regular"
W/RouteManager: audio-parameter-manager: Unable to forward synchronize configurable element /Audio/TI/OUTPUT/HEADPHONE/ENABLED: ALSA: Control element count (2) and configurable scalar element count (1) mismatch
W/RouteManager: audio-parameter-manager: Unable to forward synchronize configurable element /Audio/TI/OUTPUT/HEADPHONE/UNMUTE/ENABLED: Failed to open mixer control: HP driver mute
W/RouteManager: audio-parameter-manager: Unable to forward synchronize configurable element /Audio/TI/OUTPUT/HEADPHONE/ANALOG/VOLUME: Failed to open mixer control: HP Analog Gain
D/RouteManager: audio-parameter-manager: } Applying configurations
D/RouteManager: audio-parameter-manager: } Configuration application request
D/RouteManager: doReconsiderRouting: DONE
D/EVENT_THREAD: void CEventThread::run() Do poll with timeout: -1
W/AudioPort: release: Port UNUSED 2
W/AudioPort: release: Port UNUSED 14
D/AudioIntelHal/AudioPlatformState: setParameters: key value pair android_mode=0;output_devices=8;output_flags=2;output_usecase=0
W/AudioIntelHal/AudioPlatformState: clearKeys: Unhandled argument: output_usecase=0
D/ThermalZone: ZoneName:STR0 movingAverageTemp:38925
D/RouteManager: setVoiceVolume: gain=0.533333
E/EM FG ALGO Iface:: Failed to get File Descriptor
D/ConnectivityService: updateNetworkScore for NetworkAgentInfo [WIFI () - 100] to 51
D/ConnectivityService: rematching NetworkAgentInfo [WIFI () - 100]
D/ConnectivityService: Network NetworkAgentInfo [WIFI () - 100] was already satisfying request 1. No change.
D/ConnectivityService: notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 100]
D/ConnectivityManager.CallbackHandler: CM callback handler got msg 524290
I/ForegroundActivityPlugin: thread run
I/ForegroundActivityPlugin: pkg.equals(mLastForegroundActivity)
E/EM FG ALGO Iface:: Failed to get File Descriptor
I/ForegroundActivityPlugin: thread run
I/ForegroundActivityPlugin: pkg.equals(mLastForegroundActivity)
#When switch to bluetooth
W/AudioPort: release: Port UNUSED 2
W/AudioPort: release: Port UNUSED 14
D/AudioIntelHal/AudioPlatformState: setParameters: key value pair android_mode=0;output_devices=8;output_flags=2;output_usecase=0
W/AudioIntelHal/AudioPlatformState: clearKeys: Unhandled argument: output_usecase=0
D/RouteManager: setVoiceVolume: gain=1
W/AudioPort: release: Port UNUSED 2
W/AudioPort: release: Port UNUSED 14
D/AudioIntelHal/AudioPlatformState: setParameters: key value pair android_mode=0;output_devices=32;output_flags=2;output_usecase=0
D/AudioIntelHal/AudioPlatformState: route-parameter-manager: Selection criterion changed event: Criterion name: SelectedOutputDevices, current state: ScoHeadset
W/AudioIntelHal/AudioPlatformState: clearKeys: Unhandled argument: output_usecase=0
D/AudioIntelHal/AudioPlatformState: route-parameter-manager: Configuration application request {
D/AudioIntelHal/AudioPlatformState: route-parameter-manager: Applying configurations {
D/AudioIntelHal/AudioPlatformState: route-parameter-manager: Applying configuration "No" from domain "Route.HwCodec1IA.Playback.Applicable"
D/AudioIntelHal/AudioPlatformState: route-parameter-manager: Applying configuration "No" from domain "Route.HwCodec1IA.Playback.NeedReconfigure"
D/AudioIntelHal/AudioPlatformState: route-parameter-manager: Applying configuration "Yes" from domain "Route.BtIA.Playback.Applicable"
D/AudioIntelHal/AudioPlatformState: route-parameter-manager: } Applying configurations
D/AudioIntelHal/AudioPlatformState: route-parameter-manager: } Configuration application request
D/EVENT_THREAD: void CEventThread::trig(void*, uint32_t): in
D/EVENT_THREAD: void CEventThread::trig(void*, uint32_t): out
D/RouteManager: doReconsiderRouting: Route state:
-Previously Enabled Route in Input = <none>
-Previously Enabled Route in Output = Media|HwCodec1IA
-Selected Route in Input = <none>
-Selected Route in Output = Media|BtIA
-Route that need reconfiguration in Output = Media
D/RouteManager: -executeMuteRoutingStage-
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: RoutageState, current state: Flow
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: ClosingPlaybackRoutes, current state: Media|HwCodec1IA
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: OpenedPlaybackRoutes, current state: <none>
D/RouteManager: audio-parameter-manager: Configuration application request {
D/RouteManager: audio-parameter-manager: Applying configurations {
D/RouteManager: audio-parameter-manager: Applying configuration "Mute" from domain "Routing.Mute.HWCodec.Playback.Headset"
D/RouteManager: audio-parameter-manager: Applying configuration "Mute" from domain "Routing.Sst.Mute.HwCodec.Playback.Internal"
D/RouteManager: audio-parameter-manager: Applying configuration "Mute" from domain "Routing.Sst.Mute.Media.Playback.Regular"
W/RouteManager: audio-parameter-manager: Unable to forward synchronize configurable element /Audio/TI/OUTPUT/HEADPHONE/ENABLED: ALSA: Control element count (2) and configurable scalar element count (1) mismatch
W/RouteManager: audio-parameter-manager: Unable to forward synchronize configurable element /Audio/TI/OUTPUT/HEADPHONE/UNMUTE/ENABLED: Failed to open mixer control: HP driver mute
W/RouteManager: audio-parameter-manager: Unable to forward synchronize configurable element /Audio/TI/OUTPUT/HEADPHONE/ANALOG/VOLUME: Failed to open mixer control: HP Analog Gain
D/RouteManager: audio-parameter-manager: } Applying configurations
D/RouteManager: audio-parameter-manager: } Configuration application request
D/RouteManager: -executeDisableRoutingStage-
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: RoutageState, current state: Path
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: ClosingPlaybackRoutes, current state: HwCodec1IA
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: OpenedPlaybackRoutes, current state: Media
D/RouteManager: audio-parameter-manager: Configuration application request {
D/RouteManager: audio-parameter-manager: Applying configurations {
D/RouteManager: audio-parameter-manager: Applying configuration "Locked" from domain "Routing.Sst.Enable.VoiceProcessingLock.Uplink"
D/RouteManager: audio-parameter-manager: Applying configuration "Locked" from domain "Routing.Sst.Enable.VoiceProcessingLock.Downlink"
D/RouteManager: audio-parameter-manager: Applying configuration "Disable" from domain "Routing.Enable.HWCodec.Playback.Headset"
W/RouteManager: audio-parameter-manager: Unable to forward synchronize configurable element /Audio/TI/OUTPUT/HEADPHONE/L_SWITCH: Failed to open mixer control: HP Left Analog Volume Switch
W/RouteManager: audio-parameter-manager: Unable to forward synchronize configurable element /Audio/TI/OUTPUT/HEADPHONE/R_SWITCH: Failed to open mixer control: HP Right Analog Volume Switch
W/RouteManager: audio-parameter-manager: Unable to forward synchronize configurable element /Audio/TI/MIXER/DAC/RIGHT/DAC_R/SWITCH: Failed to open mixer control: Right Output Mixer From DAC_R
D/RouteManager: audio-parameter-manager: } Applying configurations
D/RouteManager: audio-parameter-manager: } Configuration application request
D/RouteManager: -executeConfigureRoutingStage-
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: RoutageState, current state: Configure
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: ClosingPlaybackRoutes, current state: <none>
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: OpenedPlaybackRoutes, current state: Media|BtIA
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: SelectedOutputDevices, current state: ScoHeadset
D/RouteManager: audio-parameter-manager: Configuration application request {
D/RouteManager: audio-parameter-manager: Applying configurations {
D/RouteManager: audio-parameter-manager: Applying configuration "Deactivated" from domain "Routing.Configure.HWCodec.Playback.DAC_LEFT"
D/RouteManager: audio-parameter-manager: Applying configuration "Unbind" from domain "Routing.Sst.Configure.Playback.Media.ToEarpieceOrHeadset"
D/RouteManager: audio-parameter-manager: Applying configuration "Bind" from domain "Routing.Sst.Configure.Playback.Media.Bluetooth"
W/RouteManager: audio-parameter-manager: Unable to forward synchronize configurable element /Audio/TI/MIXER/DAC/LEFT/DAC_L/SWITCH: Failed to open mixer control: Left Output Mixer From DAC_L
D/RouteManager: audio-parameter-manager: } Applying configurations
D/RouteManager: audio-parameter-manager: } Configuration application request
D/RouteManager: -executeEnableRoutingStage-
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: RoutageState, current state: Path|Configure
D/RouteManager: audio-parameter-manager: Configuration application request {
D/RouteManager: audio-parameter-manager: Applying configurations {
D/RouteManager: audio-parameter-manager: Applying configuration "UnLocked" from domain "Routing.Sst.Enable.VoiceProcessingLock.Uplink"
D/RouteManager: audio-parameter-manager: Applying configuration "UnLocked" from domain "Routing.Sst.Enable.VoiceProcessingLock.Downlink"
D/RouteManager: audio-parameter-manager: } Applying configurations
D/RouteManager: audio-parameter-manager: } Configuration application request
D/RouteManager: -executeUnmuteRoutingStage-
D/RouteManager: audio-parameter-manager: Selection criterion changed event: Criterion name: RoutageState, current state: Flow|Path|Configure
D/RouteManager: audio-parameter-manager: Configuration application request {
D/RouteManager: audio-parameter-manager: Applying configurations {
D/RouteManager: audio-parameter-manager: Applying configuration "Unmute" from domain "Routing.Sst.Mute.Bluetooth.Playback"
D/RouteManager: audio-parameter-manager: Applying configuration "Unmute" from domain "Routing.Sst.Mute.Media.Playback.Regular"
D/RouteManager: audio-parameter-manager: } Applying configurations
D/RouteManager: audio-parameter-manager: } Configuration application request
D/RouteManager: doReconsiderRouting: DONE
D/EVENT_THREAD: void CEventThread::run() Do poll with timeout: -1
我该如何解决这个问题?我可以用应用程序的代码来解决这个问题吗?或者更多的是系统问题?