平台:imx6dl-sabresd 系统: android 6.0
遇到问题如下:
一、播放*.wav出错
01-01 00:34:38.692 510 1081 I ActivityManager: START u0 {act=android.intent.action.PICK dat= typ=vnd.android.cursor.dir/artistalbum flg=0x4000000 cmp=com.android.music/.ArtistAlbumBrowserActivity (has extras)} from uid 10042 on display 0
01-01 00:34:38.834 580 580 V PhoneStatusBar: setLightsOn(true)
01-01 00:34:39.359 212 3954 D NuPlayerDriver: notifyListener_l(0xb6056d80), (1, 0, 0)
01-01 00:34:39.360 934 934 D MediaPlayer: setSubtitleAnchor in MediaPlayer
01-01 00:34:39.370 212 212 D NuPlayerDriver: seekTo(0xb6056d80) 0 ms
01-01 00:34:39.370 212 212 D NuPlayerDriver: notifyListener_l(0xb6056d80), (7, 0, 0)
01-01 00:34:39.370 212 3954 I GenericSource: start
01-01 00:34:39.372 934 934 D MediaPlaybackService: restored queue, currently at position 0/260754 (requested 0)
01-01 00:34:39.373 1119 1119 V MusicFXControlPanelReceiver: onReceive
01-01 00:34:39.374 1119 1119 V MusicFXControlPanelReceiver: Action: android.media.action.OPEN_AUDIO_EFFECT_CONTROL_SESSION
01-01 00:34:39.374 1119 1119 V MusicFXControlPanelReceiver: Package name: com.android.music
01-01 00:34:39.374 1119 1119 V MusicFXControlPanelReceiver: Audio session: 11
01-01 00:34:39.374 1119 1119 V MusicFXControlPanelEffect: openSession(android.app.ReceiverRestrictedContext@5b72e54, com.android.music, 11)
01-01 00:34:39.403 212 3954 D NuPlayerDriver: notifyListener_l(0xb6056d80), (4, 0, 0)
01-01 00:34:39.421 212 3959 E OMXNodeInstance: setConfig(21:google.raw.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
01-01 00:34:39.421 212 3959 I ACodec : codec does not support config priority (err -2147483648)
01-01 00:34:39.423 212 3959 I MediaCodec: MediaCodec will operate in async mode
01-01 00:34:39.428 212 3957 W APM::AudioPolicyManager: getOutput() could not find output for stream 3, samplingRate 0,format 0, channels 3, flags 0
01-01 00:34:39.428 212 3957 W NuPlayerRenderer: openAudioSink: non offloaded open failed status: -19
01-01 00:34:39.428 212 3954 E NuPlayer: received error(0xffffffed) from audio decoder, flushing(0), now shutting down
01-01 00:34:39.429 212 3954 D NuPlayerDriver: notifyListener_l(0xb6056d80), (100, 1, -19)
01-01 00:34:39.429 934 948 E MediaPlayer: error (1, -19)
01-01 00:34:39.429 212 3957 W NuPlayerRenderer: onDrainAudioQueue(): audio sink is not ready
01-01 00:34:39.430 212 3957 W NuPlayerRenderer: onDrainAudioQueue(): audio sink is not ready
01-01 00:34:39.430 212 3957 W NuPlayerRenderer: onDrainAudioQueue(): audio sink is not ready
01-01 00:34:39.437 212 3954 W AMessage: failed to post message as target looper for handler 0 is gone.
01-01 00:34:39.501 212 559 E MetadataRetrieverClient: failed to extract an album art
01-01 00:34:39.576 212 441 E MetadataRetrieverClient: failed to extract an album art
01-01 00:34:39.707 934 934 E MediaPlayer: invoke failed: wrong state 0
01-01 00:34:39.708 934 934 E MediaPlayer: Error (1,-19)
01-01 00:34:39.708 934 934 D MultiPlayer: Error: 1,-19
01-01 00:34:39.804 934 934 I imx6.gralloc: open gpu gralloc module!
01-01 00:34:39.894 510 529 I ActivityManager: Displayed com.android.music/.ArtistAlbumBrowserActivity: +1s157ms (total +1s280ms)
01-01 00:34:39.907 934 934 E MediaPlayer: Error (1,-1010)
01-01 00:34:39.907 934 934 D MultiPlayer: Error: 1,-1010
二、录音出错:
01-01 00:20:36.627 512 884 I ActivityManager: Start proc 9998:com.android.soundrecorder/u0a48 for activity com.android.soundrecorder/.SoundRecorder
01-01 00:20:36.679 9998 9998 I art : Late-enabling JIT
01-01 00:20:36.694 9998 9998 I art : JIT created with code_cache_capacity=2MB compile_threshold=1000
01-01 00:20:36.812 9998 9998 W System : ClassLoader referenced unknown path: /system/app/SoundRecorder/lib/arm
01-01 00:20:37.060 9998 10012 D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
01-01 00:20:37.068 9998 9998 I imx6.gralloc: open gpu gralloc module!
01-01 00:20:37.227 9998 10012 I OpenGLRenderer: Initialized EGL, version 1.4
01-01 00:20:37.250 205 295 E BufferQueueProducer: [com.android.soundrecorder/com.android.soundrecorder.SoundRecorder] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
01-01 00:20:37.486 512 540 I ActivityManager: Displayed com.android.soundrecorder/.SoundRecorder: +888ms
01-01 00:20:53.653 512 884 I MediaFocusControl: AudioFocus requestAudioFocus() from android.media.AudioManager@bae2366 req=1flags=0x0
01-01 00:20:53.719 210 458 E AudioSystem: AudioSystem::getInputBufferSize failed sampleRate 8000 format 0x1 channelMask 10
01-01 00:20:53.719 210 458 E AudioRecord: AudioSystem could not query the input buffer size for sampleRate 8000, format 0x1, channelMask 0x10; status -22
01-01 00:20:53.719 210 458 E StagefrightRecorder: audio source is not initialized
01-01 00:20:53.719 9998 9998 E MediaRecorder: start failed: -2147483648
01-01 00:20:53.985 205 233 E BufferQueueProducer: [com.android.soundrecorder/com.android.soundrecorder.SoundRecorder] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
01-01 00:20:56.168 512 948 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@3d00f09 attribute=null, token = android.os.BinderProxy@ab205a4
audio source is not initialized01-01 00:22:20.928 512 534 I UsageStatsService: User[0] Flushing usage stats to disk
01-01 00:31:00.029 512 535 I ProcessStatsService: Prepared write state in 12ms
注:用tinyplay 播放wav 和 tinycap 录音都是正常的.
Solved! Go to Solution.
Hello,
1.
The following is Summary Page link to download Android software from NXP Web :
Android OS for i.MX Applications Processors|NXP
2.
NXP is offering additional packages to extend Android core functionality.
These packages will be available to approved customers and will not be generally
available on NXP.com.
There are two packages available:
Extended Multimedia Feature Package
Wi-Fi Display Sink Feature Package
The source code package will be provided “as-is” with no support and will be
made available to approved customers via an extranet site.
The customer will have options to purchase support or customization services
from NXP.
For more information, please create request
https://community.nxp.com/docs/DOC-329745
Regards,
Yuri.
Hi talent
had you installed nxp enhanced codecs included in
android_M6.0.1_1.0.0_omxplayer_source.tar.gz software package.
It is described in attached document, procedure for its obtaining
in Release Notes sect.6 Extended Feature Packages
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Do you know where to download the android_M6.0.1_1.0.0_omxplayer_source.tar.gz software package?
Hello,
1.
The following is Summary Page link to download Android software from NXP Web :
Android OS for i.MX Applications Processors|NXP
2.
NXP is offering additional packages to extend Android core functionality.
These packages will be available to approved customers and will not be generally
available on NXP.com.
There are two packages available:
Extended Multimedia Feature Package
Wi-Fi Display Sink Feature Package
The source code package will be provided “as-is” with no support and will be
made available to approved customers via an extranet site.
The customer will have options to purchase support or customization services
from NXP.
For more information, please create request
https://community.nxp.com/docs/DOC-329745
Regards,
Yuri.