Open jonsmirl opened 6 years ago
Hi @jonsmirl ,
With a S9+, I got the same message arecord: set_params:1403: Unable to install hw params:...
without any data registered into the file, can you help me please ?
In the other hand, using another device, a old SONY mobile it works fine!
Thanks.
All Android phones made since 2011 are capable of sending system audio out over the USB connection. You just need to turn it on using Android AOA mode. adb is already running in AOA mode. https://source.android.com/devices/accessories/aoa2
This little app will trigger audio output mode. https://github.com/gibsson/linux-adk After you do this an Alsa device will appear corresponding to the phone. You need the usbsnd module loaded in the kernel.
You can also use AOA mode to startup the stf app instead of leaving it running. When you run the linux-adk app you'll get a popup on the phone looking for a DemoKit app that it can't find. You can use that to start the stf app.
USB ID of phone..