On Mon, Jun 26, 2017 at 01:14:22PM +0200, Pavel Machek wrote: > > Do you have some more specific concern? This already works basically > > fine upstream, we happily support off-SoC audio paths. The digital > > configuration could do with being more flexible but it works and people > > ship it. It would be awfully nice to have some control/visibility of > > the modem side but that's just a missing driver problem. > Well, I was told gsm audio is different, because it is packetized, has > additional timing info, and does not transmit silence. Those things are true, however this is all handled inside the modem so nothing else in the system sees anything there. Even if we were to see things this is pretty much just VoIP over a funny carrier (some of the 4G standards are just SIP AIUI) which isn't too hard. > So we have /dev/cmtspeech instead of second sound card. That's just whatever random thing you're working on. It really shouldn't be a second sound card on a well designed system, the phone audio generally doesn't go anywhere near the CPU for latency reasons so the whole system is one sound card. > Is there any GSM audio driver that actually uses sound framework > properly? The modems tend to just be stub drivers to Linux as the audio port doesn't vary configuration at runtime but I'd be a bit surprised if a modern phone wasn't broadly aiming towards the right thing, this stuff started appearing in flagship devices in about 2012. The speyside system in mainline isn't actually a phone but models what's going on.