I try always to use the latest documentation provided by the manufacturer.
S3 board should work ok with a code similar to this one (for audio loopback check open ai, it works ok).