imx6qp Hsp profile for bluetooth sco data

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx6qp Hsp profile for bluetooth sco data

3,091 次查看
baiaaren
Contributor II

1. We write a driver to control aud4. This driver is i2s slave mode. Sample rate is 8k, bclk:256k.

2. Our bt is bcm43438. 

We use skype to test this function, but it can't use. We think we miss some .so file.

The failed log is :

110-25 11:29:01.513   228 12986 I FslInspector: TryMp4Type SUCCESS  
10-25 11:29:01.513   228 12986 D FslExtractor: FslExtractor::FslExtractor mime=video/mp4  
10-25 11:29:01.514   228 12986 D FslExtractor: FslExtractor::Init BEGIN  
10-25 11:29:01.514   228 12986 D FslExtractor: GetLibraryName lib_mp4_parser_arm11_elinux.3.0.so  
10-25 11:29:01.516   228 12986 D FslExtractor: load parser name lib_mp4_parser_arm11_elinux.3.0.so  
10-25 11:29:01.516   228 12986 D FslExtractor: FslExtractor::CreateParserInterface success  
10-25 11:29:01.516   228 12986 I FslExtractor: Core parser MPEG4PARSER_06.09.31  build on Apr  8 2016 15:52:36   
10-25 11:29:01.526   228 12986 D FslExtractor: createParser2 flag=1c,err=0  
10-25 11:29:01.526   228 12986 I FslExtractor: mReadMode=1,mNumTracks=1  
10-25 11:29:01.526   228 12986 I FslExtractor: bSeekable 1  
10-25 11:29:01.526   228 12986 I FslExtractor: FslParser Key: 0     format=0,size=33,Value: Skype_Dialing_Master_11JUN15_mono  
10-25 11:29:01.526   228 12986 I FslExtractor: FslParser Key2: 41     format=12,size=4,Value: 0  
10-25 11:29:01.526   228 12986 I FslExtractor: FslParser Key2: 31     format=12,size=4,Value: 2112  
10-25 11:29:01.526   228 12986 I FslExtractor: FslParser Key2: 32     format=12,size=4,Value: 925  
10-25 11:29:01.526   228 12986 D FslExtractor: FslExtractor::ParseMediaFormat BEGIN  
10-25 11:29:01.527   228 12986 D FslExtractor: ParseAudio index=0,type=6,subtype=2  
10-25 11:29:01.527   228 12986 I FslExtractor: audio track 0, lanuage: und\B4\EC\FF\FF\FF   
10-25 11:29:01.527   228 12986 I FslExtractor: audio codec data size=2  
10-25 11:29:01.527   228 12986 I FslExtractor: add esds metadata for aac audio size=2  
10-25 11:29:01.527   228 12986 I FslExtractor: ParseAudio channel=1,sampleRate=44100,bitRate=128000,bitPerSample=16,audioBlockAlign=0  
10-25 11:29:01.527   228 12986 I FslExtractor: add audio track index=0,sourceIndex=0,mime=audio/mp4a-latm  
10-25 11:29:01.527   228 12986 D FslExtractor: FslExtractor::Init ret=0  
10-25 11:29:01.527   228 12986 D FslExtractor: FslExtractor::getTrack index=0  
10-25 11:29:01.527   228 12986 E FslExtractor: getTrack source string cnt=1  
10-25 11:29:01.527   228 12986 D FslExtractor: start track 0  
10-25 11:29:01.527   228 12986 D FslExtractor: source start track 0  
10-25 11:29:01.527   228 12985 D NuPlayerDriver: notifyListener_l(0xb5ed70e0), (1, 0, 0)  
10-25 11:29:01.528 11268 11342 D MediaPlayer: setSubtitleAnchor in MediaPlayer  
10-25 11:29:01.568   228   228 D NuPlayerDriver: start(0xb5ed70e0), state is 4, eos is 0  
10-25 11:29:01.569   228 12985 I GenericSource: start  
10-25 11:29:01.597   228 12991 I OMXPlayer: Can't open library: lib_aacplusd_wrap_arm12_elinux_android.so  
10-25 11:29:01.597   228 12991 I OMXPlayer: dlopen failed: library "lib_aacplusd_wrap_arm12_elinux_android.so" not found  
10-25 11:29:01.600   228 12991 W linker  : /system/lib/lib_aac_dec_v2_arm12_elinux.so has text relocations. This is wasting memory and prevents security hardening. Please fix.  
10-25 11:29:01.601   228 12991 E OMXNodeInstance: setParameter(35:Freescale.std._decoder.aac.sw-based, ParamAudioAndroidAacPresentation(0x6f400003)) ERROR: UnsupportedIndex(0x8000101a)  
10-25 11:29:01.601   228 12991 I OMXPlayer: AudioFilter SetParameter OMX_IndexParamAudioOutputConvert  
10-25 11:29:01.601   228 12991 I OMXPlayer: AudioFilter SetParameter OMX_IndexParamAudioSendFirstPortSettingChanged 0  
10-25 11:29:01.601   228 12991 E OMXNodeInstance: setConfig(35:Freescale.std._decoder.aac.sw-based, ConfigPriority(0x6f800002)) ERROR: UnsupportedIndex(0x8000101a)  
10-25 11:29:01.601   228 12991 I ACodec  : codec does not support config priority (err -1010)  
10-25 11:29:01.603   228 12991 I MediaCodec: MediaCodec will operate in async mode  
10-25 11:29:01.606   228 12992 I OMXPlayer: SetupDecoder AAC decoder Wrapper  build on Apr 22 2014 09:43:52   
10-25 11:29:01.630   228 12989 W APM::AudioPolicyManager: getOutput() could not find output for stream 0, samplingRate 0,format 0, channels 3, flags 0  
10-25 11:29:01.630   228 12989 W NuPlayerRenderer: openAudioSink: non offloaded open failed status: -19  
10-25 11:29:01.630   228 12985 E NuPlayer: received error(0xffffffed) from audio decoder, flushing(0), now shutting down  
10-25 11:29:01.630   228 12985 D NuPlayerDriver: notifyListener_l(0xb5ed70e0), (100, 1, -19)  
10-25 11:29:01.630   228 12989 W NuPlayerRenderer: onDrainAudioQueue(): audio sink is not ready  
10-25 11:29:01.630 11268 11480 E MediaPlayer: error (1, -19)  
10-25 11:29:01.631   228 12989 W NuPlayerRenderer: onDrainAudioQueue(): audio sink is not ready  
10-25 11:29:01.632   228 12989 W NuPlayerRenderer: onDrainAudioQueue(): audio sink is not ready  
10-25 11:29:01.651   228 12985 W AMessage: failed to post message as target looper for handler 0 is gone.  
10-25 11:29:01.755 11268 11268 E MediaPlayer: invoke failed: wrong state 0  
10-25 11:29:01.757 11268 11268 E MediaPlayer: Error (1,-19)  
10-25 11:29:01.757   228   293 D NuPlayerDriver: reset(0xb5ed70e0)  
10-25 11:29:01.757   228   293 D NuPlayerDriver: notifyListener_l(0xb5ed70e0), (8, 0, 0)  
10-25 11:29:01.760   228 12985 D FslExtractor: FslMediaSource::~FslMediaSource  
10-25 11:29:01.762   228 12985 D FslExtractor: FslExtractor::~FslExtractor  
10-25 11:29:01.762   228 12985 D NuPlayerDriver: notifyResetComplete(0xb5ed70e0)  
10-25 11:29:01.765 11268 11268 W MediaPlayer: mediaplayer went away with unhandled events  
10-25 11:29:02.873   521   656 D WifiService: releaseWifiLockLocked: WifiLock{WifiLock type=3 binder=android.os.BinderProxy@dd7e2f9}  
10-25 11:29:02.876   228   293 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:02.876   228   293 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:02.876   228   293 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:02.876   228   293 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:02.876   228   293 E APM::AudioPolicyEngine: getDeviceForStrategy() no device found for STRATEGY_TRANSMITTED_THROUGH_SPEAKER  
10-25 11:29:02.877   228   990 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:02.877   228   990 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:02.877   228   990 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:02.877   228   990 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:02.877   228   990 E APM::AudioPolicyEngine: getDeviceForStrategy() no device found for STRATEGY_TRANSMITTED_THROUGH_SPEAKER  
10-25 11:29:02.878   228   228 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:02.878   228   228 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:02.878   228   228 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:02.878   228   228 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:02.878   228   228 E APM::AudioPolicyEngine: getDeviceForStrategy() no device found for STRATEGY_TRANSMITTED_THROUGH_SPEAKER  
10-25 11:29:03.035 11268 12337 D skia    : --- SkImageDecoder::Factory returned null  
10-25 11:29:03.256   521   981 W InputMethodManagerService: Focus gain on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@8b7668c (uid=10044 pid=11268)  
10-25 11:29:03.359 11268 12998 D skia    : --- SkImageDecoder::Factory returned null  
10-25 11:29:03.688 11268 12998 D skia    : --- SkImageDecoder::Factory returned null  
10-25 11:29:05.026   521  2690 I ActivityManager: START u0 {cmp=com.skype.raider/com.skype.android.app.calling.PreCallActivity (has extras)} from uid 10044 on display 0  
10-25 11:29:05.311   228   228 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:05.311   228   228 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:05.311   228   228 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:05.311   228   228 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:05.311   228   228 E APM::AudioPolicyEngine: getDeviceForStrategy() no device found for STRATEGY_TRANSMITTED_THROUGH_SPEAKER  
10-25 11:29:05.312   228   293 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:05.312   228   293 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:05.312   228   293 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:05.312   228   293 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:05.312   228   293 E APM::AudioPolicyEngine: getDeviceForStrategy() no device found for STRATEGY_TRANSMITTED_THROUGH_SPEAKER  
10-25 11:29:05.313   228   990 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:05.313   228   990 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:05.313   228   990 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:05.313   228   990 E APM::AudioPolicyEngine: getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION  
10-25 11:29:05.313   228   990 E APM::AudioPolicyEngine: getDeviceForStrategy() no device found for STRATEGY_TRANSMITTED_THROUGH_SPEAKER  
10-25 11:29:05.486 11268 11268 W om.skype.raider: type=1400 audit(0.0:79): avc: denied { ioctl } for path="socket:[330447]" dev="sockfs" ino=330447 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0  
10-25 11:29:05.486 11268 11268 W om.skype.raider: type=1400 audit(0.0:80): avc: denied { ioctl } for path="socket:[330447]" dev="sockfs" ino=330447 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0  
10-25 11:29:05.486 11268 11268 W om.skype.raider: type=1400 audit(0.0:81): avc: denied { ioctl } for path="socket:[330447]" dev="sockfs" ino=330447 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0  
10-25 11:29:05.486 11268 11268 W om.skype.raider: type=1400 audit(0.0:82): avc: denied { ioctl } for path="socket:[330447]" dev="sockfs" ino=330447 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0  
10-25 11:29:05.486 11268 11268 W om.skype.raider: type=1400 audit(0.0:83): avc: denied { ioctl } for path="socket:[330447]" dev="sockfs" ino=330447 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0  
10-25 11:29:05.486 11268 11268 W om.skype.raider: type=1400 audit(0.0:84): avc: denied { ioctl } for path="socket:[330447]" dev="sockfs" ino=330447 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0  
10-25 11:29:05.486 11268 11268 W om.skype.raider: type=1400 audit(0.0:85): avc: denied { ioctl } for path="socket:[330447]" dev="sockfs" ino=330447 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0  
10-25 11:29:05.486 11268 11268 W om.skype.raider: type=1400 audit(0.0:86): avc: denied { ioctl } for path="socket:[330447]" dev="sockfs" ino=330447 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0  
10-25 11:29:05.486 11268 11268 W om.skype.raider: type=1400 audit(0.0:87): avc: denied { ioctl } for path="socket:[330447]" dev="sockfs" ino=330447 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0  
10-25 11:29:05.486 11268 11268 W om.skype.raider: type=1400 audit(0.0:88): avc: denied { ioctl } for path="socket:[330447]" dev="sockfs" ino=330447 ioctlcmd=8927 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=udp_socket permissive=0  
10-25 11:29:05.589 11268 12777 I LYNC PAL: findClass java/net/InetAddress loader 0x1005fa  
10-25 11:29:05.589 11268 12777 I LYNC PAL: findClass java/net/Inet6Address loader 0x1005fa  
10-25 11:29:05.589 11268 12777 I LYNC PAL: findClass java/net/Inet4Address loader 0x1005fa  
10-25 11:29:05.600 11268 11312 I LYNC PAL: findClass java/net/InetAddress loader 0x1005fa  
10-25 11:29:05.600 11268 11312 I LYNC PAL: findClass java/net/Inet6Address loader 0x1005fa  
10-25 11:29:05.600 11268 11312 I LYNC PAL: findClass java/net/Inet4Address loader 0x1005fa  
10-25 11:29:05.653 11268 11312 I LYNC PAL: findClass java/net/InetAddress loader 0x1005fa  
10-25 11:29:05.653 11268 11312 I LYNC PAL: findClass java/net/Inet6Address loader 0x1005fa  
10-25 11:29:05.653 11268 11312 I LYNC PAL: findClass java/net/Inet4Address loader 0x1005fa  
10-25 11:29:05.663 11268 11312 I LYNC PAL: findClass java/net/InetAddress loader 0x1005fa  
10-25 11:29:05.663 11268 11312 I LYNC PAL: findClass java/net/Inet6Address loader 0x1005fa  
10-25 11:29:05.663 11268 11312 I LYNC PAL: findClass java/net/Inet4Address loader 0x1005fa  
10-25 11:29:05.676 11268 11312 I LYNC PAL: findClass java/net/InetAddress loader 0x1005fa  
10-25 11:29:05.676 11268 11312 I LYNC PAL: findClass java/net/Inet6Address loader 0x1005fa  
10-25 11:29:05.676 11268 11312 I LYNC PAL: findClass java/net/Inet4Address loader 0x1005fa  
10-25 11:29:05.686 11268 11312 I LYNC PAL: findClass java/net/InetAddress loader 0x1005fa  
10-25 11:29:05.686 11268 11312 I LYNC PAL: findClass java/net/Inet6Address loader 0x1005fa  
10-25 11:29:05.687 11268 11312 I LYNC PAL: findClass java/net/Inet4Address loader 0x1005fa  
10-25 11:29:05.709 11268 11312 I LYNC PAL: findClass java/net/InetAddress loader 0x1005fa  
10-25 11:29:05.709 11268 11312 I LYNC PAL: findClass java/net/Inet6Address loader 0x1005fa  
10-25 11:29:05.709 11268 11312 I LYNC PAL: findClass java/net/Inet4Address loader 0x1005fa  
10-25 11:29:05.720   228   293 W APM::AudioPolicyManager: getOutput() could not find output for stream 0, samplingRate 48000,format 1, channels 3, flags 0  
10-25 11:29:05.720 11268 11298 E AudioTrack: Could not get audio output for session 232, stream type 0, usage 2049352368, sample rate 48000, format 0x1, channel mask 0x3, flags 0  
10-25 11:29:05.726 11268 11298 E libOpenSLES: AudioTrack::initCheck status 4294967274  
10-25 11:29:05.726 11268 11298 W libOpenSLES: Leaving Object::Realize (SL_RESULT_CONTENT_UNSUPPORTED)  
10-25 11:29:05.727   228   228 W APM::AudioPolicyManager: getOutput() could not find output for stream 0, samplingRate 44100,format 1, channels 3, flags 0  
10-25 11:29:05.727 11268 11298 E AudioTrack: Could not get audio output for session 233, stream type 0, usage 2049352368, sample rate 44100, format 0x1, channel mask 0x3, flags 0  
10-25 11:29:05.727 11268 11298 E libOpenSLES: AudioTrack::initCheck status 4294967274  
10-25 11:29:05.727 11268 11298 W libOpenSLES: Leaving Object::Realize (SL_RESULT_CONTENT_UNSUPPORTED)  
10-25 11:29:05.728   228   990 W APM::AudioPolicyManager: getOutput() could not find output for stream 0, samplingRate 16000,format 1, channels 3, flags 0  
10-25 11:29:05.728 11268 11298 E AudioTrack: Could not get audio output for session 234, stream type 0, usage 2049352368, sample rate 16000, format 0x1, channel mask 0x3, flags 0  
10-25 11:29:05.728 11268 11298 E libOpenSLES: AudioTrack::initCheck status 4294967274  
10-25 11:29:05.728 11268 11298 W libOpenSLES: Leaving Object::Realize (SL_RESULT_CONTENT_UNSUPPORTED)  
10-25 11:29:05.728   228   293 W APM::AudioPolicyManager: getOutput() could not find output for stream 0, samplingRate 8000,format 1, channels 3, flags 0  
10-25 11:29:05.728 11268 11298 E AudioTrack: Could not get audio output for session 235, stream type 0, usage 2049352368, sample rate 8000, format 0x1, channel mask 0x3, flags 0  
10-25 11:29:05.729 11268 11298 E libOpenSLES: AudioTrack::initCheck status 4294967274  
10-25 11:29:05.729 11268 11298 W libOpenSLES: Leaving Object::Realize (SL_RESULT_CONTENT_UNSUPPORTED)  
10-25 11:29:05.729   228   228 W APM::AudioPolicyManager: getOutput() could not find output for stream 0, samplingRate 22050,format 1, channels 3, flags 0  
10-25 11:29:05.729 11268 11298 E AudioTrack: Could not get audio output for session 236, stream type 0, usage 2049352368, sample rate 22050, format 0x1, channel mask 0x3, flags 0  
10-25 11:29:05.729 11268 11298 E libOpenSLES: AudioTrack::initCheck status 4294967274  
10-25 11:29:05.729 11268 11298 W libOpenSLES: Leaving Object::Realize (SL_RESULT_CONTENT_UNSUPPORTED)  
10-25 11:29:05.730   228   990 W APM::AudioPolicyManager: getOutput() could not find output for stream 0, samplingRate 48000,format 1, channels 1, flags 0  
10-25 11:29:05.730 11268 11298 E AudioTrack: Could not get audio output for session 237, stream type 0, usage 2049352368, sample rate 48000, format 0x1, channel mask 0x1, flags 0  
10-25 11:29:05.730 11268 11298 E libOpenSLES: AudioTrack::initCheck status 4294967274  
10-25 11:29:05.730 11268 11298 W libOpenSLES: Leaving Object::Realize (SL_RESULT_CONTENT_UNSUPPORTED)  
10-25 11:29:05.731   228   293 W APM::AudioPolicyManager: getOutput() could not find output for stream 0, samplingRate 44100,format 1, channels 1, flags 0  
10-25 11:29:05.731 11268 11298 E AudioTrack: Could not get audio output for session 238, stream type 0, usage 2049352368, sample rate 44100, format 0x1, channel mask 0x1, flags 0  
10-25 11:29:05.731 11268 11298 E libOpenSLES: AudioTrack::initCheck status 4294967274  
10-25 11:29:05.731 11268 11298 W libOpenSLES: Leaving Object::Realize (SL_RESULT_CONTENT_UNSUPPORTED)  
10-25 11:29:05.732   228   228 W APM::AudioPolicyManager: getOutput() could not find output for stream 0, samplingRate 16000,format 1, channels 1, flags 0  
10-25 11:29:05.732 11268 11298 E AudioTrack: Could not get audio output for session 239, stream type 0, usage 2049352368, sample rate 16000, format 0x1, channel mask 0x1, flags 0  
10-25 11:29:05.732 11268 11298 E libOpenSLES: AudioTrack::initCheck status 4294967274  
10-25 11:29:05.732 11268 11298 W libOpenSLES: Leaving Object::Realize (SL_RESULT_CONTENT_UNSUPPORTED)  
10-25 11:29:05.746   228   990 W APM::AudioPolicyManager: getOutput() could not find output for stream 0, samplingRate 8000,format 1, channels 1, flags 0  
10-25 11:29:05.746 11268 11298 E AudioTrack: Could not get audio output for session 240, stream type 0, usage 2049352368, sample rate 8000, format 0x1, channel mask 0x1, flags 0  
10-25 11:29:05.747 11268 11298 E libOpenSLES: AudioTrack::initCheck status 4294967274  
10-25 11:29:05.747 11268 11298 W libOpenSLES: Leaving Object::Realize (SL_RESULT_CONTENT_UNSUPPORTED)  
10-25 11:29:05.748   228   293 W APM::AudioPolicyManager: getOutput() could not find output for stream 0, samplingRate 22050,format 1, channels 1, flags 0  
10-25 11:29:05.748 11268 11298 E AudioTrack: Could not get audio output for session 241, stream type 0, usage 2049352368, sample rate 22050, format 0x1, channel mask 0x1, flags 0  
10-25 11:29:05.748 11268 11298 E libOpenSLES: AudioTrack::initCheck status 4294967274  
10-25 11:29:05.748 11268 11298 W libOpenSLES: Leaving Object::Realize (SL_RESULT_CONTENT_UNSUPPORTED)  
10-25 11:29:05.752 11268 11307 I LYNC PAL: findClass java/net/InetAddress loader 0x1005fa  
10-25 11:29:05.752 11268 11307 I LYNC PAL: findClass java/net/Inet6Address loader 0x1005fa  
10-25 11:29:05.753 11268 11307 I LYNC PAL: findClass java/net/Inet4Address loader 0x1005fa  
10-25 11:29:05.787   521   981 D WifiService: acquireWifiLockLocked: WifiLock{WifiLock type=3 binder=android.os.BinderProxy@b5e1f4d}  
10-25 11:29:05.795 11268 11312 I LYNC PAL: findClass java/net/InetAddress loader 0x1005fa  
10-25 11:29:05.795 11268 11312 I LYNC PAL: findClass java/net/Inet6Address loader 0x1005fa  
10-25 11:29:05.795 11268 11312 I LYNC PAL: findClass java/net/Inet4Address loader 0x1005fa  
10-25 11:29:05.817 11268 11312 I LYNC PAL: findClass java/net/InetAddress loader 0x1005fa  
10-25 11:29:05.818 11268 11312 I LYNC PAL: findClass java/net/Inet6Address loader 0x1005fa  
10-25 11:29:05.818 11268 11312 I LYNC PAL: findClass java/net/Inet4Address loader 0x1005fa  
10-25 11:29:05.831 11268 11312 I LYNC PAL: findClass java/net/InetAddress loader 0x1005fa  
10-25 11:29:05.831 11268 11312 I LYNC PAL: findClass java/net/Inet6Address loader 0x1005fa  
10-25 11:29:05.831 11268 11312 I LYNC PAL: findClass java/net/Inet4Address loader 0x1005fa  
10-25 11:29:05.890 12948 12965 I chatty  : uid=1002(bluetooth) com.android.bluetooth expire 3 lines  
10-25 11:29:05.892 12948 13012 I chatty  : uid=1002(bluetooth) com.android.bluetooth expire 18 lines

0 项奖励
回复
8 回复数

2,057 次查看
carlosgarcia
NXP Employee
NXP Employee

Hi Bai,

Firstly the log shows that a library cannot be opened:lib_aacplusd_wrap_arm12_elinux_android.so

Do you have avilable in your system the libraries:

   -lib_mp4_parser_arm11_elinux.3.0.so

   -lib_aacplusd_wrap_arm12_elinux_android.so

To understand better your issue I reviewed the bcm43438 spec, let me know if I am wrong but the interfeces in the bcm43438 for bluetooth are UART and PCM. And for WLAN is SDIO or SPI. 

What linux version are you using?

Regards,

-Carlos

0 项奖励
回复

2,057 次查看
baiaaren
Contributor II

Hi Carlos,

1.  bcm43438 for bluetooth are UART and PCM.  

              We use i2s interface. We want to configure the bcm43438 into i2s mode.

2. What linux version are you using?

               Our linux version is 4.1.15

3.Do you have avilable in your system the libraries:

   -lib_mp4_parser_arm11_elinux.3.0.so

   -lib_aacplusd_wrap_arm12_elinux_android.so

    We don't have these files. Could you provide these files? 

4. WLAN is SDIO or SPI.  

      We use SDIO.

B.R.

Aaren

0 项奖励
回复

2,057 次查看
carlosgarcia
NXP Employee
NXP Employee

The lib lib_mp4_parser_arm11_elinux.3.0.so you can get it from BSP4.1.15 (if you build through yocto project) through imx-parser recipe so you have to build it:

(bitbake imx-parser) 

after build imx-parser an example where you can get the lib from:

build/tmp/work/imx6qsabresd-poky-linux-gnueabi/imx-parser/4.0.9-r0/image/usr/lib/imx-mm/parser.

For the lib: lib_aacplusd_wrap_arm12_elinux_android.so you require a  marketing representative to get access to controlled packages. Let me find how can help you in this case.

2,057 次查看
yenchou
Contributor III

Hi Carlos,

I also meet the problem in Android6.0 with Linux kernel is 4.1.15.

When  run cts android.media.cts.MediaSyncTest,it would produce the log.

OMXPlayer: Can't open library: lib_aacplusd_wrap_arm12_elinux_android.so
01-01 00:07:12.071 209 572 I OMXPlayer: dlopen failed: library "lib_aacplusd_wrap_arm12_elinux_android.so" not found

Could you also give me the libary lib_aacplusd_wrap_arm12_elinux_android.so?

My email address : yen_chou@winmate.com.tw

Thank you for your help.

0 项奖励
回复

2,057 次查看
baiaaren
Contributor II

Hi Carlos,

We use Android 6.0. Linux kernel is 4.1.15.

These log is from android.

If we want to implement sco on Android. How do I get these command on Android?

Thanks

Aaren

0 项奖励
回复

2,057 次查看
carlosgarcia
NXP Employee
NXP Employee

Aaren,

Could you provide your coorporate email addres? Some one will contact you to send you an invitation for access to accplus library.

Regards,

-Carlos

0 项奖励
回复

2,057 次查看
baiaaren
Contributor II

Hi Carlos,

These files I already added. But sco can not play music. 

The attached file is our log. 

Thank you 

Aaren

0 项奖励
回复

2,057 次查看
baiaaren
Contributor II

Hi Carlos,

My email address : aaren_bai@pegatroncorp.com

Thank you.

Aaren

0 项奖励
回复