saki4510t / UVCCamera

library and sample to access to UVC web camera on non-rooted Android device
2.99k stars 1.2k forks source link

How to get audio data from USB #553

Open huyubao opened 4 years ago

imprezakd commented 4 years ago

Can you tell me , how to get audio data from usb camera?

huyubao commented 4 years ago

You can use UAC

imprezakd commented 4 years ago

Thanks , I need to play the sound while previewing extremecap UVC , do you have any example of UAC ?

huyubao commented 4 years ago

I will debug again, so there are no examples

imprezakd commented 4 years ago

I am testing usbcameratest0 , preview is ok but no sound , Hope you can help , thanks

butterfly0Dream commented 4 years ago

@huyubao @imprezakd Is there any progress on this issue?

imprezakd commented 3 years ago

@butterfly0Dream No,Could you help me ?

jinlongxu2018 commented 3 years ago

找到对应的音频端点即可录音

imprezakd commented 3 years ago

@jinlongxu2018 錄音沒有問題,可以取得音頻,但我希望是預覽時並同時撥放音頻,像是EasyCap application

jinlongxu2018 commented 3 years ago

@jinlongxu2018 錄音沒有問題,可以取得音頻,但我希望是預覽時並同時撥放音頻,像是EasyCap application 我是得到了录音的callback之后,创建了一个AudioTrack.然后callback和AudioTrack之间通过Ringbuffer交换数据,实现了音频的loopback的

imprezakd commented 3 years ago

@jinlongxu2018 您好,有完整範例嗎? 如果有的話就太感謝了~

Mehdi-android commented 2 years ago

Any Update on this thing?