Hello.
My problem was when I made some tests on an Android application to record audio with DVI connected and I realized that I can not record audio. but connect HDMI and I can work applications to record audio without problem.
I am working with the PandaBoard 4460 with Android OS 4.0.
These are the results Logcat:
Connected HDMI:
I/StatusBar.HeightReceiver( 727): Resizing status bar plugged=true height=48 old=48
V/AudioService( 469): Broadcast Receiver: Got ACTION_HDMI_AUDIO_PLUG, state = 1
V/WiredAccessoryObserver( 469): Headset UEVENT: {SUBSYSTEM=switch, SWITCH_STATE=1, DEVPATH=/devices/virtual/switch/hdmi, SEQNUM=1216, ACTION=change, SWITCH_NAME=hdmi}
V/WiredAccessoryObserver( 469): newState = 16, headsetState = 16,mHeadsetState = 0
V/WiredAccessoryObserver( 469): Intent.ACTION_USB_HEADSET_PLUG: state: 1 name: hdmi
I/ti_hwc ( 100): external display changed (state=1, mirror={enabled tform=0deg}, dock={enabled tform=0deg}, tv=1
D/wpa_supplicant( 667): nl80211: survey data missing!
D/wpa_supplicant( 667): nl80211: survey data missing!
Audio Recorder:
I/ActivityManager( 465): Start proc com.android.soundrecorder for activity com.android.soundrecorder/.SoundRecorder: pid=2115 uid=10030 gids={3003, 1015}
D/dalvikvm( 2115): GC_CONCURRENT freed 72K, 3% free 6920K/7111K, paused 6ms+5ms
D/wpa_supplicant( 668): nl80211: survey data missing!
D/libEGL ( 2115): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 2115): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 2115): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
D/OpenGLRenderer( 2115): Enabling debug mode 0
I/ActivityManager( 465): Displayed com.android.soundrecorder/.SoundRecorder: +526ms
I/MPEG4Writer( 103): limits: 2147483647/0 bytes/us, bit rate: 12200 bps and the estimated moov size 3072 bytes
I/MPEG4Writer( 103): setStartTimestampUs: 286255
I/MPEG4Writer( 103): Earliest track starting time: 286255
D/wpa_supplicant( 668): nl80211: survey data missing!
D/MPEG4Writer( 103): Stopping Audio track
I/MPEG4Writer( 103): Received total/0-length (129/0) buffers and encoded 129 frames. - audio
I/MPEG4Writer( 103): Audio track drift time: -7688 us
D/MPEG4Writer( 103): Stopping Audio track source
D/MPEG4Writer( 103): Audio track stopped
D/MPEG4Writer( 103): Stopping writer thread
D/MPEG4Writer( 103): 0 chunks are written in the last batch
D/MPEG4Writer( 103): Writer thread stopped
D/MPEG4Writer( 103): Stopping Audio track
W/MediaRecorder( 2115): mediarecorder went away with unhandled events
D/wpa_supplicant( 668): nl80211: survey data missing!
D/dalvikvm( 465): GC_CONCURRENT freed 446K, 12% free 8678K/9799K, paused 4ms+1ms
Audio Recorder with connected DVI:
limits: 2147483647/0 bytes/us, bit rate: 12200 bps and the estimated moov size 3072 bytes
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
I/MPEG4Writer( 103): setStartTimestampUs: 149353
I/MPEG4Writer( 103): Earliest track starting time: 149353
D/wpa_supplicant( 668): nl80211: survey data missing!
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
D/MPEG4Writer( 103): Stopping Audio track
I/MPEG4Writer( 103): Received total/0-length (64/0) buffers and encoded 64 frames. - audio
I/MPEG4Writer( 103): Audio track drift time: -672410 us
D/MPEG4Writer( 103): Stopping Audio track source
E/audio_hw_primary( 103): get_next_buffer() pcm_read error -1
D/MPEG4Writer( 103): Audio track stopped
D/MPEG4Writer( 103): Stopping writer thread
D/MPEG4Writer( 103): 0 chunks are written in the last batch
D/MPEG4Writer( 103): Writer thread stopped
D/MPEG4Writer( 103): Stopping Audio track
W/MediaRecorder( 2115): mediarecorder went away with unhandled events.
/*******************************************************************************************/
Need someone to help me with this. Thank you.