tree: 9a4b06dc49a50cd3131f2d5d0d1d4534ba22bbf1 [path history] [tgz]
  1. BUILD.gn
  2. dai-test-info.json
  3. dai-test.cc
  4. dai-test.h
  5. dai_test.bind
  6. README.md
  7. tests.json
src/media/audio/drivers/dai-test/README.md

Simple DAI protocol driver

This example driver connects to a driver prodiving the DAI interface (DAI driver) and provides an audio streaming interface for applications such that for instance audio-driver-ctl can be used to test a new DAI driver.

To enable this test driver, it must be included in the build and in a board driver. To add to the build include board_bootfs_labels += [“//src/media/audio/drivers/dai-test”] in the args.gn file or via fx set by adding to the fx set line --args ‘board_bootfs_labels += [“//src/media/audio/drivers/dai-test”]’. To add to a board driver, for instance for astro define ENABLE_DAI_TEST in //src/devices/board/drivers/astro/astro-audio.cc.