I have a odroid u2 arm board, which has an audio codec chip, audio jack and OTG usb port. In terms of hardware, I think I can build a USB DAC so that capture PCM in bit perfect manner from PC and then stream to HDMI receiver with help of another ARM board.
But I encountered issue when using Linux gadget audio driver g_audio. I can't hear any sound from u2 when playing PCM in host PC.
Any comments are appreciated.
But I encountered issue when using Linux gadget audio driver g_audio. I can't hear any sound from u2 when playing PCM in host PC.
Any comments are appreciated.
After I back port commit 1479e8411831c2112fa83b44664075e3ceea2533 to branch odroid-3.8.y so that enable isochronous mode in USB device controller, I can hear sound from u2 when play PCM from host PC.
one more thing, in U2 user space I need to pipe PCM from USB gadget audio to U2 sound card --> arecord -f dat -t wav -D hw:1,0 | aplay -D hw:0,0
Although I can hear sound now, the tempo of the sound doesn't sound correct. There is some work may needed for f_uac2 in gadget USB API. In any case, this is great to prove my idea is feasible.
one more thing, in U2 user space I need to pipe PCM from USB gadget audio to U2 sound card --> arecord -f dat -t wav -D hw:1,0 | aplay -D hw:0,0
Although I can hear sound now, the tempo of the sound doesn't sound correct. There is some work may needed for f_uac2 in gadget USB API. In any case, this is great to prove my idea is feasible.
- Status
- Not open for further replies.