revid: order of setup and config for audio needs changing

Issue #300 resolved
Trek Hopton created an issue

Revid currently configures an alsa device in the same order as other devices but this needs to be changed. This is because the lexer that audio uses needs the size of the data that it will be receiving upon creation, this size is only know after the alsa device has been setup with Set().

The order of setup steps should be:

  • Create device with New()
  • Setup device with Set()
  • Create and set revid’s lexer using alsa device’s configured data size.

Comments (1)

  1. Log in to comment