A smartphone audio codec contains microphone and line inputs, signal routing and mixing channels, amplifier blocks, and multiple analog-to-digital converter and digital-to-analog converter channels. It also consists of a variety of output drivers, including line outputs, and headphone and loudspeaker drivers as well as a small digital processing block consisting of decimating/interpolating filters and a standard integrated interchip sound digital audio interface.