[alsa-devel] [RFC PATCH 1/4] alsa: make hw_params negotiation infrastructure 'bclk_ratio aware'

Sven Van Asbroeck thesven73 at gmail.com
Fri Mar 8 21:07:05 CET 2019


On Fri, Mar 8, 2019 at 2:54 PM Jaroslav Kysela <perex at perex.cz> wrote:
>
> I agree. We just need a library which will:
>
> 1) gather the information from hardware drivers
>   - a simple description of the bclk constrains
> 2) create right constraints (hw_params rules) for the ALSA PCM API
> 3) return the selected bclk when hw_params are installed
>

Yes, that's what the RFC patch I posted attempts to do.
But it extends hw_params, which is clearly wrong.

>
> The library should not extend hw_params (new interval), but it should
> work as a separate layer - use new structures / functions etc.
>

This, I could not work out how to approach :)


More information about the Alsa-devel mailing list