Open vlenircissrma opened 5 years ago
I guess the right alsa ucm2 files for this card are missing upstream. I have similar issues on Android when fiddeling around with alsa on my Xiaomi Redmi Note 7. Using a generic USB soundcard via OTG works out of the box.
Maybe it is possible to generate the ucm2 files form https://github.com/ResurrectionRemix-Devices/device_xiaomi_lavender/blob/pie/audio/mixer_paths.xml using https://github.com/ford-prefect/xml2ucm.
Great app, thanks.
Audio out was directly working on whyred Xiaomi red note pro. However I have problems to get audio in working (arecord, gst-launch1.0 alsasrc).
As suggested in another thread for playing/recording audio, doing alsactl monitor and launching a recorder in Android shows the subdevice involved. However in my case it is not possible to select the device through alsamixer or change the parameters using the amixer controls (amixer returns 2 simple mixer control master and capture with 2 numid switch and volume)
The card is sdm660-snd-card. Maybe with this card it is not possible to have audio in. Do you think it is an alsa problem ? A Linux deploy problem ? A driver for sdm660-snd-card not recognized ? What are your experiences with other phones? Are you able to record directly ? If yes with each model?
Thanks