Nachei wrote: ↑Sat Dec 30, 2023 4:45 pm@Bluebell
Thank you for this other great suggestion... Unfortunately, with arecord -l I only get
Code: Select all
**** List of CAPTURE Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog] Subdevices: 0/1 Subdevice #0: subdevice #0
This doesn't seem to me like something USB connected, but rather my broken built-in laptop mic....
However, one of the many things I found in Internet and tried without understanding too much:
Code: Select all
pacmd list-sources | grep -e 'index:' -e device.string -e 'name:'
gives
Code: Select all
index: 1 name: <alsa_output.pci-0000_00_1f.3.analog-stereo.monitor> device.string = "0" index: 2 name: <alsa_input.pci-0000_00_1f.3.analog-stereo> device.string = "front:0" index: 3 name: <android> device.string = "/tmp/audiosource" index: 4 name: <jack_out.monitor> * index: 5 name: <jack_in>
Therefore the tablet gets detected by Pulseaudio (as index: 3, android)... but not as a hardware connection? Any idea why this might be? Hardware detection is another area where my knowledge is very patchy...
Thank you everybody for the great answers... Even if I don't finally get to solve this, Pulseaudio and Jack have stopped being the dark mystery they used to be for me...
There is no alsa device that you can use with alsa_in/zita, but a fifo sent from your tablet to your PC in PulseAudio.
My solution could work in theory (I haven't tested audiosource on my PC, but as long it's in the PA sources it should work??). At least it's worth trying, because if it works, it does exactly what you are looking for.
Before running my script set your tablet Mic/FIFO source as default source in pavucontrol or with
Code: Select all
pactl set-default-source android