On Oct 27, 5:43 am, Vincent <[email protected]> wrote: > I am trying to read out data from an USB audio device (/dev/snd/dsp, > 14:3) through native C function. Same C code works with Ubuntu 10.04 > but not with Android (execution stucks at read(...) which never > returns), any tips about it?
It's probably blocking due to lack of data due to something not being quite right with the device/driver/config. Try instrumenting the kernel driver for this usb audio device with lots of PRINTK's and open an adb shell and tail -f whatever file dmesg is pointing to on ubuntu and then on android -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
