For the last few weeks I have been reading into the ALSA documentations, but still cannot figure this out so my question: Is there a function be able to derive the current playback audio?
E.g.: If a new song is played, I want to first get the bitrate before ALSA does anything (set clk dividers etc.).
This is on an am335x embedded board, so with aSoC.