How to add extra sound card to android

87 views
Skip to first unread message

Puneet B

unread,
Sep 18, 2014, 6:43:36 AM9/18/14
to android...@googlegroups.com
Hi All,

We have A20 custom board with ANDROID  4.2 booting from sdcard .
We have developed i2s sound which is working fine by using tinyplay command in android.
now i removed all the soundcards except i2s soundcard(it becomes card 0).

but once i play video file i am not getting audio here will be log.
Can any one tell is there any configuration need to add for extra sound card  in android file system?.
did any one did of adding extra sound card to android?.

--------- beginning of /dev/log/main
W/AudioPolicyManagerBase( 1250): getOutput() could not find output for stream 1, samplingRate 0,format 0, channels 3, flags 0
W/AudioPolicyManagerBase( 1250): getOutput() could not find output for stream 1, samplingRate 0,format 0, channels 3, flags 0
W/AudioPolicyManagerBase( 1250): getOutput() could not find output for stream 1, samplingRate 44100,format 1, channels 1, flags 4
E/AudioTrack( 1846): Could not get audio output for stream type 1
E/SoundPool( 1846): Error creating AudioTrack
--------- beginning of /dev/log/system
I/ActivityManager( 1846): START u0 {act=android.intent.action.VIEW dat=file:///mnt/extsd/179_12/Movies/waka.mp4 typ=video/* flg=0x3000000 cmp=c7
[  174.214550] qtaguid: ctrl_counterset(s 1 10038): insufficient priv from pid=2510 tgid=1846 uid=1000
I/qtaguid ( 1846): Failed write_ctrl(s 1 10038) res=-1 errno=1
[  174.244370] qtaguid: ctrl_counterset(s 0 10003): insufficient priv from pid=2510 tgid=1846 uid=1000
W/NetworkManagementSocketTagger( 1846): setKernelCountSet(10038, 1) failed with errno -1
I/qtaguid ( 1846): Failed write_ctrl(s 0 10003) res=-1 errno=1
W/NetworkManagementSocketTagger( 1846): setKernelCountSet(10003, 0) failed with errno -1
V/MoviePlayer( 4766):  ## videoUri file:///mnt/extsd/179_12/Movies/waka.mp4
V/MoviePlayer( 4766):  ## mUri file:///mnt/extsd/179_12/Movies/waka.mp4
W/ContextImpl( 4766): Unable to create external cache directory
W/Bookmarker( 4766): getBookmark failed


Regards
Punith

Reply all
Reply to author
Forward
0 new messages