1.. zephyr:code-sample:: i2s_codec 2 :name: I2S codec 3 :relevant-api: i2s_interface 4 5 Process an audio stream to codec. 6 7Overview 8******** 9 10This sample demonstrates how to use an I2S driver in a simple processing of 11an audio stream. It configures and starts from memory buffer or from DMIC to 12record i2s data and send to codec with DMA. 13 14Requirements 15************ 16 17This sample has been tested on mimxrt595_evk/mimxrt595s/cm33 18 19Building and Running 20******************** 21 22The code can be found in :zephyr_file:`samples/drivers/i2s/i2s_codec`. 23 24To build and flash the application: 25 26.. zephyr-app-commands:: 27 :zephyr-app: samples/drivers/i2s/i2s_codec 28 :board: mimxrt595_evk/mimxrt595s/cm33 29 :goals: build flash 30 :compact: 31 32To run you can connect earphones to the lineout connect and hear the sound 33from DMIC or from memory buffer. 34